编辑“宗教模组制作

警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第26行: 第26行:
|name
|name
|localization key
|localization key
|如果没有设置,则将对象的键值作为本地化键值
|如果没有设置,则将对象的键值作为本地化键值
|name = name_of_the_family
|name = name_of_the_family
|-
|-
|is_pagan
|is_pagan
|boolean
|boolean
|指定该组是否为原始宗教(默认值是yes)
|指定该组是否为原始宗教(默认值是yes)
|is_pagan = no
|is_pagan = no
|-
|-
|graphical_faith
|graphical_faith
|gfx
|gfx
|该宗教组内的所有宗教默认为 此3D 模型(目前用于神殿地产)。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|该宗教组内的所有宗教默认为 该3D 模型(目前用于神殿地产)。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|graphical_faith = catholic_gfx
|graphical_faith = catholic_gfx
|-
|-
|piety_icon_group
|piety_icon_group
|gfx
|gfx
|该宗教组内的所有宗教默认为 组虔诚图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|该宗教组内的所有宗教默认为 组虔诚图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|piety_icon_group = christian
|piety_icon_group = christian
|-
|-
|doctrine_background_icon
|doctrine_background_icon
|gfx
|gfx
|该宗教组内的所有宗教默认为 教义背景图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|该宗教组内的所有宗教默认为 教义背景图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|doctrine_background_icon = core_tenet_banner_christian.dds
|doctrine_background_icon = core_tenet_banner_christian.dds
|-
|-
第133行: 第133行:
|family
|family
|religion family
|religion family
|宗教所属的宗教组
|宗教所属的宗教组
|family = family_name
|family = family_name
|-
|-
|graphical_faith
|graphical_faith
|gfx
|gfx
|该宗教组内的所有信仰默认为 此3D 模型(目前用于神殿地产)。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|该宗教组内的所有信仰默认为 该3D 模型(目前用于神殿地产)。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|graphical_faith = catholic_gfx
|graphical_faith = catholic_gfx
|-
|-
|piety_icon_group
|piety_icon_group
|gfx
|gfx
|该宗教组内的所有信仰默认为 组虔诚图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|该宗教组内的所有信仰默认为 组虔诚图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|piety_icon_group = christian
|piety_icon_group = christian
|-
|-
|doctrine_background_icon
|doctrine_background_icon
|image file
|image file
|该宗教组内的所有信仰默认为 教义背景图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|该宗教组内的所有信仰默认为 教义背景图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|doctrine_background_icon = core_tenet_banner_christian.dds
|doctrine_background_icon = core_tenet_banner_christian.dds
|-
|-
第178行: 第178行:
|reserved_male_names
|reserved_male_names
|list<string>
|list<string>
| 在此处列出的名称应用于所有没有定义 <code>reserved_male_names</code>的信仰。新生男童选择基于宗教的名称时可以选择这些名称。
|Names listed here will be applied to all faiths that don't define reserved_male_names themselves. These names can be applied to newborn males when selecting a religion-based name.
|reserved_male_names = { Rodrigo Johan Paradoxus }
|reserved_male_names = { Rodrigo Johan Paradoxus }
|-
|-
|reserved_female_names
|reserved_female_names
|list<string>
|list<string>
| 和<code>reserved_male_names</code>一样,只是应用于女性角色。
|Same as reserved_male_names, but applied to female characters instead.
|
|
|-
|-
|custom_faith_icons
|custom_faith_icons
|list<gfx>
|list<gfx>
| 创建自定义信仰时,这些是可用的图标。<code>gfx/interface/icons/religion/%s.dds</code>,其中 %s 是名称。Also needs a text icon
|When creating a custom faith, these will be the available icons. Path is  "gfx/interface/icons/religion/%s.dds", where %s is the name. Also needs a text icon
|custom_faith_icons = { custom_faith_1 custom_faith_2 custom_faith_3 }
|custom_faith_icons = { custom_faith_1 custom_faith_2 custom_faith_3 }
|-
|-
第198行: 第198行:
|holy_order_names
|holy_order_names
|list<clause>
|list<clause>
| 该宗教的骑士团可以使用的名称和盾徽。These are used if there are none available for the faith. If there are none left here, it uses "holy_order_default" as name and a randomly generated CoA instead.
|Names and CoAs that can be used by holy orders of this religion. These are used if there are none available for the faith. If there are none left here, it uses "holy_order_default" as name and a randomly generated CoA instead.
|<pre>holy_order_names = {
|<pre>holy_order_names = {
{ name = "holy_order_name1" coat_of_arms = "holy_order_coa1" }
{ name = "holy_order_name1" coat_of_arms = "holy_order_coa1" }
第213行: 第213行:
|faiths
|faiths
|list<Faiths>
|list<Faiths>
| 见下文
|See below
|
|
|-
|-
第256行: 第256行:
|icon
|icon
|gfx
|gfx
| 如果你想要使用其他信仰图标。
|If you want to use another faith's icon
|icon = bosnian_church
|icon = bosnian_church
|-
|-
|graphical_faith
|graphical_faith
|gfx
|gfx
| 该信仰(以及基于该信仰的自定义信仰)使用此3D模型(目前用于神殿地产)。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|This faith (and custom faiths based on this faith) use this 3D model (currently used for temple assets). Order of precedence is the lowest level scripted in: faith > religion > family.
|graphical_faith = catholic_gfx
|graphical_faith = catholic_gfx
|-
|-
|piety_icon_group
|piety_icon_group
|gfx
|gfx
| 该信仰(以及基于该信仰的自定义信仰)使用此组虔诚图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|This faith (and custom faiths based on this faith) use this set of piety icons. Order of precedence is the lowest level scripted in: faith > religion > family.
|piety_icon_group = christian
|piety_icon_group = christian
|-
|-
|doctrine_background_icon
|doctrine_background_icon
|gfx
|gfx
| 该信仰(以及基于该信仰的自定义信仰)使用此教义背景图标。优先顺序是从最低级开始:信仰 > 宗教 > 宗教组。
|This faith (and custom faiths based on this faith) use this doctrine background icon. Order of precedence is the lowest level scripted in: faith > religion > family.
|
|
|-
|-
|religious_head
|religious_head
|title
|title
| 信仰领袖应该持有的头衔。如果没有设置,将不会拥有信仰领袖(除非在脚本的其他地方创建)
|What title should be this faith's religious head. If not set, will not have a religious head (unless created elsewhere in script)
|religious_head = d_coptic_papacy
|religious_head = d_coptic_papacy
|-
|-
|holy_site
|holy_site
|holy site
|holy site
| 圣地,在<code>holy_site</code>文件夹中定义。你可以添加任意数量的圣地。
|Holy site, as defined in the holy_site folder. You can add any number of these
|holy_site = jerusalem
|holy_site = jerusalem
|-
|-
第422行: 第422行:


==图像==
==图像==
创建宗教和信仰时不要求图像模组制作,因为原版游戏内有大量的图标,要么用于其他宗教,要么留给自定义信仰。但是,如果你感觉原版中没有适合你的宗教的图标,也可以轻易地添加新图标。在路径<code>/gfx/interface/icons/religion</code>,创建一个新的 100x100 dds 文件。文件名称是在宗教文件中引用该图标的方式。(例如<code>icon = lobbist</code>将引用<code>/gfx/interface/icons/religion/lobbist.dds</code>)。
No graphical modding is required to create a religion or faith, since there is an abundance of icons in the vanilla game, either in use by other religions or reserved for custom faiths. However, adding a new icon is very simple, if you feel that none of the vanilla icons are fitting for your religion. In the path ''/gfx/interface/icons/religion'', create a new 100x100 dds file. The name of the file is how the icon is referred to in the religion file. (e.g. icon = lobbist will refer to /gfx/interface/icons/religion/lobbist.dds).


==圣地==
==圣地==
{{see also|圣地 ID}}
{{see also|圣地 ID}}
Custom holy sites can be added in a text document in the <code>/common/religion/holy_sites</code> folder. Each site is identified by a name, and contains information on the location of the site and the benefits (or potentially negatives) it brings. 
Custom holy sites can be added in a text document in the ''/common/religion/holy_sites'' folder. Each site is identified by a name, and contains information on the location of the site and the benefits (or potentially negatives) it brings. 
<pre>
<pre>
jerusalem = {
jerusalem = {
第437行: 第437行:
}
}
</pre>
</pre>
下面是可以分配给圣地的属性。只有伯爵领是必要的。
Below are the attributes which can be assigned to a holy site. Only the county is necessary.


{| class="wikitable sortable"
{| class="wikitable sortable"
! 属性
!Attribute
! 类型
!Type
! 描述
!Description
! 举例
!Example
|-
|-
|county
|county
|title
|title
| 圣地所在的伯爵领。
|The county in which the holy site is located
|county = c_jerusalem
|county = c_jerusalem
|-
|-
|barony
|barony
|title
|title
| 圣地所在的男爵领。
|The barony in which the holy site is located
|barony = b_vaticano
|barony = b_vaticano
|-
|-
|character modifier
|character modifier
|modifier
|modifier
| 当该圣地的持有者信奉对应信仰时,这个修正应用于所有该信仰的角色
|Applied to all characters of any faith with this holy site when the holder of the barony is of their faith
|character_modifier = {
|character_modifier = {
monthly_piety_gain_mult = 0.2
monthly_piety_gain_mult = 0.2
第469行: 第469行:
|}
|}


圣地也需要以下本地化键值:
Holy sites also require the following keys in localization:
* holy_site_<name>_name
* holy_site_<name>_name
* holy_site_<name>_effect_name
* holy_site_<name>_effect_name
请注意您对十字军之王3百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在十字军之王3百科:版权的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。 未经许可,请勿提交受版权保护的作品!

为防止机器编辑,请完成下方验证

取消 编辑帮助(在新窗口中打开)