HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
127 stars 24 forks source link

Write functional test for AI shooting at drone #991

Closed Kalchev89 closed 3 months ago

Kalchev89 commented 3 months ago

https://docs.google.com/spreadsheets/d/1S4XTEZQUM7HirgvrpcbNeP1eHZ8XSETfQeswdt9ml3A/edit?gid=0#gid=0&range=E39

Leroy231 commented 3 months ago

@Kalchev89 I just fixed the bugs related to this test (AI will now shoot at drone) so you should be able to write it

Kalchev89 commented 3 months ago

BP_FunctionalTest_EnemiesShootDrone

when i teleport the drone around 100 z value the soldiers shoot it and the test works. But when I increase the the z value to something like 300 i have to manually move the drone for them to start shooting at it.

https://github.com/user-attachments/assets/31c0554b-5bb2-45d2-b60f-ba736c32543d

Leroy231 commented 3 months ago

I think it's fine with 100 z for this test

Leroy231 commented 3 months ago

Also I was expecting in the test that you move the drone in front of the enemies. If it's behind them they won't notice it.