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

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
Hi Guys,

I have a not in the debug recorded error that crushs my mod (genereic CTD) - only in MP (strange?!).

I could isolate the error in this file: rebels.inc

somethin inside These line have to be rotten:

Code:
#######################################
#######################################
#######################################Russian Civil War


  
landunit = {
        id = { type = 24100 id = 3 }
    name = "Balashov Revolt"
        location = 657
        division = {
            id = { type = 24100 id = 4 }
            name = "1. Green Insurgent"
            type = militia
            model = 1
            strength = 100
            }
         division = {
            id = { type = 24100 id = 5 }
            name = "1. Anarchist Marauders"
            type = d_01
            model = 1
            strength = 38
            max_strength = 38
            }   
    }
  
landunit = {
        id = { type = 24100 id = 6 }
    name = "Omsk Marauders"
        location = 1139
        division = {
            id = { type = 24100 id = 7 }
            name = "1. Marauder Regiment"
            type = d_01
            model = 1
            strength = 15
            max_strength = 38
            locked = no
            }
    }
  
landunit = {
        id = { type = 24100 id = 8 }
    name = "Altai Rebel Army"
        location = 1146
        division = {
            id = { type = 24100 id = 9 }
            name = "Altai Insurgents"
            type = bergsjaeger
            model = 3
            strength = 10
            extra = cavalry_brigade
            brigade_model = 3
            locked = no
            }
    }
  
landunit = {
        id = { type = 24100 id = 10 }
    name = "Barnaul Self Defence Force"
        location = 1140
        division = {
            id = { type = 24100 id = 11 }
            name = "1. Defense Battalion"
            type = garrison
            model = 3
            strength = 20
            locked = yes
              }
    }

landunit = {
        id = { type = 24100 id = 12 }
    name = "Yakutia Marauders"
        location = 1178
        division = {
            id = { type = 24100 id = 13 }
            name = "Yakutia Defense Brigade"
            type = d_01
            model = 1
            strength = 38
            max_strength = 100
            }
    }
landunit = {
        id = { type = 24100 id = 14 }
    name = "Amur Marauders"
        location = 1185
        division = {
            id = { type = 24100 id = 15 }
            name = "Aksyonov Company"
            type = d_01
            model = 1
            strength = 30
            locked = no
            }
        division = {
            id = { type = 24100 id = 16 }
            name = "1. Far East Deserters"
            type = infantry
            model = 2
            strength = 100
            locked = no
            }
    }

landunit = {
        id = { type = 24100 id = 17 }
    name = "1. Ukrainian Corps"
        location = 583
        division = {
            id = { type = 24100 id = 19 }
            name = "2. UPA Division"
            type = infantry
            model = 6
            strength = 82
            locked = no
            }
        division = {
            id = { type = 24100 id = 20 }
            name = "1. UPA Mounted Rifles"
            type = cavalry
            model = 6
            strength = 47
            extra = armored_car
            brigade_model = 3
            locked = no
            }
    }
  
landunit = {
        id = { type = 24100 id = 21 }
    name = "Security Corps 'Hruschewskyj'"
        location = 582
        division = {
            id = { type = 24100 id = 22 }
            name = "3. UPA Division"
            type = infantry
            model = 6
            strength = 33
            locked = no
            }
        }
      
landunit = {
        id = { type = 24100 id = 23 }
    name = "1. Ukrainian Army'"
        location = 604
        division = {
            id = { type = 24100 id = 24 }
            name = "4. Ukrainian People's Division"
            type = militia
            model = 4
            strength = 93
            locked = no
            }
         division = {
            id = { type = 24100 id = 25 }
            name = "Headquarter of the Ukrainian People's Army"
            type = HQ
            model = 2
            strength = 10
            locked = no
    }
}
  
landunit = {
        id = { type = 24100 id = 26 }
    name = "3. Ukrainian Corps"
        location = 602
        division = {
            id = { type = 24100 id = 27 }
            name = "1. UPA Division"
            type = infantry
            model = 6
            strength = 91
            locked = no
            }
        division = {
            id = { type = 24100 id = 28 }
            name = "10. Ukrainian People's Division"
            type = militia
            model = 4
            strength = 93
            locked = no
            }
    }
  
      
landunit = {
        id = { type = 24100 id = 29 }
    name = "2. Ukrainian Army"
        location = 618
        division = {
            id = { type = 24100 id = 30 }
            name = "Ukrainian People's Army Reserve Command"
            type = HQ
            model = 2
            strength = 2
            locked = yes
            }
        }
landunit = {
        id = { type = 24100 id = 31 }
    name = "2. Ukrainian Corps"   
          location = 612
        division = {
            id = { type = 24100 id = 32 }
            name = "5. UPA Division"
            type = infantry
            model = 6
            strength = 95
            locked = no
            }
        division = {
            id = { type = 24100 id = 33 }
            name = "1. Ukrainian People's Division"
            type = militia
            model = 4
            strength = 31
            locked = no
            }
        division = {
            id = { type = 24100 id = 34 }
            name = "2. UPA Mounted Rifles"
            type = cavalry
            model = 7
            strength = 92
            locked = no
            }
        }
      
landunit = {
        id = { type = 24100 id = 35 }
    name = "4. Ukrainian Corps"   
          location = 619
        division = {
            id = { type = 24100 id = 36 }
            name = "8. UPA Division"
            type = infantry
            model = 6
            strength = 23
            extra = artillery
            brigade_model = 3
            locked = no
            }
        }
      
landunit = {
        id = { type = 24100 id = 37 }
    name = "UPA Reserve Corps"
        location = 605
        division = {
            id = { type = 24100 id = 38 }
            name = "2. Ukrainian People's Division"
            type = militia
            model = 4
            strength = 100
            locked = no
            }
        division = {
            id = { type = 24100 id = 39 }
            name = "3. Ukrainian People's Division"
            type = militia
            model = 4
            strength = 43
            locked = no
            }
        division = {
            id = { type = 24100 id = 40 }
            name = "4. UPA Division"
            type = infantry
            model = 6
            strength = 53
            locked = no
            }
         division = {
            id = { type = 24100 id = 41 }
            name = "12. UPA Division (Reserve)"
            type = infantry
            model = 3
            strength = 10
            locked = no
            }

    }
  
landunit = {
        id = { type = 24100 id = 42 }
    name = "Kirovograd Holdout"   
          location = 628
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            extra = artillery
            brigade_model = 3
            locked = no
            }
        }

#######################################
#######################################
#######################################British Empire

landunit = {
        id = { type = 24100 id = 88001 }
    name = "Free Cypriot Army"
        location = 387
        division = {
            id = { type = 24100 id = 88002 }
            name = "1. FCA Combat Group"
            type = militia
            model = 5
            strength = 60
            locked = no
            }
        division = {
            id = { type = 24100 id = 88003 }
            name = "Cypriot Insurgents"
            type = militia
            model = 3
            strength = 100
            locked = yes
            }
    }

landunit = {
        id = { type = 24100 id = 88004 }
    name = "Jordanian Insurgent"
        location = 1024
        division = {
            id = { type = 24100 id = 88005 }
            name = "Northern Arab Rebels"
            type = militia
            model = 3
            strength = 20
            locked = no
            }
        division = {
            id = { type = 24100 id = 88006 }
            name = "Eastern Arab Rebels"
            type = militia
            model = 3
            strength = 20
            locked = no
            }
    }

landunit = {
        id = { type = 24100 id = 88007 }
    name = "Palestinian Nationalists"
        location = 1008
        division = {
            id = { type = 24100 id = 88008 }
            name = "Palestinian Rebels"
            type = militia
            model = 4
            strength = 100
            locked = no
            }
    }

landunit = {
        id = { type = 24100 id = 88009 }
    name = "Palestinian Insurgent"
        location = 1009
        division = {
            id = { type = 24100 id = 88010 }
            name = "Southern Arab Rebels"
            type = militia
            model = 3
            strength = 30
            locked = yes
            }
        division = {
            id = { type = 24100 id = 88011 }
            name = "Western Arab Rebels"
            type = militia
            model = 3
            strength = 50
            locked = no
            }
    }


landunit = {
        id = { type = 24100 id = 88014 }
    name = "Iraqi Nationalist Rebels"
        location = 1032
        division = {
            id = { type = 24100 id = 88015 }
            name = "1. Brigade of the National Army"
            type = militia
            model = 5
            strength = 33
            locked = no
            }
        division = {
            id = { type = 24100 id = 88016 }
            name = "2. Brigade of the National Army"
            type = militia
            model = 5
            strength = 33
            locked = no
            }
    }


I try to to locate the broken lines more precisely, but maybe some of you guys knows that Problem or is absolute pro in .inc-files?

If I found something that's wrong I will post, till then, good hunting :D

The first who finds the error can have a named minister or division in my mod! ;)

Greez

Opa
 
Last edited:

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
I am getting the impression from reading through the file that you are putting units in different countries?
You have Ukrainian units and then British Empire units?
The inc file should be for one country only.
 

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
Error checker? Is this some Kind of tool? I just turned the debug mode on "2" in the config.

These are all initial rebel Units, that's 'cause they are in different countries. But thes are all REB.

