Spothisto said:
What i need to edit to get a good leader?
Well, first open the folder named "leaders": the path should be 476v\DB\leaders, or something like this.
You'll find a bunch of files, named "leaders.xxx", the "xxx" being the tag for the nation which has the leaders specified in that file; for instance, the file "leaders.hab" has the leaders for the Eastern Roman Empire, as HAB is the tag for that nation in this mod.
"leaders.pis" has the only leader for the Western Roman Empire (tag PIS), if you open that file - use a simple text editor, as wordpad -, you'll see:
historicalleader = {
id = { type = 6 id = 21103 }
category = general
name = "Orestes"
startdate = {
year=1475
}
deathdate = {
day = 28
month = august
year=1476
}
rank = 1
movement = 3
fire = 2
shock = 2
siege = 0
}
Orestes is the only leader your WRE has for the moment. To add more, you can copy him and paste right below. Change the name of the new guy for whoever you want, and keep in mind that the id must be specific for each leader. For example, Orestes is the 21103, a new leader would have 21104, if it's not used yet. I don't know what's the id's range that Lofman currently uses.
Edit all the rest, it's quite obvious: the date on which you want the leader to appear, and to die/leave your service. The rank, it's like this: from 0 to 8 (i'm not sure if it can be more), it goes from the highest rank to the lesser one (from field marshal to brigadier, i think). Our Orestes here, is rank 1, he's a general (in the game, the big star next to his name).
Movement concerns the overall manoever ability - faster movement - that an army under the command of a leader will have. Shock concerns the power of the army during the shock phases of a battle; fire, of course, concerns the power during the fire phases; and the siege value that a commander has concerns how effective (faster) the sieges lead by that commander will be. For these 4 factors, 0 is the least, and 9 the top. For example, Orestes has a 0 siege ability, he's a very ordinary leader on that chapter; if you would like to make him a specialist in sieges, try to give him a siege value of 2, or bigger.
And that's how it works.