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

Kyronea

Second Lieutenant
33 Badges
Mar 14, 2006
106
0
  • Teleglitch: Die More Edition
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • Hearts of Iron III
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Mount & Blade: With Fire and Sword
  • Crusader Kings Complete
  • Prison Architect
  • Cities in Motion
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
Okay, so I'm editing a country's INC file (Three guesses as to which) and I'm redoing the divisions/what have you being built.

Unfortunately, everytime the game tries to load the INC file with this edit added in, it crashes to the desktop. And I know it's these and these alone that are the problem because I tested it with just my other modifications and it worked perfectly.

So...I must be missing an error somewhere. Here it is:

Code:
 division_development = {
                         name = "7ème Division d'Infanterie"
                         type = infantry
                         model = 1
                         cost = 4.5
                         id = { type = 13500 id = 33 }
                         date = { year = 1936 month = january day = 8 }
                        }
 division_development = {
                         name = "6ème Division d'Infanterie"
                         type = infantry
                         model = 1
                         cost = 4.5
                         id = { type = 13500 id = 34 }
                         date = { year = 1936 month = january day = 9 }
                        }
 division_development = {
                         name = "9ème Division d'Infanterie"
                         type = infantry
                         model = 1
                         cost = 4.5
                         id = { type = 13500 id = 35 }
                         date = { year = 1936 month = january day = 10 }
                        }
 division_development = {
                         name = "10ème Division d'Infanterie"
                         type = infantry
                         model = 1
                         cost = 4.5
                         id = { type = 13500 id = 36 }
                         date = { year = 1936 month = january day = 11 }
                        }
 division_development = {
                         name = "Painlevé"
                         type = carrier
                         model = 2
                         cost = 3.5
                         id = { type = 13500 id = 37 }
                        date = { year = 1936 month = february day = 21 }
                        }
 division_development = {
                         name = "Painlevé CAG"
                         type = CAG
                         model = 2
                         cost = 2.0
                         id = { type = 13500 id = 38 }
                        date = { year = 1936 month = february day = 21 }
                        }
 

Micah Goodman 2

Colonel
98 Badges
Dec 28, 2003
930
263
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Cities: Skylines
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Wealth of Nations
  • 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 IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
As Bebro said make sure that the id numbers you are using are free. If you didn't modify the rest of the inc file I would bet that those numbers are alread used. Go to the portion of the file just before you added your units and check for the last unit id number. Also, you need to add a } sign after the last entry that you have.

division_development = {
name = "Painlevé CAG"
type = CAG
model = 2
cost = 2.0
id = { type = 13500 id = 38 }
date = { year = 1936 month = february day = 21 }
}
} Is what you need. Also if you are playing with Armageddon I would write the carrier entry like this...

division_development = {
name = "Painlevé"
type = carrier
extra = cag
model = 2
cost = 3.5
id = { type = 13500 id = 37 }
date = { year = 1936 month = february day = 21 }
}
}

That way the cag is compleated when the carrier is finished. Also it's cheaper with the IC cost.
 

Kyronea

Second Lieutenant
33 Badges
Mar 14, 2006
106
0
  • Teleglitch: Die More Edition
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • Hearts of Iron III
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Mount & Blade: With Fire and Sword
  • Crusader Kings Complete
  • Prison Architect
  • Cities in Motion
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
Yes, I'm sure the ids are free, because I rewrote the entire INC file.

That's good advice on the adding of the CAG though. I didn't know if that could be done or not.

And I do have a final bracket. I simply didn't include it in what I copied out of the INC file because the problem is purely the division developments.
 

Kyronea

Second Lieutenant
33 Badges
Mar 14, 2006
106
0
  • Teleglitch: Die More Edition
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • Hearts of Iron III
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Mount & Blade: With Fire and Sword
  • Crusader Kings Complete
  • Prison Architect
  • Cities in Motion
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
Huh. I retried it and now it works. I think the problem was the brigade development. With your new version of the carrier build it works perfectly. Thank you.
 

Micah Goodman 2

Colonel
98 Badges
Dec 28, 2003
930
263
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Cities: Skylines
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Wealth of Nations
  • 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 IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
No problem. I'm glad it worked.