Fix for Broken Defence Modifiers
Posted: Tue Dec 16, 2014 10:02 am
When a ground combat is selected, the game will apply a number of modifiers to reach a final odds calculation to resolve the combat.
There is a modifier calculation for the attacker and a calculation for the defender. The odds calculation can be seen with a mouse-over of the combat info box, after you have selected a unit to attack, but the 'Terrain' and 'City' defender calculations have not been working since v1.01, they always show 100%. These values are expressed as a percentage multiplier, where 100% is neutral (no effect), lower than 100% reduces the odds, higher than 100% increases the odds (1 = 100%).
The values to be used are held in each scenario consts.ini file with the following text :
[LandCombatDefenderModifiers]
Plain = 1
Forest = 1.5
Rough = 1.7
Swamp = 1.25
Hills = 1.4
Mountain = 2
Desert = 1
City = 2
Fort = 0.1
NearbyDefendersValue = 0.05
The items in bold are the 'Terrain' and 'City' defence odds modifiers, which have not been applied since v1.01.
The game, through each scenario consts.ini file, is only applying 'Terrain' and 'City' defence modifiers to country #1 Poland and not to any other nation (these modifiers will always show 100% in the info box - no effect), units in Forests/Swamps/Mountains, etc. get no defence benefit (except Poland).
Therefore in 'Fall Weiss', Poland gets 'Terrain' and 'City' modified defender values, Germany does not. Same applies in the other scenarios, for all the other countries.
If the scenario consts.ini file is not applying these values I was looking for an alternative and put the above modifier text into the consts_Germany file in the 'Fall Weiss' scenario - bingo !! Germany gets the 'Terrain' and 'City' defence modifiers.
After a game save, a revised copy of each nations' consts file is written into the save file, but the game ignores 'Plain' and 'Desert' (they are presently set at 1 - no effect), also 'Fort' and 'NearbyDefenderValue' are ignored and it sets down the modifier values as below :
[LandCombatDefenderModifiers]
City = 2.0000
Forest = 1.5000
Fort = 0.1000
Hills = 1.4000
Mountain = 2.0000
Rough = 1.7000
Swamp = 1.2500
So if this is how the game wants to see the data, so be it. To make the defence modifiers work for any nation, just add the above text to the consts_nation files in each scenario folder. Strangely, some countries active in some scenarios have not been given a national consts file, in 'Fall Weiss', Croatia (not active this scenario) has one, Slovakia (active) does not, but a consts_Slovakia file can be added to the scenario folder, with the above text to activate the defence modifiers for that country.
You can adjust running games by putting the text into each consts_nation file in a chosen game save file, found in :
Documents/My Games/Time of Fury/saves/save name
An extra advantage is that now the defence modifiers are allocated to each nation independently, the counties can have different attributes. Switzerland can have improved defence in mountains, Finland can have better defence in forests, France and the USSR did not defend their cities in 1940/41, so the 'City' modifier can be set at 1 (no defence advantage), for those nations, in those years.
This fixes one of the main problems in the game, combat is the core of any wargame and, if the terrain and cities are not modifying combat, then you might as well play on a blank map. I am still getting CTDs on start-up, but can always get the game going eventually, there is still the Convoy Routing problem, but Peter123 has provided a mod for that :
http://www.matrixgames.com/forums/tm.asp?m=3266811
I have been using v1.05, available as a self install update here :
http://www.matrixgames.com/forums/tm.asp?m=3573756
Don't confuse the 'City' defence modifier with the 'Armor in a City' attacker and defence modifier, which applies whenever an armoured unit is attacking, or defending, in a city. The 'Armor in a City' modifier operates in v1.05, but last time I looked it is not working in STEAM v1.06, so I'm sticking with modified v1.05, which with this fix gives almost everything.
This has been a big issue for me, as in 'Gotterammerung', what is the point of a campaign in Italy, without the realistic effects of mountains on combat, so this fix opens up scenarios which I was not using.
There is a very good game here, but you have to work at it to get the best out of 'Time of Fury'.
There is a modifier calculation for the attacker and a calculation for the defender. The odds calculation can be seen with a mouse-over of the combat info box, after you have selected a unit to attack, but the 'Terrain' and 'City' defender calculations have not been working since v1.01, they always show 100%. These values are expressed as a percentage multiplier, where 100% is neutral (no effect), lower than 100% reduces the odds, higher than 100% increases the odds (1 = 100%).
The values to be used are held in each scenario consts.ini file with the following text :
[LandCombatDefenderModifiers]
Plain = 1
Forest = 1.5
Rough = 1.7
Swamp = 1.25
Hills = 1.4
Mountain = 2
Desert = 1
City = 2
Fort = 0.1
NearbyDefendersValue = 0.05
The items in bold are the 'Terrain' and 'City' defence odds modifiers, which have not been applied since v1.01.
The game, through each scenario consts.ini file, is only applying 'Terrain' and 'City' defence modifiers to country #1 Poland and not to any other nation (these modifiers will always show 100% in the info box - no effect), units in Forests/Swamps/Mountains, etc. get no defence benefit (except Poland).
Therefore in 'Fall Weiss', Poland gets 'Terrain' and 'City' modified defender values, Germany does not. Same applies in the other scenarios, for all the other countries.
If the scenario consts.ini file is not applying these values I was looking for an alternative and put the above modifier text into the consts_Germany file in the 'Fall Weiss' scenario - bingo !! Germany gets the 'Terrain' and 'City' defence modifiers.
After a game save, a revised copy of each nations' consts file is written into the save file, but the game ignores 'Plain' and 'Desert' (they are presently set at 1 - no effect), also 'Fort' and 'NearbyDefenderValue' are ignored and it sets down the modifier values as below :
[LandCombatDefenderModifiers]
City = 2.0000
Forest = 1.5000
Fort = 0.1000
Hills = 1.4000
Mountain = 2.0000
Rough = 1.7000
Swamp = 1.2500
So if this is how the game wants to see the data, so be it. To make the defence modifiers work for any nation, just add the above text to the consts_nation files in each scenario folder. Strangely, some countries active in some scenarios have not been given a national consts file, in 'Fall Weiss', Croatia (not active this scenario) has one, Slovakia (active) does not, but a consts_Slovakia file can be added to the scenario folder, with the above text to activate the defence modifiers for that country.
You can adjust running games by putting the text into each consts_nation file in a chosen game save file, found in :
Documents/My Games/Time of Fury/saves/save name
An extra advantage is that now the defence modifiers are allocated to each nation independently, the counties can have different attributes. Switzerland can have improved defence in mountains, Finland can have better defence in forests, France and the USSR did not defend their cities in 1940/41, so the 'City' modifier can be set at 1 (no defence advantage), for those nations, in those years.
This fixes one of the main problems in the game, combat is the core of any wargame and, if the terrain and cities are not modifying combat, then you might as well play on a blank map. I am still getting CTDs on start-up, but can always get the game going eventually, there is still the Convoy Routing problem, but Peter123 has provided a mod for that :
http://www.matrixgames.com/forums/tm.asp?m=3266811
I have been using v1.05, available as a self install update here :
http://www.matrixgames.com/forums/tm.asp?m=3573756
Don't confuse the 'City' defence modifier with the 'Armor in a City' attacker and defence modifier, which applies whenever an armoured unit is attacking, or defending, in a city. The 'Armor in a City' modifier operates in v1.05, but last time I looked it is not working in STEAM v1.06, so I'm sticking with modified v1.05, which with this fix gives almost everything.
This has been a big issue for me, as in 'Gotterammerung', what is the point of a campaign in Italy, without the realistic effects of mountains on combat, so this fix opens up scenarios which I was not using.
There is a very good game here, but you have to work at it to get the best out of 'Time of Fury'.