INI files

Please post here for questions and discussion about scenario, art and sound modding.

Moderator: doomtrader

Post Reply
User avatar
LiquidSky
Posts: 2814
Joined: Tue Jun 24, 2008 4:28 am

INI files

Post by LiquidSky »



I have started to play around with the Consts.INI file to see what sort of things I can do, and I am curious about a couple of things.

I assume the consts.ini file is a general file that applies to every nation in the game...
and that the consts_Germany.ini (et. al.) files override the values in that consts.ini file?

So:

[NavalBattle]
EngagementChance = 30
ChanceForTurns = 80;75;50;20;5

for example, can be different for the Germans then for Great Britain?


“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
User avatar
LiquidSky
Posts: 2814
Joined: Tue Jun 24, 2008 4:28 am

RE: INI files

Post by LiquidSky »



I love the ini files! There is so much moddable goodness!

For those curious, from what I have discovered....

UnitType0 = infantry div
UnitType1 is Infantry corp
UnitType2 is mech div
UnitType3 is Mech corp
UnitType4 is panzer div
UnitType5 is Panzer corp
UnitType5 is para div

UnitType20 is fighter
UnitType21 is Tactical
UnitType22 is Strategic

UnitType40 is Carrier
UnitType41 is Battleship
UnitType42 is Cruiser
UnitType43 is Submarine
UnitType44 is Transport
UnitType45 is Amphibious Craft

NOTE: the subtypes are modified further in the ini. for example:

All carriers are UnitType40, but
HP_Light_carrier is 6
HP_Escort_carrier is 4
HP_Fleet_carrier is 12

and similarly you can adjust the costs...

The combat tables are in here, and I now know why the Russians are so deadly when they hit me with three rifle corps....

The modifier for a single hexside attack is 0.9 times your strength, for a three hexside attack is 1.35 times...

so 3 rifle corps is about 15...times 1.35 is about 20. Against a slightly beat up German is 6-7 in strength , for an easy 2-1, probable 3-1
At those odds...you take from 20 to 70 percent damage. (d6 table, 20,30,40,50,60,70)

I am thinking that a 3 hex side attack should be the benchmark. Or even different for different nations...

So much to play with! Economy! Diplomacy! Combat! Weather effects! Fun Fun Fun!



“My logisticians are a humorless lot … they know if my campaign fails, they are the first ones I will slay.” – Alexander the Great
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: INI files

Post by doomtrader »

ORIGINAL: LiquidSky



I have started to play around with the Consts.INI file to see what sort of things I can do, and I am curious about a couple of things.

I assume the consts.ini file is a general file that applies to every nation in the game...
and that the consts_Germany.ini (et. al.) files override the values in that consts.ini file?

So:

[NavalBattle]
EngagementChance = 30
ChanceForTurns = 80;75;50;20;5

for example, can be different for the Germans then for Great Britain?




You are completely right.
Post Reply

Return to “Design and Modding”