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

Cyan001

Corporal
52 Badges
Nov 11, 2008
39
1
  • Cities in Motion
  • Sword of the Stars
  • Semper Fi
  • Europa Universalis: Rome
  • Magicka
  • Leviathan: Warships
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Arsenal of Democracy
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Europa Universalis III: Chronicles
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Stellaris: Ancient Relics
  • Island Bound
  • BATTLETECH: Season pass
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • 500k Club
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
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.
 
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: (...)

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.

You might look at this very instructive post from Mjarr:
http://forum.paradoxplaza.com/forum/showpost.php?p=11236329&postcount=2
 
Only things required for new brigade models are basically adding correct stringlines in boostertext.csv. Basically just find (ctrl + f and notepad are your friends)

BRIG_MODEL_35_0;Basic Assault Gun;[holywalloflanguages]
BRIG_MODEL_35_1;Improved Assault Gun;[holywalloflanguages]
BRIG_MODEL_35_2;Advanced Assault Gun;[holywalloflanguages]

Add the following under them:

BRIG_MODEL_35_3;Heavy Assault Gun;;;;;;;;;;X

If you want to have it for additional languages the order is english, french, italian, spanish, german, polish, portuguese, russian and two which are apparently unused. Each language is separated by ;

For a 5th model it would be BRIG_MODEL_35_4

I should seriously consider making a tutorial how to add new brigades or such and hope it gets stickied :p
 
In gfx\interface\models you'll find all photos used for models. Basically all you need to do is to find the corresponding file and simply add following one for each nation or simply generic one to get started.

I believe with assault guns you should need to E.G. add ill_bri_35_3.bmp. I can't remember the exact filesize as I tend to use that yellow outline as template before adding a picture, in which 186x98 is accurate (that the pic + outline are perfectly in sync, so to speak). For unique one for diffrent countries it would be ill_bri_[country name here]_35_3.bmp and to make it more clear, for Canada it would be ill_bri_can_35_3.bmp. If you want to add photos for earlier models, it's the same but just change the last number so that ill_bri_can_35_0 for 1st model, 35_1 for 2nd etc.

The yellow outline template added as attachment. Only word of caution is thta it may take several tries to get the dimensions right so it doesn't look streched, as simply resizing rarely gives good results. Once you get that right it's only a matter of positioning it correctly, which isn't that difficult even with MSpaint :p
 

Attachments

  • Pohja.bmp
    Pohja.bmp
    58,6 KB · Views: 35
I should seriously consider making a tutorial how to add new brigades or such and hope it gets stickied :p

+1

Since you already have done most of the work for such a tutorial, you should simply do it. :) I could also envision some small tutorials showing how to add new techs/leaders/minister/etc. If you don't have to search for them and instead can find all tutorials in one place, that would be fine. :cool: