966 lines
65 KiBLFS
XML
Executable File
966 lines
65 KiBLFS
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<Randomevents>
|
|
<EventSprites>
|
|
<Sprite identifier="Reiss_photo" texture="%ModDir%/Events/Art/Reiss_photo.png" sourcerect="0,0,256,256" origin="0.5,0.5" />
|
|
</EventSprites>
|
|
<EventPrefabs>
|
|
<!--UFO GALLIMUX-->
|
|
<ScriptedEvent identifier="UFO_GALLIMUX_spawn" commonness="100">
|
|
<CheckDataAction identifier="UFO_GALLIMUX_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="UFO_GALLIMUX" targettag="UFO GALLIMUX" spawnlocation="Outpost" targetmoduletags="crewmodule,DE_SecCrewModule,DE_CrewModule" />
|
|
<TriggerAction target1tag="UFO GALLIMUX" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="UFO GALLIMUX" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="UFO GALLIMUX" text="EventText.UFO_GALLIMUX.c1" eventsprite="crowd">
|
|
<Option text="EventText.UFO_GALLIMUX.o1">
|
|
<ConversationAction targettag="triggerer_player" text="EventText.UFO_GALLIMUX.o1.c1" eventsprite="crowd">
|
|
<Option text="EventText.UFO_GALLIMUX.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="EventText.UFO_GALLIMUX.o1.o1.c1" eventsprite="crowd" />
|
|
<NPCChangeTeamAction npctag="UFO GALLIMUX" teamid="Team1" addtocrew="true" />
|
|
<NPCFollowAction npctag="UFO GALLIMUX" targettag="triggerer_player" follow="false" />
|
|
<SpawnAction speciesname="mudraptor_pet" spawnpointtag="UFO GALLIMUX" targettag="Muddy" teamid="Team1" />
|
|
<SpawnAction itemidentifier="petnametag" targetinventory="Muddy" targettag="Hirocerdonametag" />
|
|
<StatusEffectAction targettag="Hirocerdonametag">
|
|
<StatusEffect target="This" writtenname="Muddy" />
|
|
</StatusEffectAction>
|
|
<SetDataAction identifier="UFO_GALLIMUX_complete" value="true" />
|
|
</Option>
|
|
<Option text="EventText.UFO_GALLIMUX.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="EventText.UFO_GALLIMUX.o1.o2.c1" eventsprite="crowd" />
|
|
<NPCFollowAction npctag="UFO GALLIMUX" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="UFO_GALLIMUX_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
<Option text="EventText.UFO_GALLIMUX.o2">
|
|
<ConversationAction targettag="triggerer_player" text="EventText.UFO_GALLIMUX.o2.c1" eventsprite="crowd" />
|
|
<NPCFollowAction npctag="UFO GALLIMUX" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="UFO_GALLIMUX_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<!--Hatsumaru-->
|
|
<ScriptedEvent identifier="Hatsumaru_spawn" commonness="100">
|
|
<CheckDataAction identifier="Hatsumaru_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<!--Hatsumaru conversation-->
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Hatsumaru" spawnlocation="Outpost" targetmoduletags="engineeringmodule,DE_EngineeringModule,DE_EngineeringModuleNoFab" />
|
|
<TriggerAction target1tag="Hatsumaru" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Hatsumaru" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Hatsumaru" text="eventtext.Hatsumaru.c0" eventsprite="officeinside">
|
|
<Option text="eventtext.Hatsumaru.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hatsumaru.o1.c1" eventsprite="officeinside">
|
|
<Option text="eventtext.Hatsumaru.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hatsumaru.o1.o2.c1" eventsprite="officeinside" />
|
|
<NPCFollowAction npctag="Hatsumaru" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="Hatsumarumission1" />
|
|
<SetDataAction identifier="Hatsumaru_complete" value="true" />
|
|
</Option>
|
|
<Option text="eventtext.Hatsumaru.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hatsumaru.o1.o2.c2" eventsprite="officeinside" />
|
|
<NPCFollowAction npctag="Hatsumaru" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Hatsumaru_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
<Option text="eventtext.Hatsumaru.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hatsumaru.o1.c2" eventsprite="officeinside" />
|
|
<NPCFollowAction npctag="Hatsumaru" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Hatsumaru_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="Hatsumaru_spawn2" commonness="50">
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Hatsumaru" targettag="Hatsumaru" spawnlocation="MainSub" spawnpointtype="Path" allowduplicates="false" />
|
|
<NPCChangeTeamAction npctag="Hatsumaru" teamid="Team1" addtocrew="true" />
|
|
</ScriptedEvent>
|
|
<!--Hunter-->
|
|
<ScriptedEvent identifier="Hunter_spawn" commonness="100">
|
|
<CheckDataAction identifier="Hunter_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<!--Hunter conversation-->
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Hunter" spawnlocation="Outpost" targetmoduletags="medicalmodule,DE_MedicalModule" />
|
|
<TriggerAction target1tag="Hunter" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Hunter" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Hunter" text="eventtext.Hunter.c0" eventsprite="mechanic">
|
|
<Option text="eventtext.Hunter.o0">
|
|
<MoneyAction amount="-50" />
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.c1" eventsprite="mechanic">
|
|
<!--Hunter conversation 1-->
|
|
<Option text="eventtext.Hunter.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.c1" eventsprite="mechanic">
|
|
<Option text="eventtext.Hunter.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.o1.c1" eventsprite="mechanic">
|
|
<Option text="eventtext.Hunter.o1.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.o1.o1.c1" eventsprite="mechanic" />
|
|
<NPCFollowAction npctag="Hunter" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="Huntermission1" />
|
|
<SetDataAction identifier="Hunter_complete" value="true" />
|
|
</Option>
|
|
<Option text="eventtext.Hunter.o1.o1.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.o1.o1.c2" eventsprite="mechanic" />
|
|
<NPCFollowAction npctag="Hunter" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Hunter_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
<!--Hunter conversation 1-->
|
|
<!--Hunter conversation 2-->
|
|
<Option text="eventtext.Hunter.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.c1" eventsprite="mechanic">
|
|
<Option text="eventtext.Hunter.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.o1.c1" eventsprite="mechanic">
|
|
<Option text="eventtext.Hunter.o1.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.o1.o1.c1" eventsprite="mechanic" />
|
|
<NPCFollowAction npctag="Hunter" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="Huntermission1" />
|
|
<SetDataAction identifier="Hunter_complete" value="true" />
|
|
</Option>
|
|
<Option text="eventtext.Hunter.o1.o1.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.o1.o1.o1.c2" eventsprite="mechanic" />
|
|
<NPCFollowAction npctag="Hunter" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Hunter_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
<!--Hunter conversation 2-->
|
|
</ConversationAction>
|
|
</Option>
|
|
<Option text="eventtext.Hunter.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Hunter.o1.c2" />
|
|
<NPCFollowAction npctag="Hunter" targettag="triggerer_player" follow="false" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="Hunter_spawn2" commonness="50">
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Hunter" targettag="Hunter" spawnlocation="MainSub" spawnpointtype="Path" allowduplicates="false" />
|
|
<NPCChangeTeamAction npctag="Hunter" teamid="Team1" addtocrew="true" />
|
|
</ScriptedEvent>
|
|
<!--Reiss story-->
|
|
<!--Reiss Chapter 1-->
|
|
<ScriptedEvent identifier="Reiss_spawn" commonness="100">
|
|
<CheckDataAction identifier="Reiss_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Reiss" targettag="Reiss" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<TriggerAction target1tag="Reiss" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Reiss" text="eventtext.Reiss.c0" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss.o1.c1" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss.o1.o1.c1" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss.o1.o1.o1.c1" eventsprite="Reiss_photo" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="Reissmission" minlocationdistance="1" requiredfaction="separatists" locationtype="Outpost,Military,Research,Mine" CreateLocationIfNotFound="true" />
|
|
<SetDataAction identifier="Reiss_complete" value="true" />
|
|
</Option>
|
|
<Option text="eventtext.Reiss.o1.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss.o1.o1.o1.c2" eventsprite="Reiss_photo" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Reiss_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="ReissRadio" commonness="50">
|
|
<ConversationAction text="eventtext.Reissradio.o0" eventsprite="Reiss_photo" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="ReissRadio_2" commonness="50">
|
|
<ConversationAction text="eventtext.Reissradio.o1" eventsprite="Reiss_photo" />
|
|
<SetDataAction identifier="Reiss_chapter" value="2" />
|
|
</ScriptedEvent>
|
|
<!--Reiss Chapter 1-->
|
|
<!--Reiss Chapter 2-->
|
|
<ScriptedEvent identifier="Reiss_spawn_2" commonness="100">
|
|
<CheckDataAction identifier="Reiss_chapter" condition="eq 2">
|
|
<Success>
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Reiss" targettag="Reiss" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<TriggerAction target1tag="Reiss" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Reiss" text="eventtext.Reiss2.c0" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss2.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss2.o1.c1" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss2.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss2.o1.o1.c1" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss2.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss2.o1.o1.o1.c1" eventsprite="Reiss_photo" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="Reissmission_2" locationtype="Military" requiredfaction="separatists" minlocationdistance="1" CreateLocationIfNotFound="true" />
|
|
<SpawnAction itemidentifier="paralyzant" amount="5" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="syringegun" amount="1" targetinventory="triggerer_player" />
|
|
<SetDataAction identifier="Reiss_chapter" value="0" />
|
|
</Option>
|
|
<Option text="eventtext.Reiss2.o1.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss2.o1.o1.o1.c2" eventsprite="Reiss_photo" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Reiss_chapter" value="0" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Success>
|
|
<Failure>
|
|
<!--Don't repeat event-->
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="Ritatalk" commonness="50">
|
|
<TagAction criteria="player" tag="player" />
|
|
<TagAction criteria="humanprefabidentifier:Rita_prisoner" tag="Rita" />
|
|
<TriggerAction target1tag="Rita" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Rita" text="eventtext.Rita.c0" eventsprite="HeartOfGold" />
|
|
<!-- trigger alarm if any of the prisoners are close to security -->
|
|
<TriggerAction target1tag="Rita" target2tag="securitynpc" applytotarget1="triggerer_prisoner" applytotarget2="triggerer_securitynpc" disableiftargetincapacitated="false" radius="200" waitforinteraction="false" />
|
|
<NPCFollowAction npctag="triggerer_prisoner" targettag="triggerer_securitynpc" follow="true" />
|
|
<WaitAction time="3" />
|
|
<TagAction criteria="itemtag:securityalarm" submarinetype="Outpost" tag="alarmbutton" />
|
|
<StatusEffectAction targettag="alarmbutton">
|
|
<StatusEffect State="true" target="This" />
|
|
</StatusEffectAction>
|
|
<ConversationAction text="EventText.jailbreak_alarm.c1" eventsprite="NoticeBoard" ContinueAutomatically="true" />
|
|
<NPCFollowAction npctag="triggerer_prisoner" targettag="triggerer_securitynpc" follow="false" />
|
|
<NPCChangeTeamAction npctag="securitynpc" teamid="Team2" />
|
|
<NPCChangeTeamAction npctag="outpostmanager" teamid="Team2" />
|
|
<NPCChangeTeamAction npctag="triggerer_prisoner" teamid="Team1" addtocrew="false" />
|
|
</ScriptedEvent>
|
|
<!--Reiss Chapter 2-->
|
|
<!--Reiss Chapter 3-->
|
|
<ScriptedEvent identifier="Reiss_spawn_3" commonness="100">
|
|
<CheckDataAction identifier="Reiss_chapter" condition="eq 3">
|
|
<Success>
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Reiss" targettag="Reiss" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Rita" targettag="Rita" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Fiery" targettag="CoalitionSoldiers" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Lucapoke" targettag="CoalitionSoldiers" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Havel" targettag="CoalitionSoldiers" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<NPCFollowAction npctag="Rita" targettag="Reiss" follow="true" />
|
|
<NPCFollowAction npctag="CoalitionSoldiers" targettag="Reiss" follow="true" />
|
|
<TriggerAction target1tag="Reiss" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Reiss" text="eventtext.Reiss3.c0" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss3.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss3.o1.c1" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss3.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss3.o1.o1.c1" eventsprite="Reiss_photo" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="Reissmission_3" locationtype="RebelBase" minlocationdistance="1" CreateLocationIfNotFound="true" />
|
|
<NPCFollowAction npctag="Rita" targettag="Reiss" follow="false" />
|
|
<NPCFollowAction npctag="Rita" targettag="triggerer_player" follow="true" />
|
|
<NPCFollowAction npctag="CoalitionSoldiers" targettag="Reiss" follow="false" />
|
|
<NPCFollowAction npctag="CoalitionSoldiers" targettag="triggerer_player" follow="true" />
|
|
<TriggerEventAction identifier="Ritatalk2" />
|
|
<TriggerEventAction identifier="Soldiertalk" />
|
|
<SetDataAction identifier="Reiss_chapter" value="0" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Success>
|
|
<Failure>
|
|
<!--Don't repeat event-->
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="Ritatalk2" commonness="50">
|
|
<TagAction criteria="player" tag="player" />
|
|
<TagAction criteria="humanprefabidentifier:Rita" tag="Rita" />
|
|
<TriggerAction target1tag="Rita" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Rita" text="eventtext.Ritatalk2.c0" eventsprite="HeartOfGold">
|
|
<Option text="eventtext.Ritatalk2.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Ritatalk2.o1.c1" eventsprite="HeartOfGold" />
|
|
<SpawnAction itemidentifier="handcannonround" amount="12" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="handcannon" amount="1" targetinventory="triggerer_player" />
|
|
<NPCFollowAction npctag="Rita" targettag="triggerer_player" follow="false" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="Soldiertalk" commonness="50">
|
|
<TagAction criteria="player" tag="player" />
|
|
<TagAction criteria="humanprefabidentifier:Fiery" tag="Fiery" />
|
|
<TagAction criteria="humanprefabidentifier:Lucapoke" tag="Lucapoke" />
|
|
<TagAction criteria="humanprefabidentifier:Havel" tag="Havel" />
|
|
<TriggerAction target1tag="Havel" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Havel" targettag="triggerer_player" follow="true" />
|
|
<NPCFollowAction npctag="Fiery" targettag="Havel" follow="true" />
|
|
<NPCFollowAction npctag="Lucapoke" targettag="Havel" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Havel" text="eventtext.Soldiertalk.c0" eventsprite="Infiltration1">
|
|
<Option text="eventtext.Soldiertalk.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Soldiertalk.o1.c1" eventsprite="Infiltration1" />
|
|
<NPCFollowAction npctag="Havel" targettag="triggerer_player" follow="false" />
|
|
<NPCFollowAction npctag="CoalitionSoldiers" targettag="Havel" follow="false" />
|
|
<NPCChangeTeamAction npctag="Lucapoke" teamid="Team1" addtocrew="true" />
|
|
<NPCChangeTeamAction npctag="Havel" teamid="Team1" addtocrew="true" />
|
|
<NPCChangeTeamAction npctag="Fiery" teamid="Team1" addtocrew="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="testReiss3" commonness="50">
|
|
<SetDataAction identifier="Reiss_chapter" value="3" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="SeparatistsRadio" commonness="50">
|
|
<ConversationAction text="eventtext.SeparatistsRadio.o0" eventsprite="officeinside" />
|
|
<TagAction criteria="hullname:airlock" tag="airlock" submarinetype="player" />
|
|
<TagAction criteria="crew" tag="blue" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="RebelGuard" teamid="Team2" targettag="Invaders" spawnlocation="MainSub" SpawnPointTag="airlock" allowduplicates="true" Amount="3" />
|
|
<CombatAction combatmode="Offensive" npctag="Invaders" enemytag="blue" isinstigator="true" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="WhereisRebel" commonness="50">
|
|
<ConversationAction text="eventtext.WhereisRebel.o0" />
|
|
<TagAction criteria="player" tag="player" />
|
|
<TagAction criteria="itemidentifier:surveillancecenter" tag="Alertmachine" submarinetype="outpost" />
|
|
<TagAction criteria="itemidentifier:sonarmonitor" tag="Alertmachine" submarinetype="outpost" />
|
|
<TagAction criteria="itemidentifier:navterminal" tag="Alertmachine" />
|
|
<TriggerAction target1tag="Alertmachine" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.WhereisRebel.o1" />
|
|
<MissionAction missionidentifier="Reissmission_4" />
|
|
</ScriptedEvent>
|
|
<!--Reiss Chapter 4-->
|
|
<ScriptedEvent identifier="FieryTalk" commonness="50">
|
|
<TagAction criteria="player" tag="player" />
|
|
<TagAction criteria="humanprefabidentifier:Fiery" tag="Fiery" submarinetype="player" />
|
|
<TriggerAction target1tag="Fiery" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Fiery" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Fiery" text="eventtext.Fiery.c0" eventsprite="ManAndHisRaptor" />
|
|
<NPCFollowAction npctag="Fiery" targettag="triggerer_player" follow="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="LucapokeTalk" commonness="50">
|
|
<TagAction criteria="player" tag="player" />
|
|
<TagAction criteria="humanprefabidentifier:Lucapoke" tag="Lucapoke" submarinetype="player" />
|
|
<TriggerAction target1tag="Lucapoke" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Lucapoke" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Lucapoke" text="eventtext.Lucapoke.c0" eventsprite="GuyWithAlcohol" />
|
|
<NPCFollowAction npctag="Lucapoke" targettag="triggerer_player" follow="false" />
|
|
<SpawnAction itemidentifier="beerbottle1" amount="1" targetinventory="triggerer_player" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="HavelTalk" commonness="50">
|
|
<TagAction criteria="player" tag="player" />
|
|
<TagAction criteria="humanprefabidentifier:Havel" tag="Havel" submarinetype="player" />
|
|
<TriggerAction target1tag="Havel" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Havel" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Havel" text="eventtext.Havel.c0" eventsprite="Infiltration1" />
|
|
<NPCFollowAction npctag="Havel" targettag="triggerer_player" follow="false" />
|
|
</ScriptedEvent>
|
|
<!--Reiss Chapter Final-->
|
|
<ScriptedEvent identifier="Reiss_spawn_4" commonness="100">
|
|
<CheckDataAction identifier="Reiss_chapter" condition="eq 4">
|
|
<Success>
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Reiss" targettag="Reiss" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<TriggerAction target1tag="Reiss" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Reiss" text="eventtext.Reiss4.c0" eventsprite="Reiss_photo">
|
|
<Option text="eventtext.Reiss4.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Reiss4.o1.c1" eventsprite="Reiss_photo" />
|
|
<SpawnAction itemidentifier="coalitionmedal" amount="1" targetinventory="triggerer_player" />
|
|
<NPCFollowAction npctag="Reiss" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Reiss_chapter" value="0" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Success>
|
|
<Failure>
|
|
<!--Don't repeat event-->
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<!--Fabrizio Valderrama-->
|
|
<ScriptedEvent identifier="Fabrizio_spawn_01" commonness="100">
|
|
<CheckDataAction identifier="FabrizioQuest_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Fabrizio_Valderrama" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<TriggerAction target1tag="Fabrizio_Valderrama" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Fabrizio_Valderrama" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Fabrizio_Valderrama" text="eventtext.Fabrizio.c0" eventsprite="oldman">
|
|
<Option text="eventtext.Fabrizio.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Fabrizio.o1.c1" eventsprite="oldman">
|
|
<Option text="eventtext.Fabrizio.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Fabrizio.o1.o1.c1" eventsprite="cultist">
|
|
<Option text="eventtext.Fabrizio.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Fabrizio.o1.o1.o1.c1" eventsprite="oldman">
|
|
<Option text="eventtext.Fabrizio.o1.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Fabrizio.o1.o1.o1.o1.c1" eventsprite="oldman" />
|
|
<SetDataAction identifier="FabrizioQuest_complete" value="true" />
|
|
<MissionAction missionidentifier="FabrizioMissions.01" minlocationdistance="1" locationtype="AbandonedMissions" CreateLocationIfNotFound="true" />
|
|
<NPCFollowAction npctag="Fabrizio_Valderrama" targettag="triggerer_player" follow="false" />
|
|
</Option>
|
|
<Option text="eventtext.Fabrizio.o1.o1.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Fabrizio.o1.o1.o1.o1.c2" eventsprite="oldman" />
|
|
<NPCFollowAction npctag="Fabrizio_Valderrama" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="FabrizioQuest_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="Fabrizio_MissionSpawn" commonness="100">
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Fabrizio_Valderrama" spawnlocation="MainSub" spawnpointtype="Path" allowduplicates="false" />
|
|
<NPCFollowAction npctag="Fabrizio_Valderrama" targettag="player" follow="true" />
|
|
<TriggerAction target1tag="Fabrizio_Valderrama" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Fabrizio_Valderrama" text="eventtext.Fabrizio.2.c0" eventsprite="oldman">
|
|
<Option text="eventtext.Fabrizio.2.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Fabrizio.2.o0.c1" eventsprite="oldman">
|
|
<Option text="eventtext.Fabrizio.2.o0.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Fabrizio.2.o0.o1.c1" eventsprite="cultist">
|
|
<Option text="eventtext.Fabrizio.2.o0.o1.o1" endconversation="true">
|
|
<NPCFollowAction npctag="Fabrizio_Valderrama" targettag="triggerer_player" follow="false" />
|
|
<SpawnAction npcsetidentifier="abandonedoutpostnpcs" npcidentifier="huskextremist" TargetTag="suvivorHusks" targetmoduletags="AbandonedAdminModule" Amount="4" TeamID="2" />
|
|
<CombatAction combatmode="Offensive" npctag="suvivorHusks" enemytag="triggerer_player" isinstigator="true" />
|
|
<CombatAction combatmode="Offensive" npctag="Fabrizio_Valderrama" enemytag="suvivorHusks" isinstigator="true" />
|
|
<WaitAction time="30" />
|
|
<TagAction criteria="player" tag="player" />
|
|
<TriggerAction target1tag="Fabrizio_Valderrama" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Fabrizio_Valderrama" text="eventtext.Fabrizio.2.nohusks" eventsprite="oldman" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--<ScriptedEvent identifier="Fabrizio_Mission_DeadHusks" commonness="100">
|
|
|
|
</ScriptedEvent>-->
|
|
<!--Andersong-->
|
|
<ScriptedEvent identifier="Andersong_spawn" commonness="100">
|
|
<CheckDataAction identifier="Andersong_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<!--Andersong conversation-->
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Andersong" spawnlocation="Outpost" targetmoduletags="airlock,DE_CrewModule,DE_SecCrewModule" />
|
|
<TriggerAction target1tag="Andersong" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Andersong" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Andersong" text="eventtext.Andersong.c0" eventsprite="note">
|
|
<Option text="eventtext.Andersong.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Andersong.o1.c1" eventsprite="note">
|
|
<Option text="eventtext.Andersong.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Andersong.o1.o2.c1" eventsprite="note" />
|
|
<NPCFollowAction npctag="Andersong" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="AndersongMission" />
|
|
<SetDataAction identifier="Andersong_complete" value="true" />
|
|
</Option>
|
|
<Option text="eventtext.Andersong.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Andersong.o1.o2.c2" eventsprite="note" />
|
|
<NPCFollowAction npctag="Andersong" targettag="triggerer_player" follow="false" />
|
|
<CombatAction combatmode="Offensive" npctag="Andersong" enemytag="triggerer_player" isinstigator="true" guardreaction="arrest" witnessreaction="retreat" />
|
|
<NPCChangeTeamAction npctag="Andersong" teamid="Team2" />
|
|
<SetDataAction identifier="Andersong_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
<Option text="eventtext.Andersong.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Andersong.o1.c2" eventsprite="note" />
|
|
<NPCFollowAction npctag="Andersong" targettag="triggerer_player" follow="false" />
|
|
<CombatAction combatmode="Offensive" npctag="Andersong" enemytag="triggerer_player" isinstigator="true" guardreaction="arrest" witnessreaction="retreat" />
|
|
<NPCChangeTeamAction npctag="Andersong" teamid="Team2" />
|
|
<SetDataAction identifier="Andersong_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="Andersong_spawn2" commonness="50">
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Andersong" targettag="Andersong" spawnlocation="MainSub" spawnpointtype="Path" allowduplicates="false" />
|
|
<NPCChangeTeamAction npctag="Andersong" teamid="Team1" addtocrew="true" />
|
|
</ScriptedEvent>
|
|
<!--Sujely-->
|
|
<ScriptedEvent identifier="Sujely_spawn" commonness="100">
|
|
<CheckDataAction identifier="Sujely_complete" condition="eq true">
|
|
<Success>
|
|
<!--Don't repeat event-->
|
|
</Success>
|
|
<Failure>
|
|
<!--Sujely conversation-->
|
|
<TagAction criteria="player" tag="player" />
|
|
<SpawnAction npcsetidentifier="OutpostnewNpcs" npcidentifier="Sujely" spawnlocation="Outpost" targetmoduletags="adminmodule,DE_AdminModule" />
|
|
<TriggerAction target1tag="Sujely" target2tag="player" applytotarget2="triggerer_player" waitforinteraction="true" />
|
|
<NPCFollowAction npctag="Sujely" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" speakertag="Sujely" text="eventtext.Sujely.c0" eventsprite="captain">
|
|
<Option text="eventtext.Sujely.o0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Sujely.o1.c1" eventsprite="captain">
|
|
<Option text="eventtext.Sujely.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Sujely.o1.o1.c1" eventsprite="captain">
|
|
<Option text="eventtext.Sujely.o1.o1.o1">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Sujely.o1.o1.o1.c1" eventsprite="captain" />
|
|
<NPCFollowAction npctag="Sujely" targettag="triggerer_player" follow="false" />
|
|
<MissionAction missionidentifier="WorkerPirates" />
|
|
<SetDataAction identifier="Sujely_complete" value="true" />
|
|
</Option>
|
|
<Option text="eventtext.Sujely.o1.o1.o2">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Sujely.o1.o1.o1.c2" eventsprite="captain" />
|
|
<NPCFollowAction npctag="Sujely" targettag="triggerer_player" follow="false" />
|
|
<SetDataAction identifier="Sujely_complete" value="true" />
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Option>
|
|
</ConversationAction>
|
|
</Failure>
|
|
</CheckDataAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="DavidRadio" commonness="50">
|
|
<ConversationAction text="eventtext.Davidradio.o0" eventsprite="engineer" />
|
|
</ScriptedEvent>
|
|
<!--AdminRescue-->
|
|
<ScriptedEvent identifier="mcfe_Mudraptor_eggs" commonness="80">
|
|
<SpawnAction itemidentifier="largemudraptoregg" amount="1" TargetModuleTags="DryCaveLarge,MinemModule" SpawnPointTag="drycave_monster" />
|
|
<SpawnAction itemidentifier="largemudraptoregg" amount="1" TargetModuleTags="DryCaveLarge,MinemModule" SpawnPointTag="drycave_monster" />
|
|
<SpawnAction itemidentifier="largemudraptoregg" amount="1" TargetModuleTags="DryCaveLarge,MinemModule" SpawnPointTag="drycave_monster" />
|
|
<SpawnAction itemidentifier="largemudraptoregg" amount="1" TargetModuleTags="DryCaveLarge,MinemModule" SpawnPointTag="drycave_monster" />
|
|
<SpawnAction itemidentifier="largemudraptoregg" amount="1" TargetModuleTags="DryCaveLarge,MinemModule" SpawnPointTag="drycave_monster" />
|
|
<SpawnAction itemidentifier="MCFE_glowstick" amount="1" TargetModuleTags="DryCaveLarge,MinemModule" SpawnPointTag="drycave_monster" />
|
|
<SpawnAction itemidentifier="MCFE_glowstick" amount="1" TargetModuleTags="DryCaveLarge,MinemModule" SpawnPointTag="drycave_monster" />
|
|
<SpawnAction SpeciesName="mudraptor" amount="1" TargetModuleTags="DryCaveEntrance,EngineeringModule" ContinueIfFailedToSpawn="true" />
|
|
</ScriptedEvent>
|
|
<!--First Difficulty-->
|
|
<!--Coalition-->
|
|
<ScriptedEvent identifier="MinersRescueCoalition1" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.MinersRescue.c1" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="ambush">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.adminrescueo1" eventsprite="ambush" />
|
|
<MissionAction missionidentifier="RescueminersColition1" minlocationdistance="1" maxlocationdistance="2" requiredfaction="coalition" locationtype="Mine" CreateLocationIfNotFound="true" />
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--Coalition-->
|
|
<!--Separatists-->
|
|
<ScriptedEvent identifier="MinersRescueSeparatists1" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.MinersRescue.c1" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="ambush">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.adminrescueo1" eventsprite="ambush" />
|
|
<MissionAction missionidentifier="RescueminersSeparatists1" minlocationdistance="1" maxlocationdistance="2" requiredfaction="separatists" locationtype="Mine" CreateLocationIfNotFound="true" />
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--Separatists-->
|
|
<!--First Difficulty-->
|
|
<!--Second Difficulty-->
|
|
<!--Coalition-->
|
|
<ScriptedEvent identifier="MinersRescueCoalition2" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.MinersRescue.c1" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="ambush">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.adminrescueo1" eventsprite="ambush" />
|
|
<MissionAction missionidentifier="RescueminersColition2" minlocationdistance="1" maxlocationdistance="2" requiredfaction="coalition" locationtype="Mine" CreateLocationIfNotFound="true" />
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--Coalition-->
|
|
<!--Separatists-->
|
|
<ScriptedEvent identifier="MinersRescueSeparatists2" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.MinersRescue.c1" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="ambush">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.adminrescueo1" eventsprite="ambush" />
|
|
<MissionAction missionidentifier="RescueminersSeparatists2" minlocationdistance="1" maxlocationdistance="2" requiredfaction="separatists" locationtype="Mine" CreateLocationIfNotFound="true" />
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--Separatists-->
|
|
<!--Second Difficulty-->
|
|
<!--Third Difficulty-->
|
|
<ScriptedEvent identifier="MinersRescueCoalition3" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.MinersRescue.c1" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="ambush">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.adminrescueo1" eventsprite="ambush" />
|
|
<MissionAction missionidentifier="RescueminersColition3" minlocationdistance="1" maxlocationdistance="2" requiredfaction="coalition" locationtype="Mine" CreateLocationIfNotFound="true" />
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--Coalition-->
|
|
<!--Separatists-->
|
|
<ScriptedEvent identifier="MinersRescueSeparatists3" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.MinersRescue.c1" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="ambush">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.adminrescueo1" eventsprite="ambush" />
|
|
<MissionAction missionidentifier="RescueminersSeparatists3" minlocationdistance="1" maxlocationdistance="2" requiredfaction="separatists" locationtype="Mine" CreateLocationIfNotFound="true" />
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--Separatists-->
|
|
<!--Third Difficulty-->
|
|
<!--AdminRescue-->
|
|
<ScriptedEvent identifier="HusktoCitiezens">
|
|
<AfflictionAction targettag="huskedcitizen" affliction="huskinfection" strength="100" />
|
|
<AfflictionAction targettag="acidreaction" affliction="huskinfection" strength="120" />
|
|
</ScriptedEvent>
|
|
<!--DestroyOutposts-->
|
|
<ScriptedEvent identifier="DestroyEnemyOutpost_coalition" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.outpostsDestroy.c1" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="BombScare1">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="EventText.adminoutpostdestroy.c1" eventsprite="BombScare1" />
|
|
<MissionAction missiontag="MCFE_OutpostDestroy_Coalition" minlocationdistance="1" maxlocationdistance="2" requiredfaction="separatists" locationtype="Outpost_of_surveillance" CreateLocationIfNotFound="true" />
|
|
<RNGAction chance="0.35">
|
|
<Success>
|
|
<RNGAction chance="0.25">
|
|
<Success>
|
|
<SpawnAction itemidentifier="riotshield" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="revolverround" amount="12" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="revolver" amount="1" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.30">
|
|
<Success>
|
|
<SpawnAction itemidentifier="stungrenade" amount="2" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="fraggrenade" amount="1" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.30">
|
|
<Success>
|
|
<SpawnAction itemidentifier="harpoongun" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="explosivespear" amount="3" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.50">
|
|
<Success>
|
|
<SpawnAction itemidentifier="machinepistol" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="smgmagazine" amount="3" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.05">
|
|
<Success>
|
|
<SpawnAction itemidentifier="MCFE_Reactorexploder" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="timeddetonator" amount="1" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<SpawnAction itemidentifier="coalitioncommendation" amount="1" targetinventory="triggerer_player" />
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Success>
|
|
<Failure>
|
|
<!--Nothing-->
|
|
<SpawnAction itemidentifier="coalitioncommendation" amount="1" targetinventory="triggerer_player" />
|
|
</Failure>
|
|
</RNGAction>
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="DestroyEnemyOutpost_separatists" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="EventText.outpostsDestroy.v2" speakertag="outpostmanager" invokertag="triggerer_player" endeventifinterrupted="false" eventsprite="BombScare1">
|
|
<Option text="EventText.adminrescue0">
|
|
<ConversationAction targettag="triggerer_player" text="EventText.adminoutpostdestroy.s1" eventsprite="BombScare1" />
|
|
<MissionAction missiontag="_MCFE_OutpostDestroy_Separatists" minlocationdistance="1" maxlocationdistance="2" requiredfaction="coalition" locationtype="Outpost_of_surveillance" CreateLocationIfNotFound="true" />
|
|
<RNGAction chance="0.35">
|
|
<Success>
|
|
<RNGAction chance="0.25">
|
|
<Success>
|
|
<SpawnAction itemidentifier="riotshield" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="revolverround" amount="12" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="revolver" amount="1" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.30">
|
|
<Success>
|
|
<SpawnAction itemidentifier="stungrenade" amount="2" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="fraggrenade" amount="1" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.30">
|
|
<Success>
|
|
<SpawnAction itemidentifier="harpoongun" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="explosivespear" amount="3" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.50">
|
|
<Success>
|
|
<SpawnAction itemidentifier="machinepistol" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="smgmagazine" amount="3" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<RNGAction chance="0.05">
|
|
<Success>
|
|
<SpawnAction itemidentifier="MCFE_Reactorexploder" amount="1" targetinventory="triggerer_player" />
|
|
<SpawnAction itemidentifier="timeddetonator" amount="1" targetinventory="triggerer_player" />
|
|
</Success>
|
|
<Failure>
|
|
<SpawnAction itemidentifier="coalitioncommendation" amount="1" targetinventory="triggerer_player" />
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Failure>
|
|
</RNGAction>
|
|
</Success>
|
|
<Failure>
|
|
<!--Nothing-->
|
|
<SpawnAction itemidentifier="coalitioncommendation" amount="1" targetinventory="triggerer_player" />
|
|
</Failure>
|
|
</RNGAction>
|
|
</Option>
|
|
<Option text="EventText.adminrescue1">
|
|
<!--Reject the mission-->
|
|
</Option>
|
|
</ConversationAction>
|
|
</ScriptedEvent>
|
|
<!--locationtype="Mine,Outpost,Military,Research,City,settlement,colony,camp,base,blockade,study,clinic,hospital,hydroponics,factory,shipyard"-->
|
|
<ScriptedEvent identifier="ExplosionOutposts">
|
|
<ModifyLocationAction type="Abandoned" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="ExplosionOutposts_Patrol_separatists">
|
|
<TagAction criteria="itemidentifier:MCFE_EnergyGenerator" submarinetype="Outpost" tag="energygenerator" />
|
|
<Label name="patrolwait" />
|
|
<TagAction criteria="crew" tag="playerscrew" />
|
|
<CheckConditionalAction targettag="energygenerator">
|
|
<Conditional condition="lte 0" />
|
|
<Success>
|
|
<ConversationAction text="EventText.OutpostDestroyAlarm.c1" eventsprite="Stuckinthemiddle1" ContinueAutomatically="true" />
|
|
<NPCChangeTeamAction npctag="securitynpc" teamid="Team2" />
|
|
<NPCChangeTeamAction npctag="outpostmanager" teamid="Team2" />
|
|
<CombatAction combatmode="Offensive" npctag="securitynpc" enemytag="playerscrew" isinstigator="true" guardreaction="arrest" witnessreaction="retreat" />
|
|
<!-- Activación de alarmas físicas -->
|
|
<TagAction criteria="itemtag:securityalarm" submarinetype="Outpost" tag="alarmbutton" />
|
|
<StatusEffectAction targettag="alarmbutton">
|
|
<StatusEffect State="true" target="This" />
|
|
</StatusEffectAction>
|
|
</Success>
|
|
<Failure>
|
|
<WaitAction time="2" />
|
|
<Goto name="patrolwait" />
|
|
</Failure>
|
|
</CheckConditionalAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="ExplosionOutposts_Welcome_separatists">
|
|
<CheckReputationAction targettype="faction" identifier="separatists" condition="lte -61">
|
|
<Success>
|
|
<!--Nothing-->
|
|
</Success>
|
|
<Failure>
|
|
<TagAction criteria="player" tag="player" />
|
|
<TriggerAction target1tag="player" target2tag="securitynpc" applytotarget1="triggerer_player" applytotarget2="triggerer_securitynpc" disableiftargetincapacitated="false" radius="200" waitforinteraction="false" />
|
|
<NPCFollowAction npctag="triggerer_securitynpc" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Secwelcome.c1" eventsprite="Stuckinthemiddle1" ContinueAutomatically="true" />
|
|
<NPCFollowAction npctag="triggerer_securitynpc" targettag="triggerer_player" follow="false" />
|
|
<ClearTagAction tag="triggerer_player" />
|
|
<ClearTagAction tag="triggerer_securitynpc" />
|
|
<WaitAction time="300" />
|
|
<ConversationAction text="eventtext.Secwelcome.c2" eventsprite="Stuckinthemiddle1" ContinueAutomatically="true" />
|
|
<TagAction criteria="crew" tag="playerscrew" />
|
|
<NPCChangeTeamAction npctag="securitynpc" teamid="Team2" />
|
|
<NPCChangeTeamAction npctag="outpostmanager" teamid="Team2" />
|
|
<CombatAction combatmode="Offensive" npctag="securitynpc" enemytag="playerscrew" isinstigator="true" guardreaction="arrest" witnessreaction="retreat" />
|
|
</Failure>
|
|
</CheckReputationAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="ExplosionOutposts_Patrol_coalition">
|
|
<TagAction criteria="itemidentifier:MCFE_EnergyGenerator" submarinetype="Outpost" tag="energygenerator" />
|
|
<Label name="patrolwait" />
|
|
<TagAction criteria="crew" tag="playerscrew" />
|
|
<CheckConditionalAction targettag="energygenerator">
|
|
<Conditional condition="lte 0" />
|
|
<Success>
|
|
<ConversationAction text="EventText.OutpostDestroyAlarm.c1" eventsprite="Infiltration1" ContinueAutomatically="true" />
|
|
<NPCChangeTeamAction npctag="securitynpc" teamid="Team2" />
|
|
<NPCChangeTeamAction npctag="outpostmanager" teamid="Team2" />
|
|
<CombatAction combatmode="Offensive" npctag="securitynpc" enemytag="playerscrew" isinstigator="true" guardreaction="arrest" witnessreaction="retreat" />
|
|
<!-- Activación de alarmas físicas -->
|
|
<TagAction criteria="itemtag:securityalarm" submarinetype="Outpost" tag="alarmbutton" />
|
|
<StatusEffectAction targettag="alarmbutton">
|
|
<StatusEffect State="true" target="This" />
|
|
</StatusEffectAction>
|
|
</Success>
|
|
<Failure>
|
|
<WaitAction time="2" />
|
|
<Goto name="patrolwait" />
|
|
</Failure>
|
|
</CheckConditionalAction>
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="ExplosionOutposts_Welcome_coalition">
|
|
<CheckReputationAction targettype="faction" identifier="coalition" condition="lte -61">
|
|
<Success>
|
|
<!--Nothing-->
|
|
</Success>
|
|
<Failure>
|
|
<TagAction criteria="player" tag="player" />
|
|
<TriggerAction target1tag="player" target2tag="securitynpc" applytotarget1="triggerer_player" applytotarget2="triggerer_securitynpc" disableiftargetincapacitated="false" radius="200" waitforinteraction="false" />
|
|
<NPCFollowAction npctag="triggerer_securitynpc" targettag="triggerer_player" follow="true" />
|
|
<ConversationAction targettag="triggerer_player" text="eventtext.Secwelcome.c1" eventsprite="Infiltration1" ContinueAutomatically="true" />
|
|
<NPCFollowAction npctag="triggerer_securitynpc" targettag="triggerer_player" follow="false" />
|
|
<ClearTagAction tag="triggerer_player" />
|
|
<ClearTagAction tag="triggerer_securitynpc" />
|
|
<WaitAction time="300" />
|
|
<ConversationAction text="eventtext.Secwelcome.c2" eventsprite="Infiltration1" ContinueAutomatically="true" />
|
|
<TagAction criteria="crew" tag="playerscrew" />
|
|
<NPCChangeTeamAction npctag="securitynpc" teamid="Team2" />
|
|
<NPCChangeTeamAction npctag="outpostmanager" teamid="Team2" />
|
|
<CombatAction combatmode="Offensive" npctag="securitynpc" enemytag="playerscrew" isinstigator="true" guardreaction="arrest" witnessreaction="retreat" />
|
|
</Failure>
|
|
</CheckReputationAction>
|
|
</ScriptedEvent>
|
|
<!--NPC missions-->
|
|
<!--BanditsEncounter
|
|
<ScriptedEvent identifier="MCFE_Bandit_ambush" commonness="100">
|
|
<CheckMoneyAction Amount="20000">
|
|
<Success>
|
|
<RNGAction chance="1.0">
|
|
<Success>
|
|
<MissionAction missiontag="MCFE_Bandit_Vessels_Attack" />
|
|
</Success>
|
|
<Failure>
|
|
|
|
</Failure>
|
|
</RNGAction>
|
|
</Success>
|
|
<Failure>
|
|
|
|
</Failure>
|
|
</CheckMoneyAction>
|
|
</ScriptedEvent>-->
|
|
<!--WRECKS-->
|
|
<ScriptedEvent identifier="clowncavewreck" commonness="40">
|
|
<NPCWaitAction npctag="clown" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_clowncargo.c1" speakertag="clown" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagecavecargoclown" />
|
|
<NPCWaitAction npctag="clown" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="huskcavewreck" commonness="40">
|
|
<NPCWaitAction npctag="huskcultist" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_huskcargo.c1" speakertag="huskcultist" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagecavecargohusk" />
|
|
<NPCWaitAction npctag="huskcultist" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="clowncargowreck" commonness="40">
|
|
<NPCWaitAction npctag="clown" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_lostcargoclown.c1" speakertag="clown" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagewreckcargoclown" />
|
|
<NPCWaitAction npctag="clown" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="huskcargowreck" commonness="40">
|
|
<NPCWaitAction npctag="huskcultist" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_lostcargohusk.c1" speakertag="huskcultist" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagewreckcargohusk" />
|
|
<NPCWaitAction npctag="huskcultist" wait="false" />
|
|
</ScriptedEvent>
|
|
<!--Dynamic-->
|
|
<ScriptedEvent identifier="clowncavewreckDynamic" commonness="40">
|
|
<NPCWaitAction npctag="clown" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_clowncargo.c1" speakertag="clown" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagecavecargoclown" />
|
|
<NPCWaitAction npctag="outpostmanager" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="huskcavewreckDynamic" commonness="40">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_huskcargo.c1" speakertag="outpostmanager" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagecavecargohusk" />
|
|
<NPCWaitAction npctag="outpostmanager" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="clowncargowreckDynamic" commonness="40">
|
|
<NPCWaitAction npctag="clown" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_lostcargoclown.c1" speakertag="clown" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagewreckcargoclown" />
|
|
<NPCWaitAction npctag="outpostmanager" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="huskcargowreckDynamic" commonness="40">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_lostcargohusk.c1" speakertag="outpostmanager" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="salvagewreckcargohusk" />
|
|
<NPCWaitAction npctag="outpostmanager" wait="false" />
|
|
</ScriptedEvent>
|
|
<!--VESSELS-->
|
|
<ScriptedEvent identifier="MCFE_Bandit_Vessels" commonness="80">
|
|
<NPCWaitAction npctag="outpostmanager" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_bandit1.c1" speakertag="outpostmanager" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="MCFE_Bandit_Vessels" />
|
|
<NPCWaitAction npctag="outpostmanager" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="MCFE_Clown_Vessels" commonness="40">
|
|
<NPCWaitAction npctag="huskcultist" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_clownpirates.c1" speakertag="huskcultist" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="MCFE_Clown_Vessels" />
|
|
<NPCWaitAction npctag="huskcultist" wait="false" />
|
|
</ScriptedEvent>
|
|
<ScriptedEvent identifier="MCFE_HuskCult_Vessels" commonness="40">
|
|
<NPCWaitAction npctag="clown" wait="true" />
|
|
<ConversationAction text="eventtext.missionevent_huskcultpirates.c1" speakertag="clown" endeventifinterrupted="false" dialogtype="Small" />
|
|
<MissionAction missiontag="MCFE_HuskCult_Vessels" />
|
|
<NPCWaitAction npctag="clown" wait="false" />
|
|
</ScriptedEvent>-->
|
|
<!--Dynamic--><ScriptedEvent identifier="MCFE_Clown_Vessels_Dynamic" commonness="80"><NPCWaitAction npctag="clown" wait="true" /><ConversationAction text="eventtext.missionevent_huskcultpirates.c1" speakertag="clown" endeventifinterrupted="false" dialogtype="Small" /><MissionAction missiontag="MCFE_HuskCult_Vessels" /><NPCWaitAction npctag="outpostmanager" wait="false" /></ScriptedEvent><ScriptedEvent identifier="MCFE_HuskCult_Vessels_Dynamic" commonness="80"><NPCWaitAction npctag="outpostmanager" wait="true" /><ConversationAction text="eventtext.missionevent_clownpirates.c1" speakertag="outpostmanager" endeventifinterrupted="false" dialogtype="Small" /><MissionAction missiontag="MCFE_Clown_Vessels" /><NPCWaitAction npctag="outpostmanager" wait="false" /></ScriptedEvent><!--Dynamic--><ScriptedEvent identifier="SectarianPrisoners"><TagAction criteria="humanprefabidentifier:huskcultprisoner" tag="huskprisoner" /><!--<AfflictionAction targettag="huskprisoner" affliction="huskinfection" strength="100" />--><AfflictionAction targettag="huskprisoner" affliction="internaldamage" strength="200" /></ScriptedEvent></EventPrefabs>
|
|
</Randomevents> |