• 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.

Monarch1st

Captain
12 Badges
Oct 29, 2004
374
0
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • For the Motherland
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Majesty 2
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Hi all - anyone still playing this game? I tried hoi3, gave it up after a year. I liked the map, but didn't like the hq system at all. Then when old bugs from hoi 1 (yes, *one*) popped up where destroyed enemy units would get past my line and appear behind me, that was the last straw. I haven't tried hoi4 yet, mainly waiting for it to come down in price. But it's hard to get away from something you know so well.
So I've come back to comfortable hoi2/AoD.

Here's the problem. I like to play the cold war mod with greatly extended tech tree, and ends in 2025.
I start off playing japan or germany or italy and the axis take over the world except for one country, usually the u.s. or canada, but there'll probably be others as well. Then against towering odds (read: i cheat my butt off for the first year) the plucky country comes back and frees the world! Woohoo! It's fun.
Anyway. That requires a gargantuan army. Not so much front line stuff like armor, or motor/mech, inf, or marines. No more of them are needed than in a regular game, really. It's mainly about militia for secondary defense, and piles of garrison units ('cause I like to see the planet united under one color. its just easier. transporting units of different nationalities is a pain, loaning notwithstanding.)
The main problem is leaders. I've decided on a standard template for a generic maj gen for gar, and one for lt gen for mil. Can't be promoted, forever skill 1, etc. A bunch are required, and I insert them in the saved game as needed.

But what's the best way to put them in the game? I've been adding them a couple dozen at a time in the saved game. But I wonder if putting them in the db\leaders\*.csv file would be better. The downside I can see is none of the leaders in the csv file have traits like defensive_doctrine, or logistics_wizard, which I like to put on a random few of my generic guys. That, and if they're available for any length of time the computer will use them for other units which I don't want.
What's the advantage or disadvantage either way?
Has anyone else added leaders?
 
I added thousands of leaders and modified thousands.
Always use the CSVs for that.

You can alter a lot of things, including traits if you look properly in the CSVs.

Every trait has a number in the CSV. The "panzer leader" for instance is the "128".

eg look in the albanian leaders list:

Name;ID;Country;Rank 3 Year;Rank 2 Year;Rank 1 Year;Rank 0 Year;Ideal Rank;Max Skill;Traits;Skill;Experience;Loyalty;Type;Picture;Start Year;End Year;x
Agimi;34580;ALB;1930;1990;1990;1990;3;3;128;0;0;3;0;L34580;1930;1960;x
Agolli;34581;ALB;1930;1939;1990;1990;3;3;0;1;0;3;0;L34581;1930;1960;x
The first leader is a panzer leader. The 2nd one has no trait.

0 = no trait
1 = logistics wizard
2 = defensive doctrine
3 = defensive + logistics (2 + 1)
4 = offensive
5 = offensive + logistics (4 + 1)
6 = offensive + defensive (4+ 2)

and so on

256 is commando
512 is old guard


Modding the save game is too complicated IMO.



http://www.warplanorange.net/forum/viewtopic.php?t=1164

there used to be a wiki somewhere but i lost the URL...
 
I knew about the fields in the csv, but I didn't see any entry in the traits field for anyone. Guess I was looking at the wrong file, or could be the wrong field.

It isn't hard to put leaders in the save file, once you know where they go. Just tedious, copy/paste and change the id and name.
Besides, if you are starting from a saved game, like I've been doing lately, the .csv leaders don't show up, so there's no choice but to copy them into the save file.

The csv file has slightly different fields than the entry in the saved file. E.g. it has 'ideal rank' which the save file doesnt have, and the save file has the current rank which the csv doesn't have. I'm guessing the 'rank x year' field will handle that, at least that's what I'm going with. Also, the save file has a 'type' as part of the id, i.e. "id = { type = 6 id = 63260 }". It isn't which service (army, navy, air force), that's handled below as 'category', so I don't know what it is. Not sure it matters since none in the csv has it. The save file also has a field 'changed', which is always '= yes', but that's probably internal. I'm not going to worry about it.

Thanks for the help, and thanks for the link. Explains it well.
 
Last edited: