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

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
I have modified the US inc file and for some reason all of the following units appear in the 1st USAAF Fighter Group;First Army, Second Army, Third Army, Fourth Army, Panama Garrision, US 4th Infantry Regiment. They all appear in San Diego Province ID number 761, when they should all be separate in other provinces. What am I doing wrong? For the life of me I can’t find it.

}

landunit = {
location = 603
name = "1st Infantry Division"
id = { type = 14800 id = 3 }
division = { id = { type = 14800 id = 4 } name = "1st 'Big Red One' Division" type = infantry model = 4 }
}

landunit = {
location = 717
name = "2nd Infantry Division"
id = { type = 14800 id = 5 }
division = { id = { type = 14800 id = 6 } name = "2nd 'Indianhead' Division" type = infantry model = 4 }
}

landunit = {
location = 782
name = "3rd Infantry Division"
id = { type = 14800 id = 7 }
division = { id = { type = 14800 id = 8 } name = "3rd 'Rock of the Marne' Division" type = infantry model = 4 }
}

landunit = {
location = 718
name = "1st Cavalry Division"
id = { type = 14800 id = 9 }
division = { id = { type = 14800 id = 10 } name = "1st Cavalry Division" type = cavalry model = 2 }
}

landunit = {
location = 1737
name = "US Army Far East"
id = { type = 14800 id = 11 }
division = { id = { type = 14800 id = 12 } name = "Phillippine Division" type = infantry model = 4 }
}

landunit = {
location = 663
name = "Hawaii Department"
id = { type = 14800 id = 700 }
division = { id = { type = 14800 id = 701 } name = "24th 'Victory' Division" type = infantry model = 4 }
}

landunit = {
name = "Panama Department"
location = 889
id = { type = 14800 id = 702 }
division = {
id = { type = 14800 id = 703 }
name = "Panama Garrison"
type = garrison
strength = 33
extra = artillery
}


landunit = {
name = "Alaska Department"
location = 549
id = { type = 14800 id = 704 }
division = {
id = { type = 14800 id = 705 }
name = "US 4th Infantry Regiment"
type = garrison
strength = 33
}

landunit = {
name = "US First Army"
location = 602
id = { type = 14800 id = 706 }
division = {
id = { type = 12700 id = 707 }
name = "First Army"
type = hq
model = 0
strength = 50
}

landunit = {
name = "US Fourth Army"
location = 765
id = { type = 14800 id = 708 }
division = {
id = { type = 12700 id = 709 }
name = "Fourth Army"
type = hq
model = 0
strength = 50
}

landunit = {
name = "US Second Army"
location = 620
id = { type = 14800 id = 710 }
division = {
id = { type = 14800 id = 711 }
name = "Second Army"
type = hq
model = 0
strength = 50
}

landunit = {
name = "US Third Army"
location = 717
id = { type = 14800 id = 712 }
division = {
id = { type = 12700 id = 713 }
name = "Third Army"
type = hq
model = 0
strength = 50
}

airunit = {
location = 761
base = 761
id = { type = 14800 id = 13 }
name = "1st USAAF Fighter Group"
division = { id = { type = 14800 id = 14 } name = "1st USAAF Fighter Wing" type = interceptor model = 1 }
}
 

unmerged(12544)

General
Dec 9, 2002
1.936
0
Visit site
Micah Goodman 2 said:
landunit = {
name = "Panama Department"
location = 889
id = { type = 14800 id = 702 }
division = {
id = { type = 14800 id = 703 }
name = "Panama Garrison"
type = garrison
strength = 33
extra = artillery
}


landunit = {
name = "Alaska Department"
location = 549
id = { type = 14800 id = 704 }
division = {
id = { type = 14800 id = 705 }
name = "US 4th Infantry Regiment"
type = garrison
strength = 33
}

landunit = {
name = "US First Army"
location = 602
id = { type = 14800 id = 706 }
division = {
id = { type = 12700 id = 707 }
name = "First Army"
type = hq
model = 0
strength = 50
}

landunit = {
name = "US Fourth Army"
location = 765
id = { type = 14800 id = 708 }
division = {
id = { type = 12700 id = 709 }
name = "Fourth Army"
type = hq
model = 0
strength = 50
}

landunit = {
name = "US Second Army"
location = 620
id = { type = 14800 id = 710 }
division = {
id = { type = 14800 id = 711 }
name = "Second Army"
type = hq
model = 0
strength = 50
}

landunit = {
name = "US Third Army"
location = 717
id = { type = 14800 id = 712 }
division = {
id = { type = 12700 id = 713 }
name = "Third Army"
type = hq
model = 0
strength = 50
}

airunit = {
location = 761
base = 761
id = { type = 14800 id = 13 }
name = "1st USAAF Fighter Group"
division = { id = { type = 14800 id = 14 } name = "1st USAAF Fighter Wing" type = interceptor model = 1 }
}
All missing "}" at the end. But "1st USAAF Fighter Group" only, if it is the last unit of the whole file (the end).
 

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
At the end of each line or each unit?
 

unmerged(12544)

General
Dec 9, 2002
1.936
0
Visit site
Micah Goodman 2 said:
landunit = {
name = "US Third Army"
location = 717
id = { type = 14800 id = 712 }
division = {
id = { type = 12700 id = 713 }
name = "Third Army"
type = hq
model = 0
strength = 50
}}
This way. The number of opening brackets needs to be equal to the number of closing ones. ;)And you have different ids. I have not tested if this works, better use only one sort for each country.
 

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
That fixed it. Thanks a lot. This is a classic case of a little knowledge is a dagerous thing. :D
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • 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
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
Panther G said:
This way. The number of opening brackets needs to be equal to the number of closing ones. ;)And you have different ids. I have not tested if this works, better use only one sort for each country.

the type does not have to be unique (all can have 14800 for example) however the id has to be unique to each type.

so:
type = 14800 id = 1
type = 14800 id = 2
type = 14800 id = 3

will not cause conflict with
type = 12700 type = 1
etc


Ayeshteni