branchrust_reboot/main/patrolheli_water_fixescancel

5 Commits over 31 Days - 0.01cph!

1 Year Ago
Use Distance2d, it's cheaper
1 Year Ago
Increase patrol helicopter push back force when flying over water, should prevent it getting too close to water Fixed patrol helicopter getting in a stuck AI state when targeting a player that is on the surface of deep ocean (the helicopter still disengages if its target is too deep underwater, but it will continue patrolling and looking for targets)
1 Year Ago
Merge from main
1 Year Ago
Rotor wash underwater render fix.
1 Year Ago
Various Patrol helicopter water fixes: -will no longer dive underwater -will no longer target players that are more than 3m underwater in the ocean (see oceanDepthTargetCutoff on PatrolHelicopterAI) -rotor wash particles will now appear at ocean level when flying over water rather than on the seabed