版本 Diff 差异对比

条目:书签修改 · 对比历史版本与当前版本间的真实 Wikitext 差异

+24 行新增-22 行移除
历史基准版本Rev #7743
merge from offical wiki
Hstar2017-06-08 02:59:15
当前最新版本Rev #59414
文本替换 - 替换“[[Category:改派教程”为“[[Category:模组制作”
Pokewiz2019-09-11 08:04:07
Wikitext 语法逐行变动
当前版本新增历史版本移除
- {{Version|1.19}}
+ {{Version|长期有效}}
+ 对'''书签'''的修改允许mod作者为玩家制作新的剧本书签。本条目将会介绍书签文件的结构。
- '''Scenario modding''' allows the addition of new bookmarks for players to use, each scenario is broken down as below.
+ == 增加书签 ==
+ 书签位于{{path|common/bookmarks}},你需要为每一个书签增设一个文件。结构如下:
- ==Making a bookmark==
- A scenario is in its own file and is opened and closed with curly brackets after listing the bookmark. The bookmarks are all in {{path|common/bookmarks}}
-
- <pre>bookmark =
- {
-
- }</pre>
-
- ==Bookmark contents==
- The name, description and date are listed at the top of the bookmark. The name and description are defined in {{path|localisation}} with one entry per language.
-
- <pre> name =
- desc =
- date =
+ <pre>
+ bookmark = {
+ name = "<locstring>" # 举个例子,NEWWORLD_NAME,这一部分在本地化文件里进行翻译。
+ desc = "<locstring>"
+ date = <年>.<月>.<日>
+
+ center = <省份id> # 可选项,选择时让镜头聚焦在这个省份id上。
+ country = <tag> # 可选项,在下方增加对应tag的国家盾徽。
+ easy_country = <tag> # 可选项,在下方增加对应tag的国家盾徽,并带有绿光和“建议新手游玩”的内容。
+
+ default = yes # 让本书签成为开始游戏后的默认书签,仅可出现一次
+
+ # 可选项,在书签选择后执行效果。
+ effect = {
+ <效果>
+ }
+ }
</pre>
- The centre of the map when clicking the bookmark is set with a province number. The default behaviour sets which single bookmark will be opened at game start
-
- <pre> center = 1
- default = yes
- </pre>
-
- The countries available as clickable shields are defined by their [[tag]]. The below code is an example which shows the [[Ottomans]] and [[Castile]]. Castile is outlined in green as a nation suitable for beginners.
-
- <pre> country = TUR
- country = CAS
-
- easy_country = CAS
- </pre>
-
-
+ '''注意:''' 这些效果只会在书签被点击、游戏开始后发生。如果切换了其他的书签或者日期,效果就不会发生。
{{Modding navbox}}
- [[Category:Modding]]
+ [[Category:模组制作]]
+ [[en:Scenario modding]]