• 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
47 Badges
Sep 10, 2008
6.153
4.090
  • 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
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Darkest Hour
  • Arsenal of Democracy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Victoria 2
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • Warlock: Master of the Arcane
  • 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?
 
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.
 
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:
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.
 
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. :(
 
@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:
Edit: It worked. Annoying to spend the best part of two days working on something that was wrecked by a tiny mistake!

Good.