From d02f1acab2b415addfe9a14e3479cacebcb224ef Mon Sep 17 00:00:00 2001 From: Kriplo Date: Mon, 23 Sep 2013 21:52:06 +0000 Subject: [PATCH] - add settings for enemy and militia reinforcements delay, and this option from now is turn off and by default. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1789 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 36 +++++++++++++++++++++---------- gamedir/Data/Ja2_Options.INI | 36 +++++++++++++++++++++---------- 2 files changed, 50 insertions(+), 22 deletions(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 3d52f8464..8cbaea6dc 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -2512,6 +2512,31 @@ ALLOW_REINFORCEMENTS = TRUE ; Allows reinforcements only between city sectors. Only affects militia, not enemies. ALLOW_REINFORCEMENTS_ONLY_IN_CITIES = FALSE +;------------------------------------------------------------------------------------------------------------------------------ +; Reinforcements minimum+random turn delay and minimum+random units enter after they been called (dnl ch68 090913) +;------------------------------------------------------------------------------------------------------------------------------ + +; Enemy reinforcement will arrive minimum this number of turns after they are called, if 0 then is disabled. +MIN_DELAY_ENEMY_REINFORCEMENTS = 0 +; Additional random delay added to minimum when reinforcements will arrive after they are called. +RND_DELAY_ENEMY_REINFORCEMENTS = 5 +; Minimum enemy units which will enter after above delay is over. +MIN_ENTER_ENEMY_REINFORCEMENTS = 8 +; Additional random enemy units to appear after passing delay. +RND_ENTER_ENEMY_REINFORCEMENTS = 8 + +; Militia reinforcement will arrive minimum this number of turns after they are called, if 0 then is disabled. +MIN_DELAY_MILITIA_REINFORCEMENTS = 0 +; Additional random delay added to minimum when reinforcements will arrive after they are called. +RND_DELAY_MILITIA_REINFORCEMENTS = 5 +; Minimum militia units which will enter after above delay is over. +MIN_ENTER_MILITIA_REINFORCEMENTS = 6 +; Additional random militia units to appear after passing delay. +RND_ENTER_MILITIA_REINFORCEMENTS = 6 + +; Don't allow permanent items removal for no merc in that sector +NO_REMOVE_RANDOM_SECTOR_ITEMS = TRUE + ;------------------------------------------------------------------------------------------------------------------------------ ; Vehicle Inventory ;------------------------------------------------------------------------------------------------------------------------------ @@ -2669,17 +2694,6 @@ PRISONER_INTERROGATION_POINTS_REGULAR = 100 PRISONER_INTERROGATION_POINTS_ELITE = 140 PRISONER_INTERROGATION_POINTS_SPECIAL = 250 -MIN_DELAY_ENEMY_REINFORCEMENTS = 0 -RND_DELAY_ENEMY_REINFORCEMENTS = 0 -MIN_ENTER_ENEMY_REINFORCEMENTS = 0 -RND_ENTER_ENEMY_REINFORCEMENTS = 0 -MIN_DELAY_MILITIA_REINFORCEMENTS = 0 -RND_DELAY_MILITIA_REINFORCEMENTS = 0 -MIN_ENTER_MILITIA_REINFORCEMENTS = 0 -RND_ENTER_MILITIA_REINFORCEMENTS = 0 - -NO_REMOVE_RANDOM_SECTOR_ITEMS = TRUE - ;****************************************************************************************************************************** ;****************************************************************************************************************************** diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 8ce0df3a5..41d1fead4 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -2510,6 +2510,31 @@ ALLOW_REINFORCEMENTS = FALSE ; Allows reinforcements only between city sectors. Only affects militia, not enemies. ALLOW_REINFORCEMENTS_ONLY_IN_CITIES = FALSE +;------------------------------------------------------------------------------------------------------------------------------ +; Reinforcements minimum+random turn delay and minimum+random units enter after they been called (dnl ch68 090913) +;------------------------------------------------------------------------------------------------------------------------------ + +; Enemy reinforcement will arrive minimum this number of turns after they are called, if 0 then is disabled. +MIN_DELAY_ENEMY_REINFORCEMENTS = 0 +; Additional random delay added to minimum when reinforcements will arrive after they are called. +RND_DELAY_ENEMY_REINFORCEMENTS = 5 +; Minimum enemy units which will enter after above delay is over. +MIN_ENTER_ENEMY_REINFORCEMENTS = 8 +; Additional random enemy units to appear after passing delay. +RND_ENTER_ENEMY_REINFORCEMENTS = 8 + +; Militia reinforcement will arrive minimum this number of turns after they are called, if 0 then is disabled. +MIN_DELAY_MILITIA_REINFORCEMENTS = 0 +; Additional random delay added to minimum when reinforcements will arrive after they are called. +RND_DELAY_MILITIA_REINFORCEMENTS = 5 +; Minimum militia units which will enter after above delay is over. +MIN_ENTER_MILITIA_REINFORCEMENTS = 6 +; Additional random militia units to appear after passing delay. +RND_ENTER_MILITIA_REINFORCEMENTS = 6 + +; Don't allow permanent items removal for no merc in that sector +NO_REMOVE_RANDOM_SECTOR_ITEMS = FALSE + ;------------------------------------------------------------------------------------------------------------------------------ ; Vehicle Inventory ;------------------------------------------------------------------------------------------------------------------------------ @@ -2667,17 +2692,6 @@ PRISONER_INTERROGATION_POINTS_REGULAR = 100 PRISONER_INTERROGATION_POINTS_ELITE = 140 PRISONER_INTERROGATION_POINTS_SPECIAL = 250 -MIN_DELAY_ENEMY_REINFORCEMENTS = 0 -RND_DELAY_ENEMY_REINFORCEMENTS = 0 -MIN_ENTER_ENEMY_REINFORCEMENTS = 0 -RND_ENTER_ENEMY_REINFORCEMENTS = 0 -MIN_DELAY_MILITIA_REINFORCEMENTS = 0 -RND_DELAY_MILITIA_REINFORCEMENTS = 0 -MIN_ENTER_MILITIA_REINFORCEMENTS = 0 -RND_ENTER_MILITIA_REINFORCEMENTS = 0 - -NO_REMOVE_RANDOM_SECTOR_ITEMS = TRUE - ;****************************************************************************************************************************** ;******************************************************************************************************************************