branchrust_reboot/main/naval_update/scientist_boat_ai_improvements_3cancel
17 Commits over 0 Days - ∞cph!
Some more tuning:
- Reduce group cohesion a little (they were a bit too stuck into groups)
- Can jump to a new macro target earlier (makes them less stubborn)
- Increase how far out they need to be before they will begin pulling towards the centre
- Greatly increase the applied centre force (they cant get out of moving to the centre as easily)
Reynolds wander isn't working very well for us - boats seem to bunch up on the same map edges
Rewrote all of the boat wander state:
- Now pick macro and micro directions
- Macro is a fixed target point (within deepsea bounds or in random direction)
- Micro is the same Reynolds stuff but done simpler
- Combine them together for a bit of a better approach
Boats now traverse around the whole of the deepsea bounds rather than sticking to an edge. Much cleaner and more reliable
Fixed the AI Boat triggers on the oilrigs. S2P
Pull towards the centre the further out the boats are in the deepsea
Avoid AI mounted weapon controller sometimes targetting other NPCs
- Add boat ai avoidance volumes to tropical 1-4
- S2P
naval_update -> scientist_boat_ai_improvements_3
Adjust rhib scientists HP
More oil rig boat ai avoidance layer adjustments
- Much wider steering force for seeking targets (should help navigate around large obstacles better, eg one side of oil to other)
- Less attempts to reverse when we can just go forward
- Better AI attacking turret distance checks
- Better turret DOT checks
- Ensure when leaving a state the correct target is cleared
- Fixed a bug when leaving RAM states
- More debug logs
- Ensure when leaving seek state that we clear active target
- Rewrite and cleanup of pursue behaviour
- Multiple NRE fixes
- Better print outs
- Wrap floating cities in the same avoidance triggers as Oilrig
Add 'BoatAIAvoid' Triggers, this will stop the boat ai from 'crashing' into areas with lots of small obstacles
- Wrapped Oilrig
- Wrapped Large Oilrig
- Better 'get' and 'give up' targetting detection
- Fixed target claiming possibly happening on the same boat thats trying to get rid of the target
- Standardised check system
- Applyed it across all targetting logic