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

unmerged(47162)

Missing my avatar
Aug 4, 2005
7.251
20
can you have 2 inc file on the same country? i have 2 inc files on usa one is with my mods and the other is the original. i changed the original to USA2 and kept the inc file with my mod as regular USA. is this allowed? when i start up the game, it says theres a error in scenarios and so if this is just one thing to cross off my possible reasons list for the error.
 

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
lifeless said:
can you have 2 inc file on the same country? i have 2 inc files on usa one is with my mods and the other is the original. i changed the original to USA2 and kept the inc file with my mod as regular USA. is this allowed? when i start up the game, it says theres a error in scenarios and so if this is just one thing to cross off my possible reasons list for the error.

the error will be in your new USA inc file. Most probably a grammatical error or a missing bracket. If you can't find it, post it and we will see if we can fix it.

Ayeshteni
 

unmerged(47162)

Missing my avatar
Aug 4, 2005
7.251
20
well now the message is more clearer. its says theres an illegal top level object 'current_size=10' Line 65 in the usa file. the problem is, i cant find a problem...this is the first 100 lines or so..

Code:
# Pearl Harbor
province = {
	id = 663
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}
#Clark and Bataan
province = {
	id = 1739
	anti_air = 4
	air_base = {
		size = 5
		current_size = 5
		}
	Naval_base = {
		size = 2
		current_size = 2
		}
}

province = {
	id = 733
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
}

#San Diego
province = {
	id = 761
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

# San Fransisco
province = {
	id = 765
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

}
# Norfolk
province = {
	id = 633
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

#Wash DC
province = {
	id = 606
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}


}
# Chicago
province = {
	id = 620
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
}

#Miami
province = {
	id = 651
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

# Corpus Christi
Province = {
	id = 748
	anti_air = 1
	air_base = {
		size = 6
		current_size = 6
		}
	Naval_base = {
		size = 8
		current_size = 8
		}
}

# Anchoredge
Province = {
	id = 549
	anti_air = 1
	air_base = {
		size = 4
		current_size = 4
		}
	Naval_base = {
		size = 4
		current_size = 4
		}
}

#Seattle
Province = {
	id = 780
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}
 

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
lifeless said:
well now the message is more clearer. its says theres an illegal top level object 'current_size=10' Line 65 in the usa file. the problem is, i cant find a problem...this is the first 100 lines or so..

Code:
# Pearl Harbor
province = {
	id = 663
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}
#Clark and Bataan
province = {
	id = 1739
	anti_air = 4
	air_base = {
		size = 5
		current_size = 5
		}
	Naval_base = {
		size = 2
		current_size = 2
		}
}

province = {
	id = 733
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
}

#San Diego
province = {
	id = 761
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

# San Fransisco
province = {
	id = 765
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

[COLOR=Red]}[/COLOR]
# Norfolk
province = {
	id = 633
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

#Wash DC
province = {
	id = 606
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}


[COLOR=Red]}[/COLOR]
# Chicago
province = {
	id = 620
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
}

#Miami
province = {
	id = 651
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

# Corpus Christi
Province = {
	id = 748
	anti_air = 1
	air_base = {
		size = 6
		current_size = 6
		}
	Naval_base = {
		size = 8
		current_size = 8
		}
}

# Anchoredge
Province = {
	id = 549
	anti_air = 1
	air_base = {
		size = 4
		current_size = 4
		}
	Naval_base = {
		size = 4
		current_size = 4
		}
}

#Seattle
Province = {
	id = 780
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

you have extra brackets (highlighted in red) delete them.

Ayeshteni
 

unmerged(53876)

Recruit
Feb 12, 2006
4
0
I have a similar problem I think, I was editing the provinces.csv-file to start out with some more Factories when playing as sweden and (messed with province 101), when I tried to load the campaign 1936 the game said "(illegal province ID 0) 'ownedprovinces = { Line 42 file = scenarios/1936/cyn_36.inc --- what would you like to do? *Abort* *Try Again* *Ignore*" and no mather what I press the game just crashes, I haven't even touched that file before so I don't understand why that one would be a fuzz, changing the line doesn't work, removing the bracket just freezes the loading-screen, I reverted the scenario-file back to when the game used to work but still nothing. :confused: :mad:

here's the first 65 or something lines of it (line 42 is the one before "controlledprovinces ="):

Code:
country = {
	tag = CYN
	regular_id = CHI
	intrinsic_gov_type = paternal_autocrat

	policy = {
		date = { year = 0 month = january day = 0 }
		democratic = 3
		political_left = 4
		freedom = 3
		free_market = 3
		professional_army = 1
		defense_lobby = 5
		interventionism = 1
	}

	diplomacy = {
relation = { tag = CHI value = 200 }
relation = { tag = CSX value = 200 }
relation = { tag = CXB value = 200 }
relation = { tag = CGX value = 200 }
relation = { tag = JAP value = -75 }
relation = { tag = MAN value = -75 }
relation = { tag = MEN value = -75 }
	}

	# Resource Reserves
	energy		= 200
	metal		= 200
	rare_materials 	= 100
	oil 		= 100
	supplies 	= 100
	money		= 50

	capital = 1307 # Kunming
	manpower = 200
	dissent = 25

	ownedprovinces =     {
		1293 1294 1305 1307 1308 1327 1362 # Yunnan
		1281 1282 # Xikang

	}
	controlledprovinces = {
		1293 1294 1305 1307 1308 1327 1362 # Yunnan
		1281 1282 # Xikang
	}
	nationalprovinces =   {
		1293 1294 1305 1307 1308 1327 1362 # Yunnan
		1281 1282 # Xikang
	}

	# ROTW Minor Tech '36
	techapps = {
# Group E 1936 techs
#######################

4010 # GW fighter

2150 # Basic Armoured Car

2290 # GW light artillery

1010 # GW infantry

1190 # GW Cavalry
	}
 

AlenlorDRot

First Lieutenant
13 Badges
Nov 5, 2004
232
0
  • Crusader Kings II
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III
  • Heir to the Throne
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Victoria 2
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Pride of Nations
  • Mount & Blade: Warband
Looking at the .eug file for the 1936 scenario the cyn.inc is the first of the country .inc files to be loaded.

My guess is that the province.csv file was corrupted but it isn't showing up until the game tries to load the cyn.inc file.

If you have a backup of the original province.csv, try it out.
 

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
AlenlorDRot said:
Looking at the .eug file for the 1936 scenario the cyn.inc is the first of the country .inc files to be loaded.

My guess is that the province.csv file was corrupted but it isn't showing up until the game tries to load the cyn.inc file.

If you have a backup of the original province.csv, try it out.

indeed. there is nothing wrong with the inc file you have shown. It is likely that you may have deleted one of the semi-colons in the province.csv file or inserted a number in a wrong place. I am assuming you opened the province.csv with a text editor (like Notepad?), making alterations to the csv files using excel can usually throw up a lot of errors, always use a text editor.

My suggestion would be the same as AlenlorDRot; replace the province.csv with the original (you did make a back-up before editting it right?) and try again.

Ayeshteni
 
Feb 10, 2005
857
0
www.bitterglory.com
Ayeshteni said:
making alterations to the csv files using excel can usually throw up a lot of errors, always use a text editor.

You can edit .csv files via excel without any problems if you first open excel and then .csv file using 'open file' command.

If you just double click on the .csv file then you can make errors.
 

unmerged(47162)

Missing my avatar
Aug 4, 2005
7.251
20
ach! theres still a problem only this time its more vague...in scenarios 1936...well its either the usa file which doesnt have a problem(i think) canada(also think) or the country. only i cant find a problem. but then again i dont know what would present itself as a problem so heres a code....thanks for your time...

Code:
province = {
	id = 581 #St John
	anti_air = 2
	air_base = {
		size = 6
		current_size = 6
		}

	naval_base = {
		size = 4
		current_size = 4
		}
	}

# Boston
province = {
	id = 600
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

# New York
province = {
	id = 602
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}
country = {
    tag = U01
	# Resource Reserves
	energy	=	1000   metal	= 1000		rare_materials =	500	oil =	500	supplies =	500
	money = 100

	manpower = 40

	transports = 60
	escorts = 3

	policy = {
        date = { year = 0 month = january day = 0 }
        democratic = 10
        political_left = 6
        freedom = 10
        free_market = 10
        professional_army = 1
        defense_lobby = 1
        interventionism = 1
    }

        capital=600
    ownedprovinces =      {
              578 579 580 581 582 583 584 592 593 594 595 596 597 598 599 600 601 602 1909
}
controlledprovinces =      {
              578 579 580 581 582 583 584 592 593 594 595 596 597 598 599 600 601 602 1909
}
nationalprovinces =      {
              578 579 580 581 582 583 584 592 593 594 595 596 597 598 599 600 601 602 1909
}

diplomacy = {
relation = { tag = USA value = 35}
relation = { tag = UK value = 125}
relation = { tag = France value = 85}
relation = { tag = CAN = 50}



	techapps = {
# NE 1936 techs
#######################

4010 4020 # Early fighter

4120 4130 # Early Bomber

4250 4260 # Improved Air Transport

4190 # Basic Naval Bomber

4220 # Strat Bomber

2150 # Basic Armoured Car

2010 # Early tank

2290 2300 2310 # GW artillery

2450 2460 # Early Static AA

2510 # Basic AA

1010  # Early infantry

1190 1200 # Early Cavalry

1310 # Rear Area Supply Dumps (allows for SR)

5010 5020 # Agriculture
5050 5060 # Improved Machine Tools
5080 5090 #  Construction Engineering
5310 5320 # Basic CT machine
5470 5480 # Nukes labs

9010 9020 9030 9140 # Force Sub/Strategic doctrine (air)

6010 6020 # Superior firepower (land)

airunit = {
	location = 602
	base = 602
        id = { type = 14800 id = 23 }
	name = "NE Army Airforce"

			division = {
			id = { type = 14800 id = 24 }
			name = "9th USAAF Fighter Wing"
			type = interceptor
			model = 1
			}
                        }
     
			division = {
			id = { type = 14800 id = 25 }
			name = "2nd USAAF Tactical Bomb. Wing"
			type = tactical_bomber
			model = 
			}
			}
 

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
lifeless said:
ach! theres still a problem only this time its more vague...in scenarios 1936...well its either the usa file which doesnt have a problem(i think) canada(also think) or the country. only i cant find a problem. but then again i dont know what would present itself as a problem so heres a code....thanks for your time...

Code:
province = {
	id = 581 #St John
	anti_air = 2
	air_base = {
		size = 6
		current_size = 6
		}

	naval_base = {
		size = 4
		current_size = 4
		}
	}

# Boston
province = {
	id = 600
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}

# New York
province = {
	id = 602
	anti_air = 1
	air_base = {
		size = 10
		current_size = 10
		}
	Naval_base = {
		size = 10
		current_size = 10
		}
}
country = {
    tag = U01
	# Resource Reserves
	energy	=	1000   metal	= 1000		rare_materials =	500	oil =	500	supplies =	500
	money = 100

	manpower = 40

	transports = 60
	escorts = 3

	policy = {
        date = { year = 0 month = january day = 0 }
        democratic = 10
        political_left = 6
        freedom = 10
        free_market = 10
        professional_army = 1
        defense_lobby = 1
        interventionism = 1
    }

        capital=600
    ownedprovinces =      {
              578 579 580 581 582 583 584 592 593 594 595 596 597 598 599 600 601 602 1909
}
controlledprovinces =      {
              578 579 580 581 582 583 584 592 593 594 595 596 597 598 599 600 601 602 1909
}
nationalprovinces =      {
              578 579 580 581 582 583 584 592 593 594 595 596 597 598 599 600 601 602 1909
}

diplomacy = {
relation = { tag = USA value = 35}
relation = { tag = UK value = 125}
relation = { tag = France value = 85}
relation = { tag = CAN = 50}
[COLOR=Lime]}[/COLOR]


	techapps = {
# NE 1936 techs
#######################

4010 4020 # Early fighter

4120 4130 # Early Bomber

4250 4260 # Improved Air Transport

4190 # Basic Naval Bomber

4220 # Strat Bomber

2150 # Basic Armoured Car

2010 # Early tank

2290 2300 2310 # GW artillery

2450 2460 # Early Static AA

2510 # Basic AA

1010  # Early infantry

1190 1200 # Early Cavalry

1310 # Rear Area Supply Dumps (allows for SR)

5010 5020 # Agriculture
5050 5060 # Improved Machine Tools
5080 5090 #  Construction Engineering
5310 5320 # Basic CT machine
5470 5480 # Nukes labs

9010 9020 9030 9140 # Force Sub/Strategic doctrine (air)

6010 6020 # Superior firepower (land)

airunit = {
	location = 602
	base = 602
        id = { type = 14800 id = 23 }
	name = "NE Army Airforce"

			division = {
			id = { type = 14800 id = 24 }
			name = "9th USAAF Fighter Wing"
			type = interceptor
			model = 1
			}
                        [COLOR=Red]}[/COLOR]
     
			division = {
			id = { type = 14800 id = 25 }
			name = "2nd USAAF Tactical Bomb. Wing"
			type = tactical_bomber
			model = 
			}
			}

You need a bracket to close the diplomacy section (highlighted in green). You also need to remove a bracket in the air units section (highlighted in red)

Ayeshteni
 

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
lifeless said:
oh thanks. so you need a bracket after everything or two brackets depending on what it is. thanks :)

each set of brackets have to placed, for example...

airunit = {
location = 602
base = 602
id = { type = 14800 id = 23 }
name = "NE Army Airforce"

division = {
id = { type = 14800 id = 24 }
name = "9th USAAF Fighter Wing"
type = interceptor
model = 1
}

division = {
id = { type = 14800 id = 25 }
name = "2nd USAAF Tactical Bomb. Wing"
type = tactical_bomber
model =
}
}

each set is coloured the same. The two brackets at the end (pink and lime) close the division (2nd USAAF Tac Bomb. Wing) and the Air unit it is part of (NE Army Airforce). That was why you were getting an error (you had two closing brackets after 9th USAAF Fighter Wing (closing the division AND the Airforce it was part of.

Ayeshteni