王国风云2
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
ParaTranz
资助我们
×
欢迎访问王国风云2百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“家族模组制作”的源代码
←
家族模组制作
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{version|2.6}}{{需要翻译}}[[File:Dynasty.jpg|thumb|right|500px|Dynasties connect characters]] [[Dynasty|Dynasties]] are either declared in the <code>/common/dynasties/</code> folder or randomly created using the [[Culture_modding#Dynasty_prefix|prefix defined for the culture]]. == Definition == The most basic dynasty definition requires a unique numeric ID, a name in the form of a string, and a [[Culture]] in the form of an alphanumeric ID which references the same ID in the cultures files. The culture line is used to determine if it will appear as a random name in the [[Ruler Designer]], and it may be used for random characters of a culture. Here's an example of a basic dynasty: <nowiki>12345 = { name = "Example" culture = english }</nowiki> == Coat of Arms == : {{Main|Coats of arms modding}} It's also possible to define a Coat of Arms for a dynasty. === Template === A Coat of Arms definition requires a template to be selected. There are five templates available to use in the CoA. Each of them uses a different number of layers, and we must create all of them to avoid the game crashing. {| class="wikitable" !ID !Name !Layers |- |0 |Plain |1 |- |1 |Per Fess |2 |- |2 |Per Pale |2 |- |3 |Per Cross |4 |- |4 |Triangle |3 |} === Layers === A layer is defined as follows: {| class="wikitable" !Attribute !Description !Data Type !Example |- |texture |The pattern texture file ID to use. |Integer |texture = 0 |- |texture_internal |The ID of the pattern tile in the file to use |Integer |texture_internal = 4 |- |emblem |An optional tag setting the emblem ID to draw on the layer |Integer |emblem = 7 |- |color |Used one or more times to select which colors to use for drawing<br/>Not having enough colors defined will crash CK2<br/>The number required is dependent on the selected pattern texture |Integer |color = 3 |} == Example == Here's an example of a dynasty definition with a Coat of Arms: <nowiki>12345 = { name = "Example" culture = english coat_of_arms = { template = 1 # Per Fess, requires two layers layer = { texture = 0 # First pattern file, contains 27 tiles, each of two colours texture_internal = 21 # The 22nd tile in the texture emblem = 24 # The 25th of 25 emblems in vanilla CK2 color = 1 # The first colour, Argent color = 2 # The second colour, Blue } layer = { texture = 0 # First pattern file, contains 27 tiles, each of two colours texture_internal = 5 # The 6th tile in the texture color = 5 # The first colour, Black color = 0 # The second colour, Gold } } }</nowiki> == See also == * [[Character modding]] [[Category:Modding]] {{ModdingNavbox}}
本页使用的模板:
Template:Clear
(
查看源代码
)
Template:Hatnote
(
查看源代码
)
Template:Main
(
查看源代码
)
Template:ModdingNavbox
(
查看源代码
)
Template:Navbox
(
查看源代码
)
Template:Navboxgroup
(
查看源代码
)
Template:Version
(
查看源代码
)
返回
家族模组制作
。
×
登录
密码
记住登录
加入王国风云2百科
忘记密码?
其他方式登录