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

FingalOlsson

Sergeant
52 Badges
Jan 25, 2006
77
0
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Conclave
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Call to arms event
  • 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: Sword of Islam
  • Darkest Hour
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
So I'm trying to add a few units to the Kaiserreich scenario, however it's not going so well.

I get an error at startup saying ERROR: (Illegal top level object) 'landunit = { ' Line = 1165 file scenarios/kaiserreich/germany.inc

This is the landunit defined in the .inc file from line 1165 onwards:

Code:
landunit = {
	location = 376  ###  (München)
	name = "I. Königlich Bayerisches Armeekorps"
        id = { type = 14502 id = 88 }
		division = { 
		id = { type = 14502 id = 89 } 
		name = "1. Bayerische Infanterie-Division" 
		type = infantry
		model = 1 
		strength = 50
		extra = artillery
		}

		division = { 
		id = { type = 14502 id = 91 } 
		name = "2. Bayerische Infanterie-Division" 
		type = infantry
		model = 1 
		strength = 50
		}  
		
		division = { 
		id = { type = 14502 id = 151 } 
		name = "3. Königlich Bayerische Division" 
		type = infantry
		model = 1 
		strength = 50
		}  
 }

Any ideas about what's wrong? The landunit = { part seems to me to be the same as the rest of the landunits and in the rest of the (unmodded by me) .inc files.

Would be grateful for your help.