编辑“剧本模组制作

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

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

最后版本 您的文本
第1行: 第1行:
{{version|1.1}}
剧本模组可以在'''选择开始日期'''界面上高亮显示新的有趣角色和场景。


== 创建剧本 ==
== Creating the bookmark ==
在mods/yourmod/common/bookmarks 文件夹中创建一个新文件或编辑一个已经存在的文件,并使用你选择的相应名称。确保标签保持一致,并在其他文件中引用相同的ID。例如bm_3000_wotr。
Create a new file or edit a already existing one in the folder mods/yourmod/common/bookmarks with a corresponding name of your choice. Make sure the labeling stays coherent and is referenced in other files with the same ID. For example bm_3000_wotr.


确保文件行的括号正确。
Make sure to bracket the file lines correctly.


首先决定一个{{Ruby|开局日期|startdate}},用年. . 日的格式写,比如start_date=3000.5.12 ,代表3000年5月12日。接下来加一个is_playable = yes ,表示事实上,毫无疑问,它是可以被人玩的。
Start by deciding a startdate, which is written in the year.month.day format like start_date = 3000.5.12 for the 12th of May, year 3000. Next add a is_playable = yes to indicate that it is, in fact, undoubtly, playable by a human being.


接下来你决定可选择的特殊角色,并开始定义他/ 她。比如说
Next you decide on the selectable special characters and start defining him/her. For example:


<pre>
<pre>


# “白衫”哈夫丹(约克),ID: 163112
# Halfdan Whiteshirt (York) ID: 163112
character = {
character = {
name = "bookmark_northmen_halfdan_whiteshirt"    # 名字必须翻译
name = "bookmark_northmen_halfdan_whiteshirt"    #name has to be localized
dynasty = 7514                   # 宗族 ID
dynasty = 7514                   #dynasty ID
dynasty_splendor_level = 1             # 宗族威望等级
dynasty_splendor_level = 1             #splendor level
type = male                     # 性别
type = male                     #gender
birth = 828.1.1                   # 出生日期- 定义年龄
birth = 828.1.1                   #birthdate - defines the age
title = d_york                   # 持有主头衔
title = d_york                   #held primary title
government = feudal_government           # 政体
government = feudal_government           #government type
          culture = norse                   # 文化
          culture = norse                   #culture
religion = norse_pagan               # 宗教
religion = norse_pagan               #religion
difficulty = "BOOKMARK_CHARACTER_DIFFICULTY_EASY"  # 显示的难度
difficulty = "BOOKMARK_CHARACTER_DIFFICULTY_EASY"  #difficulty shown on screen
history_id = 163112                 # 角色ID
history_id = 163112                 #ID
position = { 765 590 }               # 位置
position = { 765 590 }               #where it will be located


animation = disapproval               # 姿势
animation = disapproval               #pose


# 古德夫里德,哈夫丹的儿子,未来的弗里西亚公爵,ID: 168336 
# Gudfrid, son who became Duke of Frisia, ID: 168336 
character = {                    # 儿子也一样
character = {                    #same thing for the son
name = "bookmark_northmen_halfdan_whiteshirt_alt_gudfrid"
name = "bookmark_northmen_halfdan_whiteshirt_alt_gudfrid"
relation = "BOOKMARK_RELATION_SON"
relation = "BOOKMARK_RELATION_SON"
第43行: 第41行:
}
}


# 哈夫丹长女,也是最宠爱的孩子,莎加“真言者”,ID: 306010
# Eldest child and favorite, Saga, ID: 306010
character = {                 
character = {                 
name = "bookmark_northmen_halfdan_whiteshirt_alt_saga"
name = "bookmark_northmen_halfdan_whiteshirt_alt_saga"
第60行: 第58行:




角色统计数值和特质在history文件夹中找到。
Character stats and traits are found in the history folder.


== 肖像 ==
== Portraits ==


另一个需要的文件夹是bookmark_portraits,它包括了在剧本界面中可选择角色的文件。它们是自动生成的文件,不需要编辑。
Another folder needed will be bookmark_portraits, which includes the files for the characters selectable in the bookmark screen. They are auto generated files and do not have to be edited.


你可以通过dump_bookmark_portraits来使用控制台。如果你打算亲自创建角色,那么请查看角色模组制作页面。
You use the console via dump_bookmark_portraits. If you instead intend on creating the characters personally, then check out the character modding page.


== 剧本显示 ==
== Bookmark screen ==


\gfx\interface\bookmarks ,其中的文件格式是.dds ,可以自定义。剧本文件中的位置代码(position = {})是通过这个文件来寻找角色的位置。位置可以通过启用调试模式在游戏中找到。
\gfx\interface\bookmarks Files here are .dds and are custom made. The positions part in the bookmark file looks at this file for where to put a character. Positions can be found ingame via enabling debug mode.


可以做的就是把地图截图然后放到.dds 文件中。虽然没有Paradox做的那么漂亮,但也能用<sup>[1]</sup>
What can be done is just screenshotting the map then putting it in a .dds file. Won't be as pretty as what Paradox did but it works<sup>[1]</sup>


gui\frontend_bookmarks.gui
== Localization ==
size = { 1920 1200 }


== 本地化 ==
A bookmark ''will not load'' if it has any character/title history errors.<ref>More Bookmarks by Leviathonix [https://steamcommunity.com/sharedfiles/filedetails/?id=2216670956], Credits to Leviathonix [https://steamcommunity.com/sharedfiles/filedetails/?id=2216670956&searchtext=].</ref>


如果一个剧本有任何角色/头衔的历史错误,则该剧本''将无法加载''。<ref>More Bookmarks by Leviathonix [https://steamcommunity.com/sharedfiles/filedetails/?id=2216670956], Credits to Leviathonix [https://steamcommunity.com/sharedfiles/filedetails/?id=2216670956&searchtext=].</ref>
== References ==
 
== 参考资料 ==
<references />
<references />


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

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

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