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

Captain
4 Badges
Dec 23, 2007
371
0
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Europa Universalis III Complete
Good Morning and Merry Christmas.

While attempting to set up a new nation, I've run into problems setting up it's starting units. I was told the best thing to do was to simply copy an existing nations military and change the name, stationed provinces and ID number in the .inc file.

I've done that but now the scenario won't open and I keep an error message of database mismatch that ID number ##### is already used and then the game shuts down. Thankfully I have backup files.

So how do I add starting units without crashing the game?
 

Jamie550

'
53 Badges
Jan 29, 2007
4.225
197
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Victoria 2 Beta
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
frigidmagi said:
Good Morning and Merry Christmas.

While attempting to set up a new nation, I've run into problems setting up it's starting units. I was told the best thing to do was to simply copy an existing nations military and change the name, stationed provinces and ID number in the .inc file.

I've done that but now the scenario won't open and I keep an error message of database mismatch that ID number ##### is already used and then the game shuts down. Thankfully I have backup files.

So how do I add starting units without crashing the game?
Make sure that the IDs are not already used.
 

Thistletooth

Field Marshal
39 Badges
Dec 19, 2003
5.429
25
  • Hearts of Iron IV: Together for Victory
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Victoria 2: A House Divided
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Deus Vult
  • 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: Sword of Islam
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
frigidmagi said:
Okay. Is there any way to do that besides by "hand"?

Or do I just go through the editor and copy down all the IDs?

Well, you could just write down a list of all the new army/division IDs you handed out and then do a search under HoI/scenarios/whatever campaign you're playing to see if there are any matches.

BTW, I hope you're not using the scenario editor to do this. It's almost guaranteed to cause glitches if you use it for modding anything but ministers, leaders, and tech teams. You can still use it as a handy reference for tech tree, but I wouldn't save your progress with the editor; I'd use the actual game files for that. For anything else, you are using the editor at your own risk. For scenario files in particular, you gotta do it by going into the .txt files yourself.
 

unmerged(89475)

Captain
4 Badges
Dec 23, 2007
371
0
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Europa Universalis III Complete
Right now I am working on the .inc files. I did use the editor for assigning provinces, ministers, leaders and tech teams. Which I am coming to see as the "easy" part of this.

Thank you all for your time and help. I do appreciate it.
 

unmerged(63886)

@ my Swedish HQ
Dec 26, 2006
2.622
1
frigidmagi said:
Right now I am working on the .inc files. I did use the editor for assigning provinces, ministers, leaders and tech teams. Which I am coming to see as the "easy" part of this.

Thank you all for your time and help. I do appreciate it.

I belive you talk about the editor that came with DD, which is, seriosly bugged. Don't use it. Jamie550 is developing his own editor which is - already at this point - ten thousands time better than 'vanilla'.