群星
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
ST NewHorizons/Events/Demons Crisis
”
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
高级
特殊字符
帮助
标题
2级
3级
4级
5级
格式
插入
拉丁字母
扩展拉丁字母
国际音标
符号
希腊字母
希腊字母扩展
西里尔字母
阿拉伯字母
扩展阿拉伯字母
希伯来字母
孟加拉语字符集
泰米尔数字和符号
泰卢固语字符集
僧伽罗语字符集
梵文字符集
古吉拉特语字符集
泰语字符集
老挝语
高棉语字母
加拿大原住民音节文字
卢恩
Á
á
À
à
Â
â
Ä
ä
Ã
ã
Ǎ
ǎ
Ā
ā
Ă
ă
Ą
ą
Å
å
Ć
ć
Ĉ
ĉ
Ç
ç
Č
č
Ċ
ċ
Đ
đ
Ď
ď
É
é
È
è
Ê
ê
Ë
ë
Ě
ě
Ē
ē
Ĕ
ĕ
Ė
ė
Ę
ę
Ĝ
ĝ
Ģ
ģ
Ğ
ğ
Ġ
ġ
Ĥ
ĥ
Ħ
ħ
Í
í
Ì
ì
Î
î
Ï
ï
Ĩ
ĩ
Ǐ
ǐ
Ī
ī
Ĭ
ĭ
İ
ı
Į
į
Ĵ
ĵ
Ķ
ķ
Ĺ
ĺ
Ļ
ļ
Ľ
ľ
Ł
ł
Ń
ń
Ñ
ñ
Ņ
ņ
Ň
ň
Ó
ó
Ò
ò
Ô
ô
Ö
ö
Õ
õ
Ǒ
ǒ
Ō
ō
Ŏ
ŏ
Ǫ
ǫ
Ő
ő
Ŕ
ŕ
Ŗ
ŗ
Ř
ř
Ś
ś
Ŝ
ŝ
Ş
ş
Š
š
Ș
ș
Ț
ț
Ť
ť
Ú
ú
Ù
ù
Û
û
Ü
ü
Ũ
ũ
Ů
ů
Ǔ
ǔ
Ū
ū
ǖ
ǘ
ǚ
ǜ
Ŭ
ŭ
Ų
ų
Ű
ű
Ŵ
ŵ
Ý
ý
Ŷ
ŷ
Ÿ
ÿ
Ȳ
ȳ
Ź
ź
Ž
ž
Ż
ż
Æ
æ
Ǣ
ǣ
Ø
ø
Œ
œ
ß
Ð
ð
Þ
þ
Ə
ə
格式
链接
标题
列表
文件
参考
讨论
说明
输入内容
输出结果
斜体
''斜体文字''
斜体文字
粗体
'''粗体文字'''
粗体文字
粗斜体
'''''粗斜体文字'''''
粗斜体文字
{{ST NewHorizons/Navigation}} ==Summary and Overview== (TODO) ==Triggering the Event Chain== The ''"Terra Prime"'' event chain (Referred to as ''"Demons"'' in the mod files) is queued at the beginning of the game with the ''"on_game_start_country"'' on_action. The trigger for the chain consists of two events: ''"STH_united_earth_story.1020" (Demons Fired)'' and ''"STH_united_earth_story.1021" (Demons Queued)''. ===Event 1020 (Demons Fired)=== This event is triggered at the beginning of the game without an event window. The trigger condition is as follows: <pre> has_country_flag = united_earth enterprise_era = yes </pre> These conditions ensure that only United Earth will have the Terra Prime chain queued. If this trigger is met, it runs the following ''"immediate"'' code: <pre> random_country = { limit = { has_country_flag = united_earth } country_event = { id = STH_united_earth_story.1021 days = 2050 random = 100 } } set_country_flag = demons_crisis_queued </pre> This immediate code queues ''"Event 1021"'' for United Earth which will fire in 2050-2150 days (Approx. 67-71 Months). It also sets the flag ''"demons_crisis_queued"'' for United Earth, which is used to ensure that only United Earth will receive ''"Event 1021"''. ===Event 1021 (Demons Queued)=== After the timer of 2050-2150 days from ''"Event 1020"'' has ended, this event is fired, also with a hidden event window. The trigger conditions are: <pre> has_country_flag = united_earth NOT = { has_country_flag = united_ferderation_of_planets } </pre> This ensures that only United Earth will receive this event, and only if United Earth has not formed the <abbr title="United Federation of Planets">UFP</abbr>. The immediate code is as follows: <pre> if = { limit = { has_country_flag = xindi_crisis_complete_win NOT = { has_country_flag = demons_crisis_started } } log = "Demons triggered" country_event = {id = STH_united_earth_story.1 } } else = { log = "Demons wait" country_event = { id = STH_united_earth_story.1021 days = 360 } } </pre> This immediate code can be broken down into a ''"true"'' block and a ''"false"'' block, with the true block being in the ''"if"'' block, and false block being in the ''"else"'' block. <br/><br/> The ''"true"'' block only fires if the following conditions are met: <pre> has_country_flag = xindi_crisis_complete_win NOT = { has_country_flag = demons_crisis_started } </pre> These two conditions mean that the event will fire if United Earth has gotten the "good" ending to the Xindi crisis (Earth is not destroyed) and the ''"Demons"'' crisis has not already been started. If both of these conditions are met, the line ''"Demons Triggered"'' is added to the log, and the first story event, ''"Demons"'', is triggered. <br/><br/> If the ''"true"'' block's conditions were not met, the ''"false"'' block is fired, which has the following code: <pre> log = "Demons wait" country_event = { id = STH_united_earth_story.1021 days = 360 } </pre> This will add the line ''"Demons wait"'' to the log, and will trigger this event again in 360 days, effectively meaning that the game will check if it can fire the first story event every 360 days until it successfully does.
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
Template:Infobox
(
编辑
)
Template:Infobox/row
(
编辑
)
Template:Mod header
(
编辑
)
Template:Nowrap
(
编辑
)
Template:ST NewHorizons/Navigation
(
编辑
)
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录