• 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.
Feb 16, 2008
245
0
I changed the screen-ship torpedoes to a CVL cag but it says theres an unknown type in line 23. i marked line 23 btw:


Code:
# 0 - Early light Carrier Air Group (36)
model = {
	cost 				= 1.5
	buildtime			= 140
	manpower 			= 0.1
	surfacedetectioncapability	= 8
	airdetectioncapability		= 4
	subdetectioncapability		= 2
	airdefence			= 4
	seaattack			= 1
	convoyattack			= 2
	subattack			= 2
	airattack			= 4
	shorebombardment		= 2
	distance			= 1.2
	supplyconsumption 		= 0.2
	fuelconsumption			= 0.6
	upgrade_time_factor = 0.4
	upgrade_cost_factor = 0.8

# 1- Basic light Carrier Air Group (39)   [B]line 23 is below this line[/B]
model = {
	cost 				= 2
	buildtime			= 140
	manpower 			= 0.1
	surfacedetectioncapability	= 11
	airdetectioncapability		= 5
	subdetectioncapability		= 7
	airdefence			= 5
	seaattack			= 2
	convoyattack		        = 3
	subattack			= 4
	airattack			= 6
	shorebombardment		= 3
	distance			= 1.6
	supplyconsumption 		= 0.3
	fuelconsumption			= 0.5
	upgrade_time_factor 		= 0.5
	upgrade_cost_factor 		= 1.0
}
also a little sneek peek at my new brigade ;)
 

Montcalm

Second Lieutenant
93 Badges
Mar 3, 2001
196
57
  • Hearts of Iron II: Armageddon
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Hearts of Iron Anthology
  • Crusader Kings II
  • Europa Universalis IV: Cossacks
  • Europa Universalis III: Collection
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Tyranny: Archon Edition
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Dharma
  • Europa Universalis IV
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Digital Anniversary Edition
  • Imperator: Rome Deluxe Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Death or Dishonor
  • 500k Club
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Golden Century
  • Victoria 2
  • Warlock: Master of the Arcane
  • Age of Wonders III
You've forgotten a } to close your 0 model. So it doesn't understand why you open a new model before closing the first one.

It should work if you write :

Mr._Blitzkrieg said:
Code:
# 0 - Early light Carrier Air Group (36)
model = {
	cost 				= 1.5
	buildtime			= 140
	manpower 			= 0.1
	surfacedetectioncapability	= 8
	airdetectioncapability		= 4
	subdetectioncapability		= 2
	airdefence			= 4
	seaattack			= 1
	convoyattack			= 2
	subattack			= 2
	airattack			= 4
	shorebombardment		= 2
	distance			= 1.2
	supplyconsumption 		= 0.2
	fuelconsumption			= 0.6
	upgrade_time_factor = 0.4
	upgrade_cost_factor = 0.8
[B]}[/B] # here is the forgotten line
# 1- Basic light Carrier Air Group (39)   [B]line 23 is below this line[/B]
model = {
	cost 				= 2
	buildtime			= 140
	manpower 			= 0.1
	surfacedetectioncapability	= 11
	airdetectioncapability		= 5
	subdetectioncapability		= 7
	airdefence			= 5
	seaattack			= 2
	convoyattack		        = 3
	subattack			= 4
	airattack			= 6
	shorebombardment		= 3
	distance			= 1.6
	supplyconsumption 		= 0.3
	fuelconsumption			= 0.5
	upgrade_time_factor 		= 0.5
	upgrade_cost_factor 		= 1.0
}