首页所有页面

图形模组制作

There are two parts to graphics modding:

  • Assets (images or models), stored inside /gfx folder
  • Logical names (以GFX_前缀开头)映射到这些资产,定义在 /interface/*.gfx files.

逻辑名称要么引用其他脚本文件,要么基于引擎中硬编码的命名规范。

Editors

Some recommended editors include:

Formats

Folders

Characters

主条目:Portrait modding

这个文件夹包含一些人脸拼接在一起形成肖像的片段。

Coats of arms

主条目:coats of arms.gfx

Contains flag frames and CoA pattern & frames.

Flags

旗帜用于男爵爵位之上,但仅适用于宗教 has_coa_on_barony_only = yes. 游戏通常会崩溃,条件是旗标尺寸不是128x128、不是24位,或者未压缩。

警告:flags\文件夹中缺少标题标志会导致大多数标题出现错误的标志,原因是偏移。 在处理模组其他方面时,一个很好的方法是给国家添加占位旗帜。

Fonts

See [Tutorial] Custom Map Fonts.

Interface

主条目:Interface modding

Main game loads from /interface/ 对于基督教宗教团体,但某些资源在玩其他团体宗教时会被覆盖:

  • from /indian_interface folder for indian_group religion group
  • from /muslim_interface folder for muslim religion group
  • from /zoroastrian_interface folder for zoroastrian_group religion group
  • from /jews_interface folder for jewish_group religion group
  • from /pagan_interface folder for pagan_group religion group

New religion groups load from /interface/ folder, and cannot have their own interface.

模组无法覆盖宗教组文件夹中的资源,因为覆盖只处理主游戏。

Loading screens

为了达到最佳压缩,加载画面应保存为DTX1压缩/不使用MIMAPS。

The order loading screens appear is random, except:

  • load_0.dds, which is used as splash screen
  • 文件名最高的图片(例如:load_13.dds)的概率要高得多(截至 patch 2.8.2) to appear first.

See also

相关页面 (59)

CharlemagneCoats of arms.gfxEU4转档器模组制作Interface moddingPatch 2.2Patch 2.8.2Portrait moddingSteam创意工坊事件模组制作作用域修正内阁成员模组制作决议模组制作剧本模组制作单位模组制作历史模组制作另类开局模组制作地图外政权模组制作地图模组制作头衔模组制作奇观模组制作宗教模组制作定义宝物模组制作宣战理由模组制作家族模组制作小地图模组制作建筑模组制作指令控制台指令政体模组制作故障排除文化模组制作朝贡国类型模组制作本地化条件模组制作死亡模组制作法律模组制作游戏规则模组制作特质模组制作界面模组制作疾病模组制作目标模组制作盾徽模组制作省份模组制作社团模组制作科技模组制作称号模组制作继承模组制作编辑游戏存档肖像模组制作脚本荣誉头衔模组制作血脉模组制作角色模组制作贸易路线模组制作音乐模组制作验证器