群星
ParaWikis
Notice
: Undefined index: HTTP_ACCEPT_LANGUAGE in
/data/wwwroot/www.parawikis.com/skins/Liberty/LibertyTemplate.php
on line
185
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑
编辑源代码
查看历史
讨论
编辑“
ST NewHorizons/Events/Xindi Crisis
”(章节)
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
==Xindi Probe Fails to Reach Earth== If the probe is destroyed before it reaches Earth, two events will fire. One for flavor text, and one for internal setup. ===Internal Use Event=== The internal use event sets up all the flags and triggers for later events down the line that are part of the Xindi Crisis. It consists of several blocks, which are detailed below. <pre> id = STH_united_earth_story.10 hide_window = yes is_triggered_only = yes trackable = yes trigger = { exists = event_target:xindi_probe_target_country exists = from from = { has_country_flag = xindi_probe_country } } </pre> This segment sets up the event, as well as detecting when to fire the event. This trigger, which causes the rest of the event to fire, checks for the following: * United Earth, as an empire, still exists. * The probe exists and was destroyed. * The ship destroyed belonged to the Xindi Probe Faction. After that, a series of immediate effects fire, the first of which looks like this: <pre> random_planet = { limit = { has_planet_flag = sol_earth } save_event_target_as = solEarth } </pre> This checks if Earth still exists, and if it does, saves it for later use in further events. <br><br>The next section looks like this: <pre> if = { limit = { exists = fromfrom } create_ambient_object = { type = small_debris_object location = fromfromfrom entity_offset = { min = 10 max = 20 } entity_offset_height = { min = 10 max = 15 } } last_created_ambient_object = { set_ambient_object_flag = xindiProbeDebris save_global_event_target_as = xindiProbeDebris } } else = { create_ambient_object = { type = small_debris_object location = event_target:solEarth entity_offset = { min = 10 max = 20 } entity_offset_height = { min = 10 max = 15 } } last_created_ambient_object = { set_ambient_object_flag = xindiProbeDebris save_global_event_target_as = xindiProbeDebris } } </pre> This block does the following: * If the event fires in time, right as the probe is being destroyed, the following happens: ** Debris is spawned where the ship is, replacing it when it gets destroyed. ** Sets it as the target of the special project after the flavor text. * If the event fires late, or on accident, the following will occur instead: ** Debris is spawned in orbit of Earth. ** Sets it as the target of the special project after the flavor text. After that, another if statement fires: <pre> if = { limit = { NOT = { has_special_project = "XINDI_1_PROJECT" } } enable_special_project = { name = "XINDI_1_PROJECT" location = event_target:xindiProbeDebris owner = event_target:xindi_probe_target_country } } </pre> This block checks if the special project to investigate the debris has been enabled, and if not, starts the project. <br>The next block is as follows: <pre> event_target:xindi_probe_target_country = { random_owned_planet = { limit = { has_planet_flag = sol_earth } planet_event = { id = STH_united_earth_story.11 } } } </pre> This block fires the flavor text event from Earth. ===Flavor Text Event=== <pre> We have successfully prevented the alien probe from entering [Earth (Root.GetName)] orbit. Preliminary scans of the wreckage indicate the probe carried within it a single-use condensed energy weapon which had it fired would have been capable of destroying large region of the [Earth (Root.GetName)]'s surface. [President (Root.Owner.GetRulerTitle)] [Root.Owner.GetRulerName]'s administration has planned a series of celebrations to honour the men and women of Starfleet who averted this tragedy. The question now remains, who sent this weapon of mass destruction? [Excellent. (Response)] </pre> This event also deletes the Xindi Probe faction, so it no longer shows up in the contacts. In addition, a flag is re-added for later use. The code for this is as follows: <pre> immediate = { fromfrom = { remove_relation_flag = { who = root.owner flag = xindi_probe_enemy } destroy_country = yes } random_country = { limit = { has_country_flag = xindi_probe_target_country } save_event_target_as = xindi_probe_target_country } } </pre>
摘要:
请注意您对群星百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
群星百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
×
登录
密码
记住登录
加入群星百科
忘记密码?
其他方式登录