英白拉多:罗马
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
资助我们
×
欢迎访问英白拉多:罗马百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“事件修改”的源代码
←
事件修改
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{Version|1.3}} {{Expand}} == Event modding == There are different event types that have different scopes by default. The most common types are Country and Character events, but there are also State and Province events, and there may be more types yet untested. Every event file has a namespace. This is very useful so that you don't have to give every event an id number or keep track of which numbers are used, the game does it automatically upon startup. An (semi) official guide is available at [https://forum.paradoxplaza.com/forum/threads/how-to-make-an-event-in-imperator.1282114/ the forums] == Event structure == <pre> namespace = rel_flavor #Defined at start of event file, every file has a different namespace to prevent confusion rel_flavor.16 = { #Every namespace can only have one event per id number type = country_event # EVENT TYPE - Can be Country/Province/Character/State decides ROOT Scope title = rel_flavor.16.t # LOCALIZATION KEY - Title of Event desc = rel_flavor.16.desc # LOCALIZATION KEY - Description of Event picture = aqueducts # EVENT PICTURE hidden = no # SPECIAL FIELD - Can hide the event from a player's view fire_only_once = yes # SPECIAL FIELD - Will limit the event to once per tag goto_location = capital_scope # SPECIAL FIELD - Will let the player jump to the province in question left_portrait = current_ruler # LEFT PORTRAIT - Shown at the left hand side of event right_portrait = current_ruler # RIGHT PORTRAIT - Shown at the right hand side of event weight_multiplier = { # MODIFIER - Will modify the chances for the event to fire } trigger = { # TRIGGER FIELD - Checks if the event will fire at all } immediate = { # EFFECT FIELD - Fires after trigger check, but before everything else } option = { # EFFECT FIELD - FIRST OPTION - Options the player can choose between when receiving the event name = rel_flavor.16.a # LOCALIZATION KEY } option = { # EFFECT FIELD - SECOND OPTION - Options the player can choose between when receiving the event name = rel_flavor.16.b # LOCALIZATION KEY } option = { # EFFECT FIELD - THIRD OPTION - Options the player can choose between when receiving the event name = rel_flavor.16.c # LOCALIZATION KEY trigger = { # TRIGGER FIELD - Checks if this specific option will be shown } exclusive = yes # SPECIAL FIELD - Will be the only option available, if it is available highlight = yes # SPECIAL FIELD - Will highlight the option } after = { # EFFECT FIELD - Happens after the player has clicked an option } } </pre> {{Modding navbox}} [[Category:模组制作]] [[en:Event_modding]]
本页使用的模板:
Template:Ambox
(
查看源代码
)
Template:Ambox/core
(
查看源代码
)
Template:Clear
(
查看源代码
)
Template:Expand
(
查看源代码
)
Template:Modding navbox
(
查看源代码
)
Template:Navbox
(
查看源代码
)
Template:Navboxgroup
(
查看源代码
)
Template:Version
(
查看源代码
)
返回
事件修改
。
×
登录
密码
记住登录
加入英白拉多:罗马百科
忘记密码?
其他方式登录