Files
source/Tactical
Sevenfm 4fb6369368 AI pathing: avoid deep water if not in deep water already and not SEEKENEMY (allow max 2 tiles of deep water for other soldiers).
CONSIDERED_NEUTRAL: removed dying check as it may cause problems with AI.
Improved code to avoid moving into gas/deep water/light/artillery danger zone.
ClosestReachableDisturbance: 
- skip dying opponent if found not dying
- when in deep water, skip opponents in deep water
ClosestKnownOpponent: skip dying opponent if found not dying.
RedSmokeDanger: consider deep water as safe from artillery strike.
Allow deep water flanking for soldiers of ENEMY_TEAM with SEEKENEMY orders and CUNNINGSOLO attitude or athletics trait.
CalcBestShot:
- dying, cowering or unconscious soldiers have very low priority
- added safety checks
- if best opponent is dying and new opponent is ok, use new opponent
DecideAction: improved deep water checks.
Red, Black AI: when SEEKENEMY soldier is in deep water, move to closest opponent on the ground.
FindNearestUngassedLand: 
- increased max search distance to 35
- added speed optimization
- removed max AP budget
FindNearbyDarkerSpot:
- increased max search range to 25
- added speed optimization
- removed max AP budget
FindFlankingSpot: added condition to allow deep water flanking


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8758 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-02-17 19:20:28 +00:00
..
2014-01-01 12:02:23 +00:00
2014-01-01 12:02:23 +00:00
2016-06-05 13:23:26 +00:00
2017-09-13 20:01:48 +00:00
2019-01-02 13:22:24 +00:00
2014-04-24 18:35:30 +00:00
2016-04-24 19:59:25 +00:00
2016-04-24 19:59:25 +00:00
2017-01-23 19:28:19 +00:00
2017-08-26 21:58:47 +00:00
2018-08-28 20:44:16 +00:00
2014-06-03 18:13:23 +00:00
2017-04-12 08:09:12 +00:00
2014-06-03 18:13:23 +00:00
2020-02-12 17:47:19 +00:00
2018-12-02 14:59:08 +00:00
2016-04-24 19:59:25 +00:00
2012-11-15 00:03:39 +00:00
2014-04-24 18:35:30 +00:00
2012-04-10 23:45:46 +00:00
2010-02-20 15:49:46 +00:00
2014-02-18 07:21:55 +00:00