Hello,
I am trying to add another level of Assault Guns to make these more investment worthy in the long run. Here are the changes I have made so far:
# Advanced Tank Destroyer
application =
{ id = 2200
name = TECH_APP_ARMOR_20_NAME
desc = TECH_APP_ARMOR_20_DESC
position = { x = 160 y = 87 }
year = 1943
# Anti-Tank Gun 105mm
component = { id = 2201 name = TECH_CMP_ARMOR_20_1_NAME type = artillery difficulty = 4 }
# Basic Medium Tank Chassis
component = { id = 2202 name = TECH_CMP_ARMOR_20_2_NAME type = mechanics difficulty = 4 }
# Sabot Shell HEAT Ammo
component = { id = 2203 name = TECH_CMP_ARMOR_20_3_NAME type = chemistry difficulty = 4 }
# Advanced Optical Sights
component = { id = 2204 name = TECH_CMP_ARMOR_20_4_NAME type = electronics difficulty = 4 }
# Advanced Tank Destroyer Prototype Tests
component = { id = 2205 name = TECH_CMP_ARMOR_20_5_NAME type = technical_efficiency difficulty = 4 }
required = { 2070 2430 2190 }
effects =
{ command = { type = new_model which = tank_destroyer value = 3 }
command = { type = scrap_model which = tank_destroyer value = 2 }
command = { type = new_model which = b_u5 value = 3 }
command = { type = scrap_model which = b_u5 value = 2 }
}
}
land_unit_type = 1
# 0 - Basic Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 1
toughness = 2
softness = -10
softattack = 2
hardattack = 1
supplyconsumption = 0.3
fuelconsumption = 0.4
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
# 1 - Improved Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 2
toughness = 3
softness = -11
softattack = 2
hardattack = 2
supplyconsumption = 0.35
fuelconsumption = 0.4
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
# 2 - Advanced Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 3
toughness = 4
softness = -14
softattack = 3
hardattack = 3
supplyconsumption = 0.4
fuelconsumption = 0.4
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
# 3 - Heavy Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 4
toughness = 5
softness = -18
softattack = 4
hardattack = 3
supplyconsumption = 0.45
fuelconsumption = 0.45
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
Now, the problem: In the techtree I get UNKNOWN STRING WANTED message for the year 1943, where I intended the new 'Heavy Assault Gun' to appear. I figure I need to insert the name of the new unit somewhere, but I have no idea where.
Also, is it possible to add/change own pictures to new/existing units? I would like to put some picture of the Assault Gun instead of just the 'AG' label.
I am trying to add another level of Assault Guns to make these more investment worthy in the long run. Here are the changes I have made so far:
# Advanced Tank Destroyer
application =
{ id = 2200
name = TECH_APP_ARMOR_20_NAME
desc = TECH_APP_ARMOR_20_DESC
position = { x = 160 y = 87 }
year = 1943
# Anti-Tank Gun 105mm
component = { id = 2201 name = TECH_CMP_ARMOR_20_1_NAME type = artillery difficulty = 4 }
# Basic Medium Tank Chassis
component = { id = 2202 name = TECH_CMP_ARMOR_20_2_NAME type = mechanics difficulty = 4 }
# Sabot Shell HEAT Ammo
component = { id = 2203 name = TECH_CMP_ARMOR_20_3_NAME type = chemistry difficulty = 4 }
# Advanced Optical Sights
component = { id = 2204 name = TECH_CMP_ARMOR_20_4_NAME type = electronics difficulty = 4 }
# Advanced Tank Destroyer Prototype Tests
component = { id = 2205 name = TECH_CMP_ARMOR_20_5_NAME type = technical_efficiency difficulty = 4 }
required = { 2070 2430 2190 }
effects =
{ command = { type = new_model which = tank_destroyer value = 3 }
command = { type = scrap_model which = tank_destroyer value = 2 }
command = { type = new_model which = b_u5 value = 3 }
command = { type = scrap_model which = b_u5 value = 2 }
}
}
land_unit_type = 1
# 0 - Basic Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 1
toughness = 2
softness = -10
softattack = 2
hardattack = 1
supplyconsumption = 0.3
fuelconsumption = 0.4
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
# 1 - Improved Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 2
toughness = 3
softness = -11
softattack = 2
hardattack = 2
supplyconsumption = 0.35
fuelconsumption = 0.4
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
# 2 - Advanced Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 3
toughness = 4
softness = -14
softattack = 3
hardattack = 3
supplyconsumption = 0.4
fuelconsumption = 0.4
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
# 3 - Heavy Assault Gun
model = {
cost = 6
buildtime = 70
manpower = 2
defensiveness = 4
toughness = 5
softness = -18
softattack = 4
hardattack = 3
supplyconsumption = 0.45
fuelconsumption = 0.45
upgrade_time_factor = 0.6
upgrade_cost_factor = 1.2
}
Now, the problem: In the techtree I get UNKNOWN STRING WANTED message for the year 1943, where I intended the new 'Heavy Assault Gun' to appear. I figure I need to insert the name of the new unit somewhere, but I have no idea where.
Also, is it possible to add/change own pictures to new/existing units? I would like to put some picture of the Assault Gun instead of just the 'AG' label.