From 4689f95a7bdaf26940debe21dcbda0c6a56696f6 Mon Sep 17 00:00:00 2001 From: lalien Date: Fri, 27 Apr 2007 21:05:08 +0000 Subject: [PATCH] Added ini options for strategic AI - The reinforcements are not reassigned anymore when the sector where they were going to is captured by player - Investigation of lost city sector by the enemy git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@779 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 20 ++++++++++++++++++++ gamedir/Data/Ja2_Options.INI | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index b07ef1052..2bb844402 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -420,6 +420,26 @@ NORMAL_NUM_AWARE_BATTLES = 2 HARD_NUM_AWARE_BATTLES = 3 INSANE_NUM_AWARE_BATTLES = 4 + + +;****************************************************************************************************************************** +; Settings for Strategic AI +; +; If ENEMY_INVESTIGATE_SECTOR is set to TRUE then the enemies from adjacent sectors of the city will come to investigate what +; happened when one of the city sectors is taken by player. It will happen only if the tactical view is active. +; This behavior was deactivated in original game. +; +; After the sector is taken by the player the game will check to see if there are any pending reinforcements for this sector. +; If REASSIGN_PENDING_REINFORCEMENTS is set to TRUE then their orders will be cancelled and the group reassigned. +; This is a feature that *dumbs* down the AI, and was activated in original to make the game easier. +;****************************************************************************************************************************** + +ENEMY_INVESTIGATE_SECTOR = TRUE + +REASSIGN_PENDING_REINFORCEMENTS = FALSE + + + ;****************************************************************************************************************************** ; MAX_MILITIA_PER_SECTOR defines the max number of Militia that can be trained in each sector. ; Keep in mind that there is not enough room on the strategic map to display more than 20 diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 2c43d4768..a630b4282 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -419,6 +419,25 @@ HARD_NUM_AWARE_BATTLES = 3 INSANE_NUM_AWARE_BATTLES = 4 + +;****************************************************************************************************************************** +; Settings for Strategic AI +; +; If ENEMY_INVESTIGATE_SECTOR is set to TRUE then the enemies from adjacent sectors of the city will come to investigate what +; happened when one of the city sectors is taken by player. It will happen only if the tactical view is active. +; This behavior was deactivated in original game. +; +; After the sector is taken by the player the game will check to see if there are any pending reinforcements for this sector. +; If REASSIGN_PENDING_REINFORCEMENTS is set to TRUE then their orders will be cancelled and the group reassigned. +; This is a feature that *dumbs* down the AI, and was activated in original to make the game easier. +;****************************************************************************************************************************** + +ENEMY_INVESTIGATE_SECTOR = FALSE + +REASSIGN_PENDING_REINFORCEMENTS = TRUE + + + ;****************************************************************************************************************************** ; MAX_MILITIA_PER_SECTOR defines the max number of Militia that can be trained in each sector. ; Keep in mind that there is not enough room on the strategic map to display more than 20