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

FOARP

Field Marshal
49 Badges
Sep 10, 2008
6.137
4.022
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III
  • Gettysburg
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Arsenal of Democracy
  • 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
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normandy 44 -  Back to Hell
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
I've been messing around with the OOBs in the E3 mod and noticed that Italy's Blackshirt divisions (i.e., the ones with the initials 'CCNN' in their division names) are all included as militia divisions. Whilst I know that the Blackshirts were officially a militia, their weapons and training weren't really any worse than that of the regular Italian army, and they were organised and used as regular infantry, so I tried to change them to infantry.

Doesn't. Work. Even if I change only one of the Blackshirt divisions to infantry, and the only edit I make is to replace one line saying "type = militia" with one saying "type = infantry" the scenario refuses to load - the screen freezes halfway through the load - here's the edited text:

ItalyOOBedit.jpg


Anyone know how to fix it?
 

Radu

Banned
82 Badges
Dec 18, 2007
957
4.722
  • Europa Universalis IV: Mare Nostrum
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Hearts of Iron IV: Cadet
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Victoria 2
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Cradle of Civilization
  • Battle for Bosporus
  • Europa Universalis IV: Golden Century
  • Stellaris: Megacorp
  • Europa Universalis IV
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Tyranny - Bastards Wound
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Tyranny - Tales from the Tiers
Your best bet is to take the code of an actual infantry division in the Italian OOB and replace the numbers correctly.

Regarding the highlighted snippet in the actual screenshot, you're missing the "model = X".

In general make absolutely sure that the IDs are correct, both "type" and "id". Best way to be sure you're correct is to copy-paste a vanilla template use consecutive numbers for the id.

But again, your best bet is to copy-paste something that you know works, a vanilla script is ideal, and change only one thing at a time at least until you get the hang of it.
 

Kovakanki

Sergeant
22 Badges
Mar 22, 2008
88
6
  • Crusader Kings II
  • Rome Gold
  • Victoria: Revolutions
  • Iron Cross
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis III Complete
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Hearts of Iron IV: Cadet
  • Crusader Kings III
  • Cities: Skylines
Are you sure that the problem is caused by that modification? I made the same change and it works perfect, although I'm using vanilla AoD, not E3. Also, "model = x" command doesn't seem to be compulsory, units without it are assumed to be model = 0.
 
Last edited:

Fürstbischof

General
17 Badges
Jan 25, 2009
1.745
86
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • Heir to the Throne
  • Hearts of Iron Anthology
  • 500k Club
  • Europa Universalis: Rome
  • Victoria 2: A House Divided
  • Europa Universalis III: Collection
  • 200k Club
  • Rome: Vae Victis
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Your best bet is to take the code of an actual infantry division in the Italian OOB and replace the numbers correctly.

Regarding the highlighted snippet in the actual screenshot, you're missing the "model = X".

In general make absolutely sure that the IDs are correct, both "type" and "id". Best way to be sure you're correct is to copy-paste a vanilla template use consecutive numbers for the id.

But again, your best bet is to copy-paste something that you know works, a vanilla script is ideal, and change only one thing at a time at least until you get the hang of it.

Copy-pasting is the way to go, definitely. ;) I'm also curious if the missing model is cause of his frozen load screen or if he made some more changes, too.
 

Fürstbischof

General
17 Badges
Jan 25, 2009
1.745
86
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • Heir to the Throne
  • Hearts of Iron Anthology
  • 500k Club
  • Europa Universalis: Rome
  • Victoria 2: A House Divided
  • Europa Universalis III: Collection
  • 200k Club
  • Rome: Vae Victis
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Are you sure that the problem is caused by that modification? I made the same change and it works perfect, although I'm using vanilla AoD, not E3. Also, "model = x" command doesn't seem to be compulsory, units without it are assumed to be model = 0.

E3 is only a map mod so that this change should have the same effect regardless of the map which you're using for your game. If he made several of this changes he might have missed a # or might have introduced a typo which easily happens. :(
 

FOARP

Field Marshal
49 Badges
Sep 10, 2008
6.137
4.022
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III
  • Gettysburg
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Arsenal of Democracy
  • 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
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normandy 44 -  Back to Hell
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
@Radu - Thanks for the advice. Like Kovanki says, a model tag isn't necessary - it isn't used in the original file. It's probably not an id number problem, as this would bring up an error message, rather than simply having the loading screen freeze. I was hoping that there was some obvious mistake I had made that someone could spot, but if it is there I can't see it!

@Kovakanki - You're probably right. I'll replace all the .inc files with the original E3 .inc files and start again. Whilst I think this is the only change I've made, it may be that I've inadvertently changed something else.


Edit: It worked. Annoying to spend the best part of two days working on something that was wrecked by a tiny mistake!
 
Last edited:

Fürstbischof

General
17 Badges
Jan 25, 2009
1.745
86
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • Heir to the Throne
  • Hearts of Iron Anthology
  • 500k Club
  • Europa Universalis: Rome
  • Victoria 2: A House Divided
  • Europa Universalis III: Collection
  • 200k Club
  • Rome: Vae Victis
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Edit: It worked. Annoying to spend the best part of two days working on something that was wrecked by a tiny mistake!

Good.