• 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(48743)

Colonel
Sep 19, 2005
951
0
Hi!

I want to mod the japan.inc file for 1936 scenario a bit. I just want to regroup the naval units, collect the garrisons from the small island, etc, because otherwise I do the same thing in the first hour of gameplaying every time I start a new game with Japan. So no big cheating*, just a mechanical job (and a renamaing of units - giving TAC for tactical bomber, SS for subs, etc).

I know where are these units in the file, moving them to other locations will be a simple excercise.

I just don't know what happens to leaders? Where can I see what leader is assigned to what unit or where can I assign a leader to a unit? Or, are the leaders assigned automatically when the game starts?

For example:
**********************************************
landunit = {
id = { type = 13016 id = 695 }
name = "Yap Hendan"
location = 1619

division = {
id = { type = 13016 id = 696 }
name = "Yap Hendan"
strength = 100
type = garrison
}
}
**********************************************

There is a land unit with a single garrison division, but there is no info about the leader.

I also know, that the unit ID must be unique in the game, so I have to be careful when creating a new one. I wouldn't create a new, but re-use the existing ones in the file. Hopefully, there will be no problem, when deleting some of them, when not needed. I just want to regroup the divisons, so the division entries will stay the same.

Thanks for help,
cumi

* OK, this way I will save some oil, because I don't want to transport every single unit back from pacific island...
 

Careful Plum

Major
84 Badges
Dec 30, 2004
545
179
  • Crusader Kings II: Horse Lords
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Sword of the Stars II
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings III
  • Europa Universalis IV: Art of War
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Cities in Motion
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
You just have to change the location line to the province where you want to move the unit (you can see province IDs with F12 -> showid). f. e., Tokyo is province 1184.

If you want to specify a who leads a unit, just add a line leader = ### (leader id). If there's no such a line, a leader will be chosen automatically, just as if you'd create a new corps without specifiying a leader in game.
And, I can't imagine any problem caused by deleting units.
Hope I didn't repeat anything you know :).