该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第6行: | 第6行: | ||
__TOC__ | __TOC__ | ||
== | == Title history modding == | ||
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行: | 第16行: | ||
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行: | 第23行: | ||
} | } | ||
863.1.1 = { | 863.1.1 = { | ||
holder = 168238 # | holder = 168238 #Guilhem I de Forez | ||
} | } | ||
863.1.25 = { | 863.1.25 = { | ||
第29行: | 第29行: | ||
} | } | ||
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行: | 第38行: | ||
} | } | ||
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行: | 第62行: | ||
} | } | ||
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行: | 第73行: | ||
liege = "d_burgundy" | liege = "d_burgundy" | ||
} | } | ||
1193.1.1 = { # | 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行: | 第119行: | ||
} | } | ||
1332.11.1 = { | 1332.11.1 = { | ||
holder = 138442 # | holder = 138442 #ArchBishop Guillaume I de Sure | ||
} | } | ||
第125行: | 第125行: | ||
</pre> | </pre> | ||
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行: | 第134行: | ||
} | } | ||
863.1.1 = { | 863.1.1 = { | ||
holder = 168238 # | holder = 168238 #Guilhem I de Forez | ||
} | } | ||
863.1.25 = { | 863.1.25 = { | ||
第140行: | 第140行: | ||
} | } | ||
871.1.1 = { | 871.1.1 = { | ||
holder = 168239 # | holder = 168239 #Guilhem II de Forez | ||
} | } | ||
925.8.27 = { | |||
holder = 168240 #Artaud I de Forez | |||
</pre> | </pre> | ||
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> | ||
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> |