The techchanges are ranther extensive but I can show some of it.
application = { # Great War Tank
id = 2006
name = "Great War Tank"
desc = "Tanks were first used in World War One to break the stalemate of the trenches. Most were armed with either machine guns or cannon. In some examples, both cannon and machine guns were fitted. Historically, this was the British Mark V tank."
required = { 2005 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = armor when = now value = 1 }
command = { type = supply_consumption which = armor when = now value = 0.1 }
command = { type = fuel_consumption which = armor when = now value = 0.1 }
}
}
application = { # Tankette (.50 MG)
id = 2988
name = "Tankette (.50 MG)"
desc = "This tankette was armed with a single .50 caliber Machine Gun. Historically, this was the British Carden-Loyd Mark VI an polish TK/TKS.Since their inability to survive on the battlefield, tankettes often were used as a scout vehicles."
required = { 2986 14973 }
chance = 90
cost = 6
time = 60
neg_offset = 15
pos_offset = 30
effects = {
command = { type = army_detection which = us value = 2 }
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = now value = 0.1 }
#command = { type = fuel_consumption which = armor when = now value = 0.1 }
command = { type = deactivate which = 2987 }
}
}
application = { # Inf Support Tank battalion
id = 2993
name = "Inf Support Tank battalion"
desc = "Infantry support tanks were based around the Great War concept of the land battleship, advancing with infantry and brakeing defences thanks to multiple turrets containing cannons or machine guns. Historically, this was the British Vickers A1E1 Independent. Battalions of those were usually added to the units assaulting heavy fortified enemy positions."
required = { 2985 14105 }
chance = 90
cost = 6
time = 60
neg_offset = 15
pos_offset = 30
effects = {
#command = { type = new_model which = armor value = 4 }
command = { type = soft_attack which = infantry when = on_upgrade value = 1 } # new
command = { type = ground_defense which = infantry when = on_upgrade value = 1 } # new
command = { type = build_time which = infantry when = on_upgrade value = 10 } # new
command = { type = build_cost which = infantry when = on_upgrade value = 1 } # new
command = { type = supply_consumption which = infantry when = on_upgrade value = 0.1 } # new
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
}
}
application = { # Basic Halftrack Troop Carrier
id = 2102
name = TECH_APP_ARMOR_2_2_NAME
desc = TECH_APP_ARMOR_2_2_DESC
required = { 2004 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = speed which = mechanized when = now value = 1 }
command = { type = soft_attack which = mechanized when = now value = 1 }
command = { type = ground_defense which = mechanized when = now value = 1 }
command = { type = speed which = armor when = on_upgrade value = 1 }
command = { type = ground_defense which = armor when = on_upgrade value = 1 }
}
}
application = { # Basic Tank Divison
id = 2104
name = "Basic Tank Divison"
desc = "German 'Wehrmacht' was the first Armed Forced to Deploy Armored Units in a 'Panzerdivison'. They consited of 1 Tank regiment 3 motorized Infantry regiments and supportunits."
required = { 2103 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = new_model which = armor value = 5 }
}
}
application = { # Basic Light Tank (20+mm)
id = 2105
name = TECH_APP_ARMOR_2_5_NAME
desc = TECH_APP_ARMOR_2_5_DESC
required = { 2103 14010 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
#command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
# command = { type = deactivate which = 2105 }
command = { type = deactivate which = 2106 }
command = { type = deactivate which = 2107 }
}
}
application = { # Basic Light Tank (30+mm)
id = 2106
name = TECH_APP_ARMOR_2_6_NAME
desc = TECH_APP_ARMOR_2_6_DESC
required = { 2103 14011 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 1 }
command = { type = deactivate which = 2105 }
command = { type = deactivate which = 2107 }
}
}
application = { # Basic Light Tank (40+mm)
id = 2107
name = TECH_APP_ARMOR_2_7_NAME
desc = TECH_APP_ARMOR_2_7_DESC
required = { 2103 14105 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 2 }
command = { type = deactivate which = 2105 }
command = { type = deactivate which = 2106 }
}
}
application = { # Light Assault Gun (30+mm)
id = 2305
name = TECH_APP_ARMOR_4_5_NAME
desc = TECH_APP_ARMOR_4_5_DESC
required = { 2103 14003 11203 } # add Combined Arms Warfare Doctrine
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = mechanized when = on_upgrade value = 1 }
command = { type = soft_attack which = motorized when = on_upgrade value = 1 }
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
#command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
#command = { type = hard_attack which = armor when = on_upgrade value = 1 }
command = { type = ground_defense which = armor when = on_upgrade value = 1 }
}
}
application = { # Light Tank Destroyer (30+mm)
id = 2307
name = TECH_APP_ARMOR_4_7_NAME
desc = TECH_APP_ARMOR_4_7_DESC
required = { 2103 14008 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = hard_attack which = motorized when = on_upgrade value = 1 }
command = { type = hard_attack which = mechanized when = on_upgrade value = 1 }
command = { type = hard_attack which = anti_tank when = on_upgrade value = 1 }
#command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
#command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 1 }
#command = { type = ground_defense which = armor when = on_upgrade value = 1 }
}
}
application = { # Light Tank Destroyer (40+mm)
id = 2308
name = TECH_APP_ARMOR_4_8_NAME
desc = TECH_APP_ARMOR_4_8_DESC
required = { 2307 14009 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = hard_attack which = motorized when = on_upgrade value = 1 }
command = { type = hard_attack which = mechanized when = on_upgrade value = 1 }
command = { type = hard_attack which = anti_tank when = on_upgrade value = 1 }
#command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
#command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 1 }
#command = { type = ground_defense which = armor when = on_upgrade value = 1 }
}
}
application = { # Basic Medium Tank (MG)
id = 2315
name = "Basic Tank Divison (+TR)"
desc = "Tank Divison were deployed in various sizes, the US had double the amount of Tanks in thier Divisons."
required = { 2314 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = new_model which = armor value = 19 }
# command = { type = deactivate which = 2316 }
# command = { type = deactivate which = 2317 }
# command = { type = deactivate which = 2318 }
# command = { type = deactivate which = 2319 }
}
}
application = { # Basic Medium Tank (30+mm)
id = 2316
name = TECH_APP_ARMOR_4_16_NAME
desc = TECH_APP_ARMOR_4_16_DESC
required = { 2314 14011 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
#command = { type = new_model which = armor value = 17 }
#command = { type = deactivate which = 2315 }
command = { type = deactivate which = 2317 }
command = { type = deactivate which = 2318 }
command = { type = deactivate which = 2319 }
#command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
#command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 1 }
command = { type = ground_defense which = armor when = on_upgrade value = 1 }
}
}
application = { # Basic Medium Tank (40+mm)
id = 2317
name = TECH_APP_ARMOR_4_17_NAME
desc = TECH_APP_ARMOR_4_17_DESC
required = { 2314 14105 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
#command = { type = new_model which = armor value = 18 }
#command = { type = deactivate which = 2315 }
command = { type = deactivate which = 2316 }
command = { type = deactivate which = 2318 }
command = { type = deactivate which = 2319 }
#command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
#command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 3 }
command = { type = ground_defense which = armor when = on_upgrade value = 1 }
}
}
application = { # Basic Medium Tank (50+mm)
id = 2318
name = TECH_APP_ARMOR_4_18_NAME
desc = TECH_APP_ARMOR_4_18_DESC
required = { 2314 14206 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
#command = { type = new_model which = armor value = 19 }
#command = { type = deactivate which = 2315 }
command = { type = deactivate which = 2316 }
command = { type = deactivate which = 2317 }
command = { type = deactivate which = 2319 }
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 4 }
command = { type = ground_defense which = armor when = on_upgrade value = 1 }
}
}
I hope U get the idea how if should work.
Atm I only started to test it, but it looks promising.
application = { # Advanced Medium Tank (50+mm)
id = 2505
name = TECH_APP_ARMOR_6_5_NAME
desc = TECH_APP_ARMOR_6_5_DESC
required = { 2504 14206 4803 } # Quality Control added
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
#command = { type = new_model which = armor value = 26 }
command = { type = deactivate which = 2506 }
command = { type = deactivate which = 2611 }
command = { type = deactivate which = 2983 }
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 1 }
command = { type = ground_defense which = armor when = on_upgrade value = 3 }
command = { type = speed which = armor when = on_upgrade value = 1 }
command = { type = build_time which = armor when = on_upgrade value = 5 } # new
command = { type = build_cost which = armor when = on_upgrade value = 1 } # new
}
}
application = { # Advanced Medium Tank (70+mm)
id = 2983
name = "Advanced Medium Tank (70 M)"
desc = "The tank was a formidable component on the battlefield due to its protection and speed. It could be found alongside infantry, used in conjunction with other mechanized equipment or combined into a tank unit depending on the doctrine by which it was employed. The Advanced Medium Tank (70mm+ M)."
required = { 2504 14976 4803 } # Quality Control added
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
#command = { type = new_model which = armor value = 27 }
command = { type = deactivate which = 2505 }
command = { type = deactivate which = 2611 }
command = { type = deactivate which = 2506 }
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 }
command = { type = hard_attack which = armor when = on_upgrade value = 2 }
command = { type = ground_defense which = armor when = on_upgrade value = 3 }
command = { type = speed which = armor when = on_upgrade value = 1 }
command = { type = build_time which = armor when = on_upgrade value = 5 } # new
command = { type = build_cost which = armor when = on_upgrade value = 1 } # new
}
}
application = { # Advanced Medium Tank (70+mm)
id = 2506
name = "Advanced Medium Tank (70 L)"
desc = "The tank was a formidable component on the battlefield due to its protection and speed. It could be found alongside infantry, used in conjunction with other mechanized equipment or combined into a tank unit depending on the doctrine by which it was employed. The Advanced Medium Tank (70mm+ L) was equipped with a long barreled 70+mm Tank Gun allowing it to defeat soft and medium armoured targets. Historically this was the German PzKpfw V Panther, and the British Comet."
required = { 2504 14977 4803 11407 } # Quality Control added
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
#command = { type = new_model which = armor value = 28 }
command = { type = deactivate which = 2505 }
command = { type = deactivate which = 2611 }
command = { type = deactivate which = 2983 }
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.2 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.2 }
command = { type = hard_attack which = armor when = on_upgrade value = 5 }
command = { type = ground_defense which = armor when = on_upgrade value = 3 }
command = { type = speed which = armor when = on_upgrade value = 1 }
command = { type = build_time which = armor when = on_upgrade value = 5 } # new
command = { type = build_cost which = armor when = on_upgrade value = 2 } # new
}
}
application = { # Advanced Medium Tank (80+mm)
id = 2611
name = TECH_APP_ARMOR_7_11_NAME
desc = TECH_APP_ARMOR_7_11_DESC
required = { 2504 14503 4803 11407 } # Quality Control added
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
#command = { type = new_model which = armor value = 29 }
command = { type = deactivate which = 2505 }
command = { type = deactivate which = 2506 }
command = { type = deactivate which = 2983 }
command = { type = soft_attack which = armor when = on_upgrade value = 3 }
command = { type = supply_consumption which = armor when = on_upgrade value = 0.2 }
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.2 }
command = { type = hard_attack which = armor when = on_upgrade value = 4 }
command = { type = ground_defense which = armor when = on_upgrade value = 3 }
command = { type = speed which = armor when = on_upgrade value = 1 }
command = { type = build_time which = armor when = on_upgrade value = 5 } # new
command = { type = build_cost which = armor when = on_upgrade value = 2 } # new
# note: the german 75L70(Phanther gun) had a higher armor penetration as the 88L56 (tigerI gun)
}
}
application = { # Advanced Heavy Tank Prototype Tests
id = 2804
name = TECH_APP_ARMOR_9_4_NAME
desc = TECH_APP_ARMOR_9_4_DESC
required = { 2601 2602 2603 2704 }
chance = 90
cost = 12
time = 150
neg_offset = 30
pos_offset = 60
effects = {
command = { }
}
}
application = { # Advanced Heavy Tank Battalion
id = 2805
name = "Adv Heavy Tank Battalion"
desc = TECH_APP_ARMOR_9_5_DESC
required = { 2804 2705 14503 4803 } # Imp HT Batt added, Quality Control added
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = armor when = on_upgrade value = 1 } # new
command = { type = hard_attack which = armor when = on_upgrade value = 2 } # new
command = { type = ground_defense which = armor when = on_upgrade value = 2 } # new
command = { type = build_time which = armor when = on_upgrade value = 5 } # new
command = { type = build_cost which = armor when = on_upgrade value = 1 } # new
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 } # new
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 } # new
}
}
application = { # Heavy Assault Gun (100+mm)
id = 2607
name = TECH_APP_ARMOR_7_7_NAME
desc = TECH_APP_ARMOR_7_7_DESC
required = { 2306 2804 14102 4803 } # Quality Control added
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = motorized when = on_upgrade value = 1 }
command = { type = soft_attack which = mechanized when = on_upgrade value = 1 }
command = { type = soft_attack which = armor when = on_upgrade value = 1 }
#command = { type = supply_consumption which = armor when = now value = 0.1 }
#command = { type = fuel_consumption which = armor when = now value = 0.1 }
#command = { type = hard_attack which = armor when = on_upgrade value = 1 }
#command = { type = ground_defense which = armor when = on_upgrade value = 3 }
#command = { type = speed which = armor when = on_upgrade value = 1 }
}
}
application = { # Super-Heavy Tank (100+mm)
id = 2942
name = "Super Heavy Tank Battalion"
desc = TECH_APP_ARMOR_9_5_DESC
required = { 2805 2941 14803 }
chance = 90
cost = 8
time = 90
neg_offset = 20
pos_offset = 40
effects = {
command = { type = soft_attack which = armor when = on_upgrade value = 3 } # new
command = { type = hard_attack which = armor when = on_upgrade value = 4 } # new
command = { type = ground_defense which = armor when = on_upgrade value = 3 } # new
command = { type = build_time which = armor when = on_upgrade value = 5 } # new
command = { type = build_cost which = armor when = on_upgrade value = 2 } # new
command = { type = fuel_consumption which = armor when = on_upgrade value = 0.1 } # new
command = { type = supply_consumption which = armor when = on_upgrade value = 0.1 } # new
}
}
In general: every light and medium tank researched gives bonuses acording to the tankgun used. Once the pick is made U stick with it. Choose if U want cheaper divisons or more powerfull and so on.
Took me 8 hours to mod it, its no way perfect and I am open for suggestions. I also cant change the text 'tanktype xxx' that shows in buildscreen, if anyone knows where to change it pls let me know.
thx, and feel free to post your thoughts on it.
Szun
P.S. I thought about adding 'Extra Motorized Regiment' and 'extra Mech Regiment' with bonuses to softattack and grounddefense at a cost to manpower and IC. But until now I didnt add it and I dont know if I should. Let me know what U think.
P.S.S I noticed I must add the lower Divison as prereq for the next so tanks cant be down-upgraded etc...its on my todolist
