编辑“历史模组制作

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

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

最后版本 您的文本
第1行: 第1行:
{{version|1.1}}{{需要翻译}}
History modding is about applying changes to the data stored at the path ''game/history''. The history folder contains subfolders for characters, cultures, provice mapping, provinces, titles and wars.
History modding is about applying changes to the data stored at the path ''game/history''. The history folder contains subfolders for characters, cultures, provice mapping, provinces, titles and wars.
[[Characters_modding|Character]] modding is explained on a dedicated article. Except for characters, where history (birth and death) and other data like name and traits are definded, history modding is only about changing the history not the existence of for example a title.
[[Characters_modding|Character]] modding is explained on a dedicated site. Except for characters, where history (birth and death) and other data like name and traits are definded, history modding is only about changing the history not the existence of for example a title.
 
__TOC__


== 头衔历史修改 ==
== Title history modding ==
修改头衔历史指更改实地头衔的持有者历史和它隶属的特定领主。所有存在的法理王国的文件位于<code>game/history/titles</code>。文件包含了王国以及它的所有法理公国和伯爵领的数据。例如,在文件<code>k_burgundy.txt</code>中,里昂伯爵领相关历史如下:
Modding title history means to make changes about the holder history of landed titles and it's affiliation to a specific liege. The files for every existing dejure kingdom can be found at ''game/history/titles''. The file contains the data for the kingdom, as well as all of it's dejure duchies and counties. For example the county of Lyon in the file ''k_burgundy.txt'' looks like this:


<pre>
<pre>
第16行: 第12行:
765.1.1 = {
765.1.1 = {
liege = "k_lotharingia"
liege = "k_lotharingia"
holder = 91491 # 乌笃,历史上的伯爵,作为占位符
holder = 91491 #VUODO, historical count as placeholder
}
}
855.8.23 = {
855.8.23 = {
第23行: 第19行:
}
}
863.1.1 = {
863.1.1 = {
holder = 168238  # 吉扬一世·德·福雷
holder = 168238  #Guilhem I de Forez
}
}
863.1.25 = {
863.1.25 = {
第29行: 第25行:
}
}
871.1.1 = {
871.1.1 = {
holder = 168239  # 吉扬二世·德·福雷
holder = 168239  #Guilhem II de Forez
}
}
925.8.27 = {
925.8.27 = {
holder = 168240  # 阿尔托德一世·德·福雷
holder = 168240  #Artaud I de Forez
}
}
933.1.1 = {
933.1.1 = {
第38行: 第34行:
}
}
960.1.1 = {
960.1.1 = {
holder = 168241  # 吉罗一世·德·福雷
holder = 168241  #Geraud I de Forez
}
}
993.1.1 = {
993.1.1 = {
holder = 168242  # 阿尔托德二世·德·福雷
holder = 168242  #Artaud II de Forez
}
}
1000.10.11 = {
1000.10.11 = {
holder = 168243  # 阿尔托德三世·德·福雷
holder = 168243  #Artaud III de Forez
}
}
1017.1.1 = {
1017.1.1 = {
第62行: 第58行:
}
}
1107.1.1 = {
1107.1.1 = {
holder = 205681 # 吉格·德·阿尔邦
holder = 205681 #Guy d'Albon
}
}
1138.10.27 = {
1138.10.27 = {
holder = 205680 # 吉格·德·阿尔邦
holder = 205680 #Guigues d'Albon
}
}
1163.1.1 = {
1163.1.1 = {
第73行: 第69行:
liege = "d_burgundy"
liege = "d_burgundy"
}
}
1193.1.1 = { # 从1193年到去世,吉格三世应该一直持有着里昂,之后他的兄弟总主教雷诺持有里昂。
1193.1.1 = { #Guigues III should hold Lyon from 1193 to his death, after which his brother Archbishop Renaud holds it.
holder = 205684
holder = 205684
}
}
1202.11.28 = {
1202.11.28 = {
holder = 205685 # 总主教雷诺·德·阿尔邦
holder = 205685 #Archbishop Renaud d'Albon
}
}
1226.10.21 = {
1226.10.21 = {
holder = 138427 # 总主教罗贝尔·德·奥弗涅
holder = 138427 #ArchBishop Robert d'Auvergne
}
}
1234.1.1 = {
1234.1.1 = {
holder = 138425 # 总主教劳尔夫·德·拉罗什艾蒙
holder = 138425 #ArchBishop Raoul I de La Roche-Aymon
}
}
1236.1.1 = {
1236.1.1 = {
holder = 138437 # 主教艾默里克
holder = 138437 #Bishop Aimery de Rives
}
}
1245.1.1 = {
1245.1.1 = {
holder = 70913 # 总主教腓力·德·萨伏依
holder = 70913 #ArchBishop Philippe I de Savoie
}
}
1267.1.1 = {
1267.1.1 = {
holder = 138438 # 主教珪
holder = 138438 #Bishop Guy II
}
}
1268.1.1 = {
1268.1.1 = {
holder = 71827 # 总主教皮埃尔·德·塔朗泰斯/ 未来的教宗诺森四世
holder = 71827 #ArchBishop Pierre II de Tarentaise/future Pope Innocent IV
}
}
1273.1.1 = {
1273.1.1 = {
holder = 138439 # 总主教阿代马尔·德·鲁西永
holder = 138439 #ArchBishop Aymar de Roussillon
}
}
1283.1.1 = {
1283.1.1 = {
holder = 138453 # 总主教拉乌尔·德·图罗特
holder = 138453 #ArchBishop Raoul II de la Tourette
}
}
1288.1.1 = {
1288.1.1 = {
holder = 138404 # 总主教贝拉尔德·德·郭特,教宗克勉五世的兄弟
holder = 138404 #ArchBishop Bérard de Got brother of Pope Clement V
}
}
1294.1.1 = {
1294.1.1 = {
holder = 138440 # 总主教亨利一世·德·维拉尔,恩里克·德·维拉尔
holder = 138440 #ArchBishop Henri I de Villars
}
}
1301.1.1 = {
1301.1.1 = {
holder = 138441 # 总主教路易·德·维拉尔
holder = 138441 #ArchBishop Louis de Villars
}
}
1308.1.1 = {
1308.1.1 = {
holder = 70926 # 总主教皮埃尔·德·萨伏依
holder = 70926 #ArchBishop Pierre de Savoie
}
}
1312.4.10 = {
1312.4.10 = {
第119行: 第115行:
}
}
1332.11.1 = {
1332.11.1 = {
holder = 138442 # 总主教纪尧姆
holder = 138442 #ArchBishop Guillaume I de Sure
}
}


第125行: 第121行:
</pre>
</pre>


所有头衔首先需要自己的id,例如这里的c_lyon,它的法理领主维耶努瓦公国的id是d_dauphine。之后需要定义里昂在两个开局日期的发展度。在867年伯爵领有8级发展度,而在1066年有10级发展度。接着在特定日期设置伯爵领的持有者和领主。可以通过插入其他角色的id来改变持有者。如果没有添加其他领主或持有者,他们将和前一条相同。完全没有领主将会产生一位独立持有者。例如吉扬一世·德·福雷在863.1.1 成为伯爵领的持有者,勃艮第王国是他的领主,在863.1.25他被转封给维耶努瓦多芬。在871年,头衔转移给他的继承人吉扬二世。因为在863年到867年之间没有变化,所以在867年剧本中,吉扬一世是里昂伯爵。<br>
Every title needs his id, like here c_lyon. The Duchy of Viennois for example, it's dejure liege, would have the id d_dauphine. The second step determines the development of Lyon at the two starting dates. In 867 the county has a development of 8 and in 1066 a development of 10. The following lines set holder and liege at a specific date. It's possible to change the holder by inserting the id of another character. If no other liege or holder is added, they will be identical to the previous entry. A completely missing liege will result in an independent holder. For example Guilhelm de Forez becomes holder of the county with the king of burgundy as his liege on the 1.1.863 and gets transferred as a vassal to the Dauphin of Viennois in 863. He looses the title in 871 to his heir Guilhem II. As there are no changes between 863 and 867 Guilhelm I de Forez will be the Count of Lyon starting at the early bookmark.<br>
在文本文件中如下:
In the textfile the lines look like this:


