This guide describes the steps to make a mod compatible with patch 2.4.X from patch 2.3.6.[1]
Note that this does not replace the usual step of merging files, in case the mod modifies some vanilla files.
In case of issues, run the latest version of The Validator, and try activating debug launch options, which will now report failed asserts in log files.
The steps are:
In addition, it's possible to make use of these new folders by splitting into multiple files, see loading from folders.
attacking_same_religion_piety_loss = yes uses_decadence = yes uses_jizya_tax = yes
camel_cavalry_defensive = 0.8 war_elephants_defensive = 0.8
<religion>_FEATURES localization key to describe additional features that are detected automatically.graphical_culture and second_graphical_culture into a list:graphical_cultures = { indiangfx muslimgfx }
grant_limit, otherwise they cannot be assigned in any way (interface or event)is_high_prio = yes for minor titles that impact gameplay and should not stay unoccupied.icon_religion flag for conversion decisionsgrant_title for an inactive landed titles, activating the title beforehand is now required (like for landless titles) via:activate_title = { title = THIS status = yes } or giving de jure lands.
has_character_flag = do_not_disturb was re-factored intocustom_tooltip = {
text = is_not_busy_trigger_tooltip
hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } }
}
convert_to_castle command by convert_to = CASTLE and similar for other convert_to_<holding> commandsremove_settlement command is called after the switch of capital, if that settlement was the capital.1250.1.1 = {
b_orthez = castle
capital = b_orthez
# VERY IMPORTANT: remove_settlement must always be scripted AFTER a 'capital' switch away from the same settlement
remove_settlement = b_morlaas
}
NAND = {
controls_religion = yes
NOT = { religion_group = muslim }
NOT = { religion = norse_pagan_reformed }
}
by the more generic condition:
NAND = {
controls_religion = yes
NOT = {
primary_title = {
is_landless_type_title = no
}
}
}
region = "island_region.txt" geographical_region = "geographical_region.txt"
is_nomadic = no to standard retinues potential conditionslayer = { # GFX_TYPE:[d|p]INDEX:COLOR_LINK:DONT_REFRESH_IF_VALID:CULTURE_INDEX
"GFX_character_background:p0"
(...)
"GFX_character_imprisoned:p6"
"GFX_player_overlay:p11"
}
Decision moddingMerging guideModdingPatch 2.3.6Patch 2.4.XPatch 2.5 mod compatibility guidePatch 2.6 mod compatibility guidePatch 2.7 mod compatibility guidePatch 2.8 mod compatibility guidePatch 3.0 mod compatibility guidePatch 3.1 mod compatibility guideThe ValidatorTroubleshooting创建模组合并指南彻底转换指南模组安装程序创建指南游戏存档兼容性