Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 INI Customisation and Help » Disable or lower the rate of counterattacks and reinforcments (How to balance the game)
Disable or lower the rate of counterattacks and reinforcments[message #359059] Wed, 19 February 2020 23:14 Go to next message
MrStitch is currently offline MrStitch

 
Messages:18
Registered:September 2018
Hi guys, I just made a new build using feb 1st 2020 build 8741. It's been about a half year since my last build and i did a couple tweaks to the .INI as i always do but i can't seem to find a way to disable the counter attacks after taking a city. I disabled the Drassen counter attack. I just took over Drassen and am healing but i keep getting invaded by a swarm of usually 10 red shirts and then they call in reinforcements and i have to deal with another 10 and then they even call in reinforcements and i got to deal with even more and i don't know how many more after that as i just give up. This is just too much this early in the game. Im looking for a way to disable the counter attacks and mostly reinforcements or adjust this but i can't find it in the .INI. I think i remember doing something like this way back but don't remember how i did. maybe its not in the .ini and in and .XML file. does anyone know how to help me?

Report message to a moderator

Private
Re: Disable or lower the rate of counterattacks and reinforcments[message #359060 is a reply to message #359059] Thu, 20 February 2020 00:33 Go to previous messageGo to next message
silversurfer

 
Messages:2793
Registered:May 2009
Setting TRIGGER_MASSIVE_ENEMY_COUNTERATTACK_AT_DRASSEN to FALSE only disables the counter attack for Drassen. You'd also need to set AGGRESSIVE_STRATEGIC_AI to 0 in order to disable counter attacks on other cities. What you experience is probably just a regular group that comes looking after liberating a city. Counter attacks are 4 groups of <CounterAttackGroupSize> from DifficultySettings.xml. As they usually travel in a pack you'd see a big group approaching the city and they would coordinate the attack to arrive simultaneously. At least that's what they always did in my games.


Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
Re: Disable or lower the rate of counterattacks and reinforcments[message #359067 is a reply to message #359060] Fri, 21 February 2020 23:42 Go to previous messageGo to next message
MrStitch is currently offline MrStitch

 
Messages:18
Registered:September 2018
Hmmm I see the setting in the difficulty.xml and changed it on all difficulties to 0 i also changed the AGGRESSIVE_STRATEGIC_AI to 0. I started a new game retook Drassen with counterattack disabled. I put my mercs on healing and ran the clock a few turns. I still am getting my base attacked...which i think is normal but they are still calling in reinforcements and i want to turn this off. Is there another setting i should take a look at?

Report message to a moderator

Private
Re: Disable or lower the rate of counterattacks and reinforcments[message #359072 is a reply to message #359067] Sat, 22 February 2020 11:25 Go to previous messageGo to next message
silversurfer

 
Messages:2793
Registered:May 2009
If you just want to disable the reinforcements you could set <AllowReinforcements> to 0. This would disable reinforcements for militia as well however.
Or you could play with the _ENEMY_REINFORCEMENTS settings in JA2_Options.ini and increase the delay or lower the number of enemies.

The last two numbers in each line are the min and max value for each parameter:
	gGameExternalOptions.sMinDelayEnemyReinforcements		= iniReader.ReadInteger("Strategic Gameplay Settings", "MIN_DELAY_ENEMY_REINFORCEMENTS", 7, 0, 100);
	gGameExternalOptions.sRndDelayEnemyReinforcements		= iniReader.ReadInteger("Strategic Gameplay Settings", "RND_DELAY_ENEMY_REINFORCEMENTS", 8, 0, 100);
	gGameExternalOptions.sMinEnterEnemyReinforcements		= iniReader.ReadInteger("Strategic Gameplay Settings", "MIN_ENTER_ENEMY_REINFORCEMENTS", 6, 1, 64);
	gGameExternalOptions.sRndEnterEnemyReinforcements		= iniReader.ReadInteger("Strategic Gameplay Settings", "RND_ENTER_ENEMY_REINFORCEMENTS", 6, 1, 64);



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
Re: Disable or lower the rate of counterattacks and reinforcments[message #363563 is a reply to message #359060] Tue, 03 August 2021 19:22 Go to previous message
harveson is currently offline harveson

 
Messages:35
Registered:August 2015
Location: Minnesota
silversurfer wrote on Wed, 19 February 2020 16:33
Setting TRIGGER_MASSIVE_ENEMY_COUNTERATTACK_AT_DRASSEN to FALSE only disables the counter attack for Drassen. You'd also need to set AGGRESSIVE_STRATEGIC_AI to 0 in order to disable counter attacks on other cities. What you experience is probably just a regular group that comes looking after liberating a city. Counter attacks are 4 groups of <CounterAttackGroupSize> from DifficultySettings.xml. As they usually travel in a pack you'd see a big group approaching the city and they would coordinate the attack to arrive simultaneously. At least that's what they always did in my games.

<AGGRESSIVE_STRATEGIC_AI> is in the {Strategic Event Settings}, which is just ahead of {Strategic Gameplay Settings} panel (on the left-hand side of the INI-Editor), which is a GUI apparatus for modifying the {JA2_Options.INI}.
Some of the suggestions are referring to AV and Vengeance-Reloaded, or Wildfire; many are cross-mod-settings.
6 = half-a-dozen



Murphy was an optimist

Report message to a moderator

Private 1st Class
Previous Topic: Asking help for modding walk behaviour...
Next Topic: IMP Settings: what are Wildfire Stats?
Goto Forum:
  


Current Time: Fri May 03 05:51:28 GMT+3 2024

Total time taken to generate the page: 0.01038 seconds