<pre>
<pre>
第134行: 第130行:
}
}
863.1.1 = {
863.1.1 = {
holder = 168238  # 吉扬一世·德·福雷
holder = 168238  #Guilhem I de Forez
}
}
863.1.25 = {
863.1.25 = {
第140行: 第136行:
}
}
871.1.1 = {
871.1.1 = {
holder = 168239  # 吉扬二世·德·福雷
holder = 168239  #Guilhem II de Forez
}
     925.8.27 = {
holder = 168240  #阿尔托德一世·德·福雷
}
}
925.8.27 = {
holder = 168240  #Artaud I de Forez
</pre>
</pre>


需要在'' . . = { }'' 代码块中添加''liege = "x" ,''从而在特定日期改变其领主。这不会改变法理领主,只是改变控制该伯爵领的王国或公国。改变持有者也一样,需要插入''holder = id'' 。角色的id可以在<code>game/history/characters</code>文件夹中某一''culture.txt'' 内找到。如果插入如<code>liege = 0</code>或者<code>holder  = 0</code>{{sup|{{red|未测试在伯爵领中添加的情况}}}},则表明没有领主或持有者。<br>
To change a liege at a certain date the line ''liege = "x"'' needs to be added inside the brackets of ''year.month.day = { }''. This doesn't change the dejure liege, only which kingdom or duchy controls the county. The same can be done with the holder by inserting ''holder = id''. Character ids can be found in the one of the ''culture.txt'' in ''game/history/characters''. <br>
<br>
<br>
Changes between the bookmarks are needed, even if due to Crusader Kings 3 beeing a giant sandbox the history will never happen like planned in the file. In Crusader Kings 2 you could see the lineage in the title history, which doesn't exist up to now in Crusader Kings 3. Nonetheless the assigned holders will still have been holders between the assigned dates. The only way to see old title holders is in the dynasty tree. For example if a member of the Forez-Dynasty is played in 1066, his ancestors Guilhelm I and II and Artaud I are shown as Counts of Lyon.<br>
If modding titles, it is advised to adjust the living dates to those of the assigned holder. For example if an newly added character is assigned as Count of Lyon his death should be identical to the date when a successor takes over the title. If forgotten the mod will keep working, but in the dynasty tree the predecessor won't be Count X of Lyon but instead X of Dynasty Y because he will have lost the title before his death.<br>
If modding titles, it is advised to adjust the living dates to those of the assigned holder. For example if an newly added character is assigned as Count of Lyon his death should be identical to the date when a successor takes over the title. If forgotten the mod will keep working, but in the dynasty tree the predecessor won't be Count X of Lyon but instead X of Dynasty Y because he will have lost the title before his death.<br>


第207行: 第203行:
</pre>
</pre>
<br>
<br>
Innovation ids can be found in ''game/common/culture/innovations''. Which culture is part of which culture group is defined by the associated file in ''game/common/culture/cultures''. See also [[culture modding]].<br>
Innovation ids can be found in ''game/common/culture/innovations''. Which culture is part of which culture group is defined by the associated file in ''game/common/culture/cultures''. Changing cultures or creating new ones needs it's own article.<br>




{{Modding navbox}}
{{Modding navbox}}
[[Category: 模组制作]]
[[Category:Modding]]
[[en:History modding]]
[[en:History modding]]
请注意您对十字军之王3百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在十字军之王3百科:版权的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。 未经许可,请勿提交受版权保护的作品!

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

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