首页所有页面

Patch 2.8 mod compatibility guide


本指南介绍了使模组与 patch 2.8.X from patch 2.7.2.

注意,这并不替代通常的步骤 merging files, in case the mod modifies some vanilla files.

In case of issues, run the latest version of The Validator并尝试激活调试启动选项,这些选项现在会报告 在 log files.

New folders

Move \interface\coats_of_arms.txt to \interface\coat_of_arms\coats_of_arms.txt. 新宗教的封块可以迁移到它们自己的文件中,以提升模组兼容性。

For total conversion mods, add replace_path = "dlc_metadata/dlc_characters" to .mod file.

Portraits

  • New properties p14/p15/p16 are added, so any custom properties needs to be moved to p18 or later.
  • 新的文化索引c6和c7被添加到肖像类型中:
...

"GFX_western_male_beard_behind:p4:h:y"

":p5:c6"

"GFX_western_male_base:p2"

...

...

"GFX_western_male_hair:p1:h:y"

":p5:c7"

"GFX_character_mask:p12:y:o40x45"

...

Decisions

  • ai_check_interval 被添加到决策和有针对性的决策中。它决定了AI检查决策的频率(按月计),默认是每月1次。价值通常是3,或者原版12。例如: ai_check_interval = 5 would make it checked every 5th month. Note that ai_will_do 是当检查时可确定时做出决策的概率百分比(1 = 100%,0.5 = 50%),所以如果你把区间设置高5倍,ai_will_do也应该提高5倍。
  • 大多数针对性的决策过滤器(宫廷、home_court、sub_realm、王国、王朝、社会)不再包含决策者,除非 _including_me variant of the filter is used.

Localization

自定义本地化命令的使用已被合理化并扩展到其他工具提示。

Some workarounds may no longer be needed (for instance [ROOT.xxx] prefix in province modifiers):

my_province_modifier_desc;§YYou will need to know this§!\nInfo: [ROOT.MyCustomLocalizationCommand]

now simply works with:

my_province_modifier_desc;§YYou will need to know this§!\nInfo: [MyCustomLocalizationCommand]

Immortality

现在给孩子赋予不朽特质可以防止成年后切换成成人肖像,儿童肖像得以保留。 变通方法是通过on_adulthood行动的事件移除不朽特质,几天后通过维护事件重新添加。

There's now an immortal_age 历史效应,用来设定角色成为不朽者的年龄。

不朽角色被排除在宫廷修剪之外似乎是硬编码的(即使 immortal = yes is removed from is_unimportant_trigger).如果使用不朽特质进行长寿种族,你需要定期手动修剪,以避免宫廷膨胀。

Misc

  • allowed_to_target_suzerains = yes/no is removed from CBs
  • trait = kinslayer is replaced by is_any_kinslayer_trigger = yes
  • religion_group = indian_group is replaced by has_dharmic_religion_trigger = yes
  • Traits with cached = yes 必须有一个与文化或宗教不冲突的名字。否则,如何用 trait_name = { } 会以文化/宗教视野的形式表现,而非角色视野。
  • can_demand_religious_conversion = no 必须被纳入未改革宗教(这已不再是未改革异教团体的硬编码行为)
  • uses_bride_price = yes 可以加入自定义商人共和国政府(现已不再硬编码)。

Issues

在一些模组中,根据自动生成的伯爵领(即历史上没有持有人)在游戏开始时是独立的。[1]. This is fixed in patch 3.0.

References

相关页面 (18)

Merging guidePatch 2.4 mod compatibility guidePatch 2.5 mod compatibility guidePatch 2.6 mod compatibility guidePatch 2.7 mod compatibility guidePatch 2.7.2Patch 2.8.XPatch 3.0Patch 3.0 mod compatibility guidePatch 3.1 mod compatibility guidePortrait moddingThe ValidatorTroubleshooting创建模组合并指南彻底转换指南模组安装程序创建指南游戏存档兼容性