Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Difficulty Settings in new location!
Difficulty Settings in new location![message #336409] Thu, 02 October 2014 22:18 Go to next message
silversurfer

 
Messages:2194
Registered:May 2009
This is about the current development build exe and GameDir! The stable version is NOT affected!

There has been some confusion about some difficulty settings that were originally in Ja2_Options.ini, Creatures_Settings.ini or CTHConstants.ini.

I'm merely posting this here because the change wasn't well documented or published to the players. The forum search will also benefit from this.

With exe revision 7447 and GameDir 2123 some difficulty settings were moved to a new file called "Data-1.13\TableData\DifficultySettings.xml".
Options that were once in Ja2_Options.ini can NOT be modified anymore with the Ini Editor.

DifficultySettings.xml basically consists of blocks of different difficulties and their corresponding settings. Each block has a name and lots of options. All the old defaults are here and set to the same old value. There are even some new options. See for yourself. The file has a documentation at the top.

I did a cleanup of the code (revision 7540) and GameDir (2156). The Ini Editor will not show these options anymore, they don't exist anymore in their old Ini files and are not present in the code anymore.

Here are some lists of all the settings that can now be found in DifficultySettings.xml:

Moved from Ja2_Options.ini:
STARTING_CASH_NOVICE 		= 45000
STARTING_CASH_EXPERIENCED 	= 35000
STARTING_CASH_EXPERT 		= 30000 
STARTING_CASH_INSANE 		= 15000

ENEMY_AP_BONUS_NOVICE 		= 0
ENEMY_AP_BONUS_EXPERIENCED 	= 0
ENEMY_AP_BONUS_EXPERT 		= 0
ENEMY_AP_BONUS_INSANE 		= 5

NUM_KILLS_PER_PROGRESS_POINT_NOVICE 		= 7
NUM_KILLS_PER_PROGRESS_POINT_EXPERIENCED 	= 10
NUM_KILLS_PER_PROGRESS_POINT_EXPERT 		= 15
NUM_KILLS_PER_PROGRESS_POINT_INSANE 		= 60

INITIAL_GARRISON_PERCENTAGES_NOVICE 		= 70
INITIAL_GARRISON_PERCENTAGES_EXPERIENCED 	= 100
INITIAL_GARRISON_PERCENTAGES_EXPERT 		= 150
INITIAL_GARRISON_PERCENTAGES_INSANE 		= 200

MIN_ENEMY_GROUP_SIZE_NOVICE 		= 3
MIN_ENEMY_GROUP_SIZE_EXPERIENCED 	= 4
MIN_ENEMY_GROUP_SIZE_EXPERT 		= 6
MIN_ENEMY_GROUP_SIZE_INSANE 		= 12

PERCENT_EXTRA_ELITES_EXPERIENCED = 0
PERCENT_EXTRA_ELITES_EXPERT = 25
PERCENT_EXTRA_ELITES_INSANE = 50

UNLIMITED_POOL_OF_TROOPS_NOVICE 	= FALSE
UNLIMITED_POOL_OF_TROOPS_EXPERIENCED	= FALSE
UNLIMITED_POOL_OF_TROOPS_EXPERT 	= FALSE
UNLIMITED_POOL_OF_TROOPS_INSANE 	= TRUE

QUEENS_INITIAL_POOL_OF_TROOPS_NOVICE 		= 150
QUEENS_INITIAL_POOL_OF_TROOPS_EXPERIENCED 	= 200
QUEENS_INITIAL_POOL_OF_TROOPS_EXPERT 		= 400
QUEENS_INITIAL_POOL_OF_TROOPS_INSANE 		= 8000

QUEEN_POOL_INCREMENT_PER_DIFFICULTY_LEVEL = 60

ENEMY_STARTING_ALERT_LEVEL_NOVICE	= 5
ENEMY_STARTING_ALERT_LEVEL_EXPERIENCED	= 20
ENEMY_STARTING_ALERT_LEVEL_EXPERT	= 60
ENEMY_STARTING_ALERT_LEVEL_INSANE	= 80

ENEMY_ALERT_DECAY_NOVICE 		= 75
ENEMY_ALERT_DECAY_EXPERIENCED 		= 50
ENEMY_ALERT_DECAY_EXPERT 		= 25
ENEMY_ALERT_DECAY_INSANE 		= 10

NUM_AWARE_BATTLES_NOVICE 		= 1
NUM_AWARE_BATTLES_EXPERIENCED 		= 2
NUM_AWARE_BATTLES_EXPERT 		= 3
NUM_AWARE_BATTLES_INSANE 		= 4

BASE_DELAY_IN_MINUTES_BETWEEN_EVALUATIONS_NOVICE 	= 480
BASE_DELAY_IN_MINUTES_BETWEEN_EVALUATIONS_EXPERIENCED 	= 360
BASE_DELAY_IN_MINUTES_BETWEEN_EVALUATIONS_EXPERT 	= 180
BASE_DELAY_IN_MINUTES_BETWEEN_EVALUATIONS_INSANE 	= 90

EVALUATION_DELAY_VARIANCE_NOVICE 	= 240
EVALUATION_DELAY_VARIANCE_EXPERIENCED 	= 180
EVALUATION_DELAY_VARIANCE_EXPERT 	= 120
EVALUATION_DELAY_VARIANCE_INSANE 	= 60

GRACE_PERIOD_IN_HOURS_AFTER_SECTOR_LIBERATION_NOVICE 		= 144		
GRACE_PERIOD_IN_HOURS_AFTER_SECTOR_LIBERATION_EXPERIENCED 	= 96		
GRACE_PERIOD_IN_HOURS_AFTER_SECTOR_LIBERATION_EXPERT 		= 48		
GRACE_PERIOD_IN_HOURS_AFTER_SECTOR_LIBERATION_INSANE 		= 6

GRACE_PERIOD_IN_DAYS_AFTER_PATROL_DESTROYED_NOVICE 		= 16
GRACE_PERIOD_IN_DAYS_AFTER_PATROL_DESTROYED_EXPERIENCED 	= 12
GRACE_PERIOD_IN_DAYS_AFTER_PATROL_DESTROYED_EXPERT 		= 8
GRACE_PERIOD_IN_DAYS_AFTER_PATROL_DESTROYED_INSANE 		= 2

AGGRESSIVE_QUEEN_AI_NOVICE 	= FALSE
AGGRESSIVE_QUEEN_AI_EXPERIENCED = FALSE
AGGRESSIVE_QUEEN_AI_EXPERT 	= FALSE
AGGRESSIVE_QUEEN_AI_INSANE 	= TRUE

MAX_MERC_DEATHS_EASY		= 2
MAX_MERC_DEATHS_EXPERIENCED 	= 4
MAX_MERC_DEATHS_EXPERT		= 6
MAX_MERC_DEATHS_INSANE		= 8

From Creatures_Settings.ini:
CREATURE_SPREAD_TIME_NOVICE = 510
CREATURE_SPREAD_TIME_EXPERIENCED = 450
CREATURE_SPREAD_TIME_EXPERT = 390
CREATURE_SPREAD_TIME_INSANE = 150

QUEEN_REPRODUCTION_BASE_NOVICE = 6
QUEEN_REPRODUCTION_BASE_EXPERIENCED = 7
QUEEN_REPRODUCTION_BASE_EXPERT = 9
QUEEN_REPRODUCTION_BASE_INSANE = 15

QUEEN_REPRODUCTION_BONUS_NOVICE = 1
QUEEN_REPRODUCTION_BONUS_EXPERIENCED = 2
QUEEN_REPRODUCTION_BONUS_EXPERT = 3
QUEEN_REPRODUCTION_BONUS_INSANE = 5

QUEEN_INIT_BONUS_SPREAD_NOVICE = 1
QUEEN_INIT_BONUS_SPREAD_EXPERIENCED = 2
QUEEN_INIT_BONUS_SPREAD_EXPERT = 3
QUEEN_INIT_BONUS_SPREAD_INSANE = 5

CREATURE_POPULATION_MODIFIER_NOVICE = 0
CREATURE_POPULATION_MODIFIER_EXPERIENCED = 0
CREATURE_POPULATION_MODIFIER_EXPERT = 0
CREATURE_POPULATION_MODIFIER_INSANE = 0

CREATURE_TOWN_AGGRESSIVENESS_NOVICE =  -10
CREATURE_TOWN_AGGRESSIVENESS_EXPERIENCED = 0
CREATURE_TOWN_AGGRESSIVENESS_EXPERT = 10
CREATURE_TOWN_AGGRESSIVENESS_INSANE = 50

From CTHConstants.ini:
BASE_DIFFICULTY_NOVICE = -30.0
BASE_DIFFICULTY_EXPERIENCED = 0.0
BASE_DIFFICULTY_EXPERT = 20.0
BASE_DIFFICULTY_INSANE = 50.0

AIM_DIFFICULTY_NOVICE = -30.0
AIM_DIFFICULTY_EXPERIENCED = 0.0
AIM_DIFFICULTY_EXPERT = 20.0
AIM_DIFFICULTY_INSANE = 50.0


Re: Difficulty Settings in new location![message #336413] Thu, 02 October 2014 22:47 Go to previous messageGo to next message
sylar951

 
Messages:49
Registered:December 2013
ok, so how can I set queen's troops to unlimited numbers and increase min enemy group size...
I tried XML editor but there's no such options...
Re: Difficulty Settings in new location![message #336414] Thu, 02 October 2014 22:52 Go to previous messageGo to next message
Flugente

 
Messages:3165
Registered:April 2009
Location: Germany
Use Notepad++ to edit the xml directly.


Re: Difficulty Settings in new location![message #336415] Thu, 02 October 2014 23:09 Go to previous messageGo to next message
sylar951

 
Messages:49
Registered:December 2013
I'm planing on playing it on EXPERT...
Will the queen have unlimited troops pool now?
http://oi62.tinypic.com/miibzr.jpg

it was 0 and I've changed it to 1...
I also changed max merc death to 0... will that have the effect too so they do not die on assignments?

[Updated on: Thu, 02 October 2014 23:11] by Moderator

Re: Difficulty Settings in new location![message #336416] Fri, 03 October 2014 00:41 Go to previous messageGo to next message
silversurfer

 
Messages:2194
Registered:May 2009
Yes, that's what it's for.

Re: Difficulty Settings in new location![message #336425] Fri, 03 October 2014 12:00 Go to previous message
RoWa21

 
Messages:2048
Registered:October 2005
Location: Austria
Thanks silversurfer for the cleanup and the post


Previous Topic: Exact level-up salary raise formula
Next Topic: JA2 source
Goto Forum:
  


Current Time: Fri Nov 24 11:30:59 EET 2017

Total time taken to generate the page: 0.01084 seconds