Files
source/Tactical
Sevenfm 5903abee09 Various AI improvements.
FindThrowableGrenade: allows to specify type and damage of searched grenade.
New counter SOLDIER_COUNTER_RETREAT allows to set number of turns which soldier will try to retreat and take cover.
FindBestNearbyCover: use PrepareThreatlist as unified function to make list of all known opponents.

Militia Control:
- start retreating mode for 2 turns when ordering retreat
- replace AI_ACTION_RUN_AWAY with AI_ACTION_TAKE_COVER order so that militia do not retreat from sector

New AI behavior:
- soldier can use smoke grenade to cover himself when under fire
- soldier can use use smoke grenade on his friend to cover him
- if soldier used smoke, he starts retreat mode for 2 turns
- added retreat code to Red, Black AI
- improved Main Red AI for civilians (they only run away)

Improved suppression code:
- less chance of suppression when opponent has high shock level
- prefer using suppression fire when soldier is in cover

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8879 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2020-08-07 12:12:31 +00:00
..
2020-03-08 22:39:21 +00:00
2020-06-17 22:27:20 +00:00
2020-06-25 22:42:44 +00:00
2020-06-25 22:42:44 +00:00
2020-06-25 22:42:44 +00:00
2014-01-01 12:02:23 +00:00
2014-01-01 12:02:23 +00:00
2020-03-08 22:39:21 +00:00
2020-07-24 19:27:34 +00:00
2020-06-25 22:42:44 +00:00
2020-06-25 22:42:44 +00:00
2020-06-25 22:42:44 +00:00
2020-06-17 22:27:20 +00:00
2017-09-13 20:01:48 +00:00
2020-07-24 19:27:34 +00:00
2020-06-25 22:42:44 +00:00
2020-08-07 12:12:31 +00:00
2020-08-07 12:12:31 +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
2020-08-07 12:12:31 +00:00
2017-01-23 19:28:19 +00:00
2017-08-26 21:58:47 +00:00
2020-07-24 19:27:34 +00:00
2020-04-20 22:14:45 +00:00
2014-06-03 18:13:23 +00:00
2020-07-24 19:27:34 +00:00
2020-07-24 19:27:34 +00:00
2017-04-12 08:09:12 +00:00
2020-07-02 22:11:11 +00:00
2020-07-24 19:25:47 +00:00
2020-08-07 12:12:31 +00:00
2020-08-07 12:12:31 +00:00
2020-07-17 11:22:29 +00:00
2020-06-25 22:42:44 +00:00
2016-04-24 19:59:25 +00:00
2020-06-25 22:42:44 +00:00
2020-08-07 12:12:31 +00:00
2020-08-07 12:12:31 +00:00
2020-06-25 22:42:44 +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
2008-11-06 00:46:54 +00:00
2010-02-20 15:49:46 +00:00
2014-02-18 07:21:55 +00:00