From bcb06130cfb1eab66f82a237a648d63e44eabb2f Mon Sep 17 00:00:00 2001 From: Sevenfm Date: Fri, 16 Oct 2020 17:49:37 +0000 Subject: [PATCH] New option AI_SAFE_SUPPRESSION adds additional checks for AI to avoid hitting friends when using suppression fire. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2572 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 5 ++++- gamedir/Data/Ja2_Options.INI | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 36d9e77dd..bae91ffee 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -4533,4 +4533,7 @@ AI_PATH_TWEAKS = TRUE AI_DECISION_INFO = FALSE ; Allow AI soldiers to shoot at recently seen/heard enemies (targets that nobody from his team sees currently) -AI_SHOOT_UNSEEN = FALSE \ No newline at end of file +AI_SHOOT_UNSEEN = FALSE + +; Additional check to avoid hitting friends when using suppression fire +AI_SAFE_SUPPRESSION = TRUE diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index f975b124f..b6fc5c01c 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -4505,4 +4505,7 @@ AI_PATH_TWEAKS = TRUE AI_DECISION_INFO = FALSE ; Allow AI soldiers to shoot at recently seen/heard enemies (targets that nobody from his team sees currently) -AI_SHOOT_UNSEEN = FALSE \ No newline at end of file +AI_SHOOT_UNSEEN = FALSE + +; Additional check to avoid hitting friends when using suppression fire +AI_SAFE_SUPPRESSION = TRUE