Whole file attached
 

Attachments

  • rebels.rar
    4,3 KB · Views: 22

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
hmm.

I've deleted all of the russian civil war section; without this it worked well.

after that I added These lines:

Code:
landunit = {
        id = { type = 24100 id = 42 }
    name = "Kirovograd Holdout"    
          location = 628
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            extra = artillery
            brigade_model = 3
            }
        }

- CTD

But after Change it to this:

Code:
landunit = {
        id = { type = 24100 id = 42 }
    name = "Kirovograd Holdout"    
          location = 628
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            }
        }

- it works!

Looks that there is some issue with rebel Units and brigades?

edit: readded all the RCW section, but without any brigades. Still not works after that... have to be more then a brigade-Problem.
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
hmm.

I've deleted all of the russian civil war section; without this it worked well.

after that I added These lines:

Code:
landunit = {
        id = { type = 24100 id = 42 }
    name = "Kirovograd Holdout"   
          location = 628
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            extra = artillery
            brigade_model = 3
            }
        }

- CTD

But after Change it to this:

Code:
landunit = {
        id = { type = 24100 id = 42 }
    name = "Kirovograd Holdout"   
          location = 628
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            }
        }

- it works!

Looks that there is some issue with rebel Units and brigades?

edit: readded all the RCW section, but without any brigades. Still not works after that... have to be more then a brigade-Problem.

My advice: Always copy, never just key it, as most likely you will be doing something wrong.

see how the brigades are called:

division = {
id = { type = 27650 id = 36 }
name = "Reg.Caballería Acorazado “Alcántara“ n.º 10"
type = light_armor
model = 0
extra1 = tank_destroyer
extra2 = sp_rct_artillery
brigade_model1 = 3
brigade_model2 = 3
strength = 25
max_strength = 25
}
}
 

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
hmm, will try it with the brigades like you advice.

some strange Thing:

Code:
######################################Russian Civil War


        
landunit = {
        id = { type = 24100 id = 37 }
    name = "UPA Reserve Corps"
        location = 605
        division = {
            id = { type = 24100 id = 38 }
            name = "2. Ukrainian People's Division"
            type = militia
            model = 4
            strength = 100
            locked = no
            }


    }
    
    landunit = {
        id = { type = 24100 id = 42 }
    name = "Kirovograd Holdout"     
          location = 628
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            locked = no
            }
        }

-don't work

Code:
######################################Russian Civil War



    
    landunit = {
        id = { type = 24100 id = 42 }
    name = "Kirovograd Holdout"     
          location = 628
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            locked = no
            }
        }

-work.


WTF? the UPA Milita causes also an CTD? I'm sure there is nothing wrong with these militias - I use and have used landunit/Division definations like this one since I modding?!
 

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
Code:
landunit = {
        id = { type = 24100 id = 37 }
    name = "UPA Reserve Corps"
        location = 605
        division = {
            id = { type = 24100 id = 38 }
            name = "2. Ukrainian Peoples Division"
            type = militia
            }
    }

nothing Specials with this, still causes a CTD
 

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
eeeh, is that a bad joke?

THIS works:

Code:
landunit = {
        id = { type = 24100 id = 37 }
    name = "UPA Reserve Corps"
        location = 628
        division = {
            id = { type = 24100 id = 38 }
            name = "2. Ukrainian Peoples Division"
            type = militia
            }
    }

the location causes the CTD. But, becaus of which bloody bug? Not possbile to define initial reben troops on province 605?
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
REBELS
These are part of the game, but offmap and I would never use these like any country.

If I was setting up rebels, I would use a separate TAG.

Things I would do now:
Search all the INC files for type = 24100, so see if that type is being used elsewhere?
Could even be used with an id = 38 or 37?

It is like using flying_rocket as a unit, I mean changing it.
IT DOES NOT work like the other units do. Must be something reserved in the game as this is the nuke.
I think Rebels is similar, not to be used as a normal TAG.

I would use another tag for my rebels.
 

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
how do you mean "use a separate TAG"?

I will check the types and IDs in the other files.

