Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive
Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive
Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive
Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive
Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive
Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive
light_armor_default = { target_width = 19.9 width_weight = 0.1 column_swap_factor = 0.1 stat_weights = { <snip> } target_template = { weight = 0.9 support = { engineer = 1 recon = 1 artillery = 1 } regiments = { light_armor = 4 motorized = 5 infantry = 1 } } allowed_types = { <snip> } replace_at_match = 0.9 replace_with = medium_armor_default }The important bit here being
[COLOR=#ffff00]replace_at_match = 0.9
replace_with = medium_armor_default[/color]
This is an example from the light armor template, which will change to the medium armor template once it has a match of 90%.
Do note that the "entry point" of a template must follow the naming convention given (for example 'light_armor_default'), but after that it should work with any name at all, meaning those templates would not be picked by AI in any other way than through the scripted progression.
Useful links
Official Website
Europa Universalis IV Wiki
Europa Universalis IV Development Diary Archive
light_armor_default = { target_width = 19.9 width_weight = 0.1 column_swap_factor = 0.1 stat_weights = { <snip> } target_template = { weight = 0.9 support = { engineer = 1 recon = 1 artillery = 1 } regiments = { light_armor = 4 motorized = 5 infantry = 1 } } allowed_types = { <snip> } replace_at_match = 0.9 replace_with = medium_armor_default }The important bit here being
[COLOR=#ffff00]replace_at_match = 0.9
replace_with = medium_armor_default[/color]
This is an example from the light armor template, which will change to the medium armor template once it has a match of 90%.
Do note that the "entry point" of a template must follow the naming convention given (for example 'light_armor_default'), but after that it should work with any name at all, meaning those templates would not be picked by AI in any other way than through the scripted progression.
Useful links
Official Website
Europa Universalis IV Wiki
Europa Universalis IV Development Diary Archive
Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive
Useful links
Official Website
Hearts of Iron IV Wiki
Hearts of Iron IV Development Diary Archive