Patch 3.1 mod compatibility guide

本页面讲述的内容长期有效


This guide describes the steps to make a mod compatible with patch 3.1.X from patch 3.0.1.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.

Folders

  • common/traits/battle_scars_and_tattos_traits.txt has been renamed to common/traits/04_battle_scars_and_tattos_traits.txt

Portraits

  • New property p37 (special relation overlay) has been added to all portraits, so any custom properties needs to be moved to p38 or later.
   "GFX_character_imprisoned:p6"
-> "GFX_lover_overlay:p37"
   "GFX_player_overlay:p11"

Great works

主条目:Great work modding

Buildings unique to a province can be replaced by an historical great work instead, to benefit from custom picture, levels and upgrade mechanisms.

Misc

  • set_allows_matrilineal_marriage = yes is changed to law_set_allow_matrilineal_marriage = yes

See also

References