btw, I used this as template (DH Full 1914 Scenario):
Code:
 country = {
  tag            = REB
 
  nationalprovinces    = {  }
  ownedprovinces       = {  }
  controlledprovinces  = { 776 1965 1966 1981 1982 }
  capital    = 1981
 
landunit = {
        id = { type = 24100 id = 1 }
        location = 1965 #Tuxtla Gutierrez
        division = {
            id = { type = 24100 id = 2 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }            
landunit = {
        id = { type = 24100 id = 3 }
        location = 1966 #Merida
        division = {
            id = { type = 24100 id = 4 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }          
landunit = {
        id = { type = 24100 id = 5 }
        location = 1981 #Tijuana
        division = {
            id = { type = 24100 id = 6 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }          
landunit = {
        id = { type = 24100 id = 7 }
        location = 1982 #Guadalajara
        division = {
            id = { type = 24100 id = 8 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }
landunit = {
        id = { type = 24100 id = 9 }
        location = 776 #Sabha
        division = {
            id = { type = 24100 id = 10 }
            #name =
            type = militia
            model = 0
            strength = 1
            max_strength = 2
            locked = yes
            }
    }  
   
}


edit: 24100 is nowhere else used in my mod...
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
Yeah, but REBS are always only militia. So your d_01 etc, I would not expect that to work.

But obviously you need to chat with MartinBG or AC.

I'm surprised to see REBS were used in dh like that, so obviously it should work, but only with militia I would guess.
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
how do you mean "use a separate TAG"?

I will check the types and IDs in the other files.

btw, I used this as template (DH Full 1914 Scenario):
Code:
 country = {
  tag            = REB
 
  nationalprovinces    = {  }
  ownedprovinces       = {  }
  controlledprovinces  = { 776 1965 1966 1981 1982 }
  capital    = 1981
 
landunit = {
        id = { type = 24100 id = 1 }
        location = 1965 #Tuxtla Gutierrez
        division = {
            id = { type = 24100 id = 2 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }           
landunit = {
        id = { type = 24100 id = 3 }
        location = 1966 #Merida
        division = {
            id = { type = 24100 id = 4 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }         
landunit = {
        id = { type = 24100 id = 5 }
        location = 1981 #Tijuana
        division = {
            id = { type = 24100 id = 6 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }         
landunit = {
        id = { type = 24100 id = 7 }
        location = 1982 #Guadalajara
        division = {
            id = { type = 24100 id = 8 }
            #name =
            type = militia
            model = 0
            strength = 5
            max_strength = 5
            locked = yes
            }
    }
landunit = {
        id = { type = 24100 id = 9 }
        location = 776 #Sabha
        division = {
            id = { type = 24100 id = 10 }
            #name =
            type = militia
            model = 0
            strength = 1
            max_strength = 2
            locked = yes
            }
    } 
  
}


edit: 24100 is nowhere else used in my mod...

Use a separate TAG like FRA, GER are tags. Look in the world_names.csv and see if you can find a spare tag and use that instead.
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
From the misc.txt file in dh:

# Land vs. Land - Str dmg limit - stop receiving STR damage once this STR limit is reached (prevent unit killing in land combat) and lose all remaining ORG instead. Ignored for Rebels

# Rebels army composition - chance for infantry over militia. 0 - only militia, 100 - only infantry, 50 - 50%/50% and so on.
20#0
# Rebels army tech level (based on the available model in the country that controls the province). -1 - Only model 1, 0 - Only the Latest model, else random model in the range from (latest model - THIS) to (latest model).
3 #-1
# Rebels army min. STR on creation: 1-100
20 #100
# Rebels army max. STR on creation: 1-100
100 #100
# Rebels ORG regain (including when in combat)
0.2 #0.2
# Extra bonus for rebelling for every rebel controlled neighbouring province
5 #0
# Extra bonus for rebelling for occupied enemy provinces
10 #0
# Extra rebel bonus for mountain terrain
4 #0
# Extra rebel bonus for hill terrain
2 #0
# Extra rebel bonus for forest terrain
3 #0
# Extra rebel bonus for jungle terrain
4 #0
# Extra rebel bonus for swamp terrain
2 #0
# Extra rebel bonus for deserts
-2 #0
# Extra rebel bonus for plains terrain
0 #0
# Extra rebel bonus for urban provinces
2 #0
# Extra rebel bonus for provinces with Air or Naval bases
0 #0
 

Stahl-Opa

Marshall & Grossadmiral of Helvetia
71 Badges
Jun 16, 2011
705
130
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Horse Lords
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Warlock 2: The Exiled
  • Europa Universalis III Complete
Okay.

I have chosen a other TAG, with this it isn't a problem. Not for SP, nor MP.
But because U35-Rebels aren't real rebels I've made an AI-Event on 1.1.36. With this one, the "real" rebels annex the U35-rebels. Not the best solution, but works.

It seems that the rebels don't like definitions for units in the .inc; after the game is loaded succsesfully, there seems to be no prob with REB brigades, d_01 etc..

I think there is some heavy junk in the engine - imho it should not be this problematic to use a rebels.inc.
Will open a thread in the Bug-Forum.

Thanks a lot for your help, novapaddy :)