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