• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(196754)

Corporal
1 Badges
Feb 24, 2010
40
0
  • Darkest Hour
Hello people, I think this is the right area to ask this question.

In the save game, a country has a section called models which contains things like
Code:
artillery = { 0 13 12 11 10 9 8 7 6 5 4 3 2 1 } 
		sp_artillery = { 0 7 6 5 4 3 2 1 } 
		rocket_artillery = { 0 13 12 11 10 9 8 7 6 5 4 3 2 1 } 
		sp_rct_artillery = { 0 5 4 3 2 1 } 
		anti_tank = { 0 2 10 9 8 7 6 5 4 3 1 } 
		tank_destroyer = { 0 7 6 5 4 3 2 1 }

I was wondering what is the direct relation of these numbers and is there any rules surrounding them (one rule seems to be that 0 comes first, then the highest number working backwards)
I can't seem to figure out what the numbers relate to in other files.
 
0 1 2 3 4 5 6 ...

That is the order of the models from the oldest to the newest.

In the save you might have the numbers mixed up, but in the end that does not matter, because after the actual models, you have obsolete_models. Obsolete models will have every model listed except the newest one, so basically all the models listed in obsolete_models don't show up in build options, and are upgraded as well.

For example...


Models:
Code:
artillery = { 0 13 12 11 10 9 8 7 6 5 4 3 2 1 }

Obsolete_models
Code:
artillery = { 0 12 11 10 9 8 7 6 5 4 3 2 1 }

That is what should appear in the save (once again the order does not matter). Basically of all your artillery models except for model 13 are ignored, because model 13 is the only one not in the obsolete_models. This basically means model 13 is the only artillery model you can build, and ofc all obsolete artillery models will be upgraded to model 13.


Hope that helps.
 
That was helpful, and I think I must have introduced a bug somewhere.

I always get an error on the models attribute on loading a game I've modified.
Code:
cag = { 0 9 8 5 4 3 2 1 }
while my obsolete model says
Code:
cag = { 0 1 2 3 3 6 7 }

think I'll need to go through the tech cheat and monitor as to why this seems screwy.