Dynasties are either declared in the /common/dynasties/ folder or randomly created using the prefix defined for the culture.
最基本的王朝定义要求唯一的数字ID、字符串形式的名称,以及 Culture 以字母数字 ID 的形式出现,该 ID 引用文化文件中的相同 ID。培养线用于判断该名称是否会以随机名称形式出现 Ruler Designer,并且可能用于文化中的随机字符。
Here's an example of a basic dynasty:
12345 = {
name = "Example"
culture = english
}
也可以为一个王朝定义一个纹章。
纹章定义需要选择模板。CoA中有五种模板可供使用。每个图层使用不同数量的图层,我们必须全部创建才能避免游戏崩溃。
| ID | Name | Layers |
|---|---|---|
| 0 | Plain | 1 |
| 1 | Per Fess | 2 |
| 2 | Per Pale | 2 |
| 3 | Per Cross | 4 |
| 4 | Triangle | 3 |
A layer is defined as follows:
| Attribute | Description | Data Type | Example |
|---|---|---|---|
| texture | The pattern texture file ID to use. | Integer | texture = 0 |
| texture_internal | 文件中要使用的图案瓦片的ID。 | Integer | texture_internal = 4 |
| emblem | 一个可选的标签,将徽章ID设置为在图层上绘制 | Integer | emblem = 7 |
| color | 用于选择绘画颜色时使用一次或多次 Not having enough colors defined will crash CK2 所需的数量取决于所选图案纹理 |
Integer | color = 3 |
这里有一个带有纹章的王朝定义示例:
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
}
}
}
| 历史 | 角色 • 家族 • 省份 • 头衔 • 剧本 |
| 脚本 | 指令 • 条件 • 作用域 • 修正 • 事件 • 决议 |
| 常规 | 定义 • 游戏规则 • 另类开局 • 宗教 • 文化 • 政体 • 特质 • 血脉 • 科技 • 法律 • 建筑 • 宣战理由 • 朝贡国 • 单位 • 目标 • 疾病 • 死亡 • 荣誉头衔 • 社团 • 宝物 • 地图外政权 • 内阁成员 • 贸易路线 • 继承 • 奇观 • 称号 |
| 图像/音效/本地化 | 地图 • 图形 • 盾徽 • 肖像 • 界面 • 小地图 • 音乐 • 本地化 |
| 其他 | 故障排除 • 验证器 • 控制台指令 • 编辑游戏存档 • Steam创意工坊 • EU4转档器模组制作 |
Character moddingCoats of arms moddingCultureCulture moddingDynastyEU4转档器模组制作Ruler DesignerSteam创意工坊事件模组制作作用域修正内阁成员模组制作决议模组制作剧本模组制作单位模组制作历史模组制作另类开局模组制作图形模组制作地图外政权模组制作地图模组制作头衔模组制作奇观模组制作宗教模组制作定义宝物模组制作宣战理由模组制作小地图模组制作建筑模组制作指令控制台指令政体模组制作故障排除文化模组制作朝贡国类型模组制作本地化条件模组制作死亡模组制作法律模组制作游戏规则模组制作特质模组制作界面模组制作疾病模组制作目标模组制作盾徽模组制作省份模组制作社团模组制作科技模组制作称号模组制作继承模组制作编辑游戏存档肖像模组制作脚本荣誉头衔模组制作血脉模组制作角色模组制作贸易路线模组制作音乐模组制作验证器