Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Biohazard063
Posts: 412
Joined: Fri Feb 14, 2014 4:38 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Biohazard063 » Fri Sep 25, 2015 1:33 pm

Here's a small question...

What makes ion damage do double damage to Zoltan shields?
I've created a few weapons with ion damage but some do only a normal amount...

Here's the latest example :

Code: Select all

<weaponBlueprint name="REPAIR_EFFECTOR">
   <type>BOMB</type>
   <tip>tip_effector_repair</tip>
   <title>Repair Effector</title>
   <short>Repair Eff.</short>
   <flavorType>Remote system repair</flavorType>
   <locked>1</locked>
   <desc>A tool capable of remotely repairing system damage with the side effect of also doing ion damage. Making it useful for offense and defense.</desc>
   <tooltip>Deals 2 ion damage whilst also repairing 2 system damage.</tooltip>
   <damage>0</damage>
   <sysDamage>-2</sysDamage>
   <ion>2</ion>
   <missiles>0</missiles>
   <shots>1</shots>
   <sp>0</sp>
   <fireChance>0</fireChance>
   <breachChance>0</breachChance>
   <cooldown>12</cooldown>
   <power>1</power>
   <cost>40</cost>
   <bp>2</bp>
   <rarity>0</rarity>
   <image>ba_effector_impact_invisible</image>
   <explosion>ba_explosion_ionfield</explosion>
   <launchSounds>
      <sound>silence</sound>
   </launchSounds>
   <hitShipSounds>
      <sound>ionHit1</sound>
      <sound>ionHit2</sound>
      <sound>ionHit3</sound>
   </hitShipSounds>
   <hitShieldSounds>
      <sound>ionHit1</sound>
      <sound>ionHit2</sound>
      <sound>ionHit3</sound>
   </hitShieldSounds>
   <missSounds>
      <sound>silence</sound>
   </missSounds>
   <weaponArt>ba_effector_10_new</weaponArt>
</weaponBlueprint>

And it only does 2 damage to Zoltan shields. Is it because it has 5 shield piercing and doesn't require a missile?
I mean Ion blasts deal double and so does the ion bomb. So this is kind of odd... Does it need to be added to the list of ion weapons?
Amateur modder and Let's player (with a substantial FTL and ItB LP featuring countless mods).
Channel link
A list of all my mods can be found here.
Captain Markus
Posts: 18
Joined: Fri Sep 18, 2015 2:05 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Captain Markus » Fri Sep 25, 2015 1:51 pm

Captain Markus wrote:Guys, help please.

Where I can find list of all default projectiles in the game ?
Which can be usable by BURST(like Flak) weapons. Now I know only debris_large, debris_medium, debris_small
Do you now ID names of missile, laser ?

I wanna make weapon, which will shoot instant 3 laser projectile or 3 missile, like this make in Flak.


can anyone help ?

P.S. Thank yu Rad
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby kartoFlane » Fri Sep 25, 2015 2:28 pm

Captain Markus wrote:
Captain Markus wrote:Guys, help please.

Where I can find list of all default projectiles in the game ?
Which can be usable by BURST(like Flak) weapons. Now I know only debris_large, debris_medium, debris_small
Do you now ID names of missile, laser ?

I wanna make weapon, which will shoot instant 3 laser projectile or 3 missile, like this make in Flak.


can anyone help ?

P.S. Thank yu Rad


viewtopic.php?p=96978#p96966
Superluminal2 - a ship editor for FTL
User avatar
RAD-82
Posts: 796
Joined: Sat Nov 09, 2013 12:16 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby RAD-82 » Fri Sep 25, 2015 2:45 pm

Biohazard063 wrote:Here's a small question...

What makes ion damage do double damage to Zoltan shields?
I've created a few weapons with ion damage but some do only a normal amount...

Here's the latest example :

Code: Select all

<weaponBlueprint name="REPAIR_EFFECTOR">
   ...
   <damage>0</damage>
   <sysDamage>-2</sysDamage>
   <ion>2</ion>
   ...
</weaponBlueprint>

And it only does 2 damage to Zoltan shields. Is it because it has 5 shield piercing and doesn't require a missile?
I mean Ion blasts deal double and so does the ion bomb. So this is kind of odd... Does it need to be added to the list of ion weapons?

The ion is doing 4 damage to Zoltan shields, but the sysDamage is negating 2 of it, leaving you with the 2 that you see.
The ion weapons list is for blue options in events. Since Effectors are on it, you should probably add it.
Image
Junkyard has FTL mods, mostly ships and a few other things.
Lightwavers
Posts: 29
Joined: Thu Aug 06, 2015 4:45 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Lightwavers » Sat Sep 26, 2015 5:42 am

So I have been adding on to the mod I showed before. It works, except when I use the Stealth Ship its options either do not do anything, or warp me immediately to the crystal sector. Here is more code:

Code: Select all

<event name="START_GAME_EVENT">
   <text>Start beacon wormhole variation mod.</text>
   <choice hidden="true">
      <text>Investigate the wormhole that formed close to the jump beacon.</text>
      <event load="START_WORMHOLE"/>
   </choice>
   <choice>
      <text>You decide that there are enough dangers in the galaxy without unknown wormholes adding to them.</text>
      <event/>
   </choice>
</event>

<eventList name="START_WORMHOLE">
   <event>
      <text>You navigate towards the wormhole using your impulse engines. As you get there, it appears that it is too unstable to safely go through.</text>
     <choice req="ROCK_ARMOR" hidden="true">
       <text>(Rock Armor) Go through the wormhole with minimal risk.</text>
       <event load="SAFER_WORMHOLE"/>
     </choice>
     <choice req="ADV_SCANNERS" hidden="true">
       <text>(Long-Ranged Scanners) Position your ship to collect valuable items.</text>
       <event load="WORMHOLE_COLLECTION"/>
     </choice>
     <choice req="CRYSTAL_SHARDS" hidden="true">
       <text>(Crystal Crew) Your crystalline crewmembers are quite experienced with wormholes. After they callibrate the crystals of the ship, the ship is steered safely into the wormhole.</text>
       <event>
         <secretSector/>
       </event>
     </choice>
     <choice req="ENERGY_SHIELD" hidden="true">
       <text>(Zoltan Shields) The mystical shields of the Zoltan hum, reassuring you as you command the pilot to fly the ship through the wormhole.</text>
       <event load="SAFER_WORMHOLE"/>
     </choice>
     <choice req="DRONE_SPEED" hidden="true">
       <text>(Advanced Drones) Program your ship's drones to protect your ship through the wormhole.</text>
       <event load="SAFER_WORMHOLE"/>
     </choice>
      <choice hidden="true">
         <text>Disable the safety checks and go through it anyway.</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Try to investigate the wormhole without putting your mission at risk.</text>
         <event load="CAUTIOUS_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Consult your crew.</text>
         <event load="CONSULT_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="UNSAFE_WORMHOLE">
   <event>
      <text>The wormhole sucks your ship into its infinite depths. Who knows what will happen next?</text>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole sucks your ship up violently. As you and the crew are immobilized by your suit's safety measures, you can hear vicious impacts across the hull.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>As you shoot through the wormhole, multiple small mineral heavy asteroids shatter almost ineffectively against your ship's hull, providing you with a nice amount of scrap.</text>
      <autoReward level="HIGH">scrap_only</autoReward>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole violently implodes, sending your ship careening through space, heavily damaged.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="CAUTIOUS_WORMHOLE">
   <event>
      <text>As you start to navigate towards the wormhole, scans indicate that it is about to fade away. You may not reach it in time.</text>
      <choice hidden="true">
         <text>Detonate your fuel reserves in order to reach it.</text>
         <event>
            <text>Your ship accelerates at terrifying speeds, and the detonation damages your ships hull, but you made it to the wormhole just as it is about to fade away.</text>
            <item_modify>
               <item type="fuel" min="-12" max="-8"/>
            </item_modify>
            <damage amount="10"/>
            <choice hidden="true">
               <text>Continue...</text>
               <event load="UNSAFE_WORMHOLE"/>
            </choice>
         </event>
      </choice>
      <choice hidden="true">
         <text>Continue at your current speed.</text>
         <event load="FIFTY_FIFTY_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Sell the data you collected about the wormhole to nearby scientists.</text>
         <event>
            <text load="SELL_WORMHOLE_DATA"/>
            <item_modify>
               <item type="fuel" min="1" max="5"/>
               <item type="missiles" min="2" max="7"/>
               <item type="drones" min="0" max="4"/>
               <item type="scrap" min="12" max="113"/>
            </item_modify>
            <modifyPursuit amount="1"/>
            <choice>
               <text>Continue...</text>
               <event/>
            </choice>
         </event>
      </choice>
   </event>
</eventList>

<textList name="SELL_WORMHOLE_DATA">
   <text>The transfer takes some time, but the scientists arrange to deliver supplies for your valuable information.</text>
   <text>The scientists tell you your data is worthless, but are sympathetic to the Federation cause and deliver some valuable supplies to your ship.</text>
   <text>After finding a research station that is not infested with rebels or pirates, you deliver your data at a steep discount to the scientists within, as you do not have the time to bargain.</text>
   <text>You are relieved to find scientists so close your location, and as they deliver some supplies, they also mention that the rebel fleet is closer than you thought.</text>
   <text>You accidentally deliver the information to a rebel research station, but they are in no position to fight back, promising not to reveal your location and even sending you some supplies, "for your trouble."</text>
   <text>The scientists you find are unaffiliated with either side, and turn out to have advanced sensors that render your data obsolete. However, they do give you some pity supplies for your journey.</text>
   <text>It turns out one of your crew knows someone who will pay for the data you have, and you arrange a shady deal.</text>
   <text>You paint some temporary pirate markings onto your hull and dock at a nearby black market. Soon you have a deal.</text>
</textList>

<eventList name="FIFTY_FIFTY_WORMHOLE">
   <event>
      <text>Your engines are much too slow to get anywhere near the wormhole before it fades away, and you decide to continue with your mission.</text>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>The wormhole's deterioration is slower than you had first though, you get to it just as it is about to dissappear.</text>
      <choice hidden="true">
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="CONSULT_WORMHOLE">
   <event>
      <text>Your crew unanimously votes that the risk is worth it. Your ship heads towards the wormhole...</text>
      <choice>
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
   <event>
      <text>After a while, your crew finds out a way to retrieve a strange weapon from another dimension.</text>
      <weapon name="CRYSTAL_BURST_2"/>
      <modifyPursuit amount="1"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew figures out how to fill your cargo hold to the brim with fuel from unexplainable materials within the wormhole.</text>
      <item_modify>
         <item type="fuel" min="20" max="30"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>As your crew is consulting, a huge amount of metal ejects from the wormhole. The ship is slightly the worse for wear, but you are able to harvest a lot of the metal.</text>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="room" effect="fire"/>
      <damage amount="3"/>
      <item_modify>
         <item type="scrap" min="24" max="120"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew elects to stay away from the wormhole, but sends an array of probes through it. They pop in at random locations around the sector, revealing the whole area to your sensors.</text>
      <reveal_map/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="SAFER_WORMHOLE">
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Even with the careful protection, your ship is slightly damaged from a huge cloud of debris that literally came out of nowhere.</text>
     <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="4"/>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Even with the careful protection, your ship is unprepared when an ASB shot as well as several smaller projectiles burst out of the wormhole and strike your ship, doing minor damage but knocking you off course. After everyone is recovered, the wormhole is gone.</text>
     <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="4"/>
     <choice>
       <text>Continue...</text>
       <event/>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_COLLECTION">
   <event>
     <text>As you are waiting, your scanners pick something up. Get ready to grab it!</text>
     <event load="WORMHOLE_GRAB_ITEM"/>
   </event>
   <event>
     <text>After a while with nothing showing up, you decide you may want to leave before the fleet catches up.</text>
     <event load="WORMHOLE_GRAB_ITEM_LEAVE"/>
   </event>
   <event>
     <text>You are passively scanniong for objects, when a cluster of them show up. You try to grab some scrap from the cloud, but some hit your sensors. By the time they're repaired, the wormhole is gone.</text>
     <choice>
       <text>Grab some scrap and leave the area.</text>
       <autoReward level="HIGH">scrap_only</autoReward>
       <modifyPursuit amount="1"/>
       <event/>
     </choice>
     <choice>
       <text>Search for another wormhole.</text>
       <event load="WORMHOLE_SEARCH"/>
       <event/>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_GRAB_ITEM">
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Look for more valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Take what you got and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Look for more valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Look for more valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Take what you got and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Look for more valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event/>
     </choice>
   </event>
   <event>
     <text>A mantis ship emerges from the wormhole, and immediately decides that destroying your ship will be the best course of action.</text>
     <ship load="MANTIS_FIGHT" hostile="true"/>
     <event/>
   </event>
</eventList>

<event name="WORMHOLE_GRAB_ITEM_LEAVE">
     <text>You wait for something to come out of the wormhole, but nothing does.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <modifyPursuit amount="1"/>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
     </choice>
</event>

<eventList name="WORMHOLE_SEARCH">
   <event>
     <text>After searching every inch of space for many miles, you finally spot another wormhole starting to form.</text>
     <choice>
       <text>Continue...</text>
       <modifyPursuit amount="2"/>
       <event load="START_WORMHOLE"/>
     </choice>
   </event>
   <event>
     <text>After a huge amount of fruitless searching, you decide to abandon the search.</text>
     <choice>
       <text>Continue...</text>
       <modifyPursuit amount="2"/>
       <event/>
     </choice>
   </event>
</eventList>

<event name="WORMHOLE_COLLECTION_2">
     <text>You settle in for another wait.</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_COLLECTION"/>
       <event/>
     </choice>
</event>


I would also like to know the 'rules' for this, like what's up with these backwards </events> that are instead <event/> and that sort of thing.
User avatar
Biohazard063
Posts: 412
Joined: Fri Feb 14, 2014 4:38 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Biohazard063 » Sat Sep 26, 2015 5:48 am

RAD-82 wrote:The ion is doing 4 damage to Zoltan shields, but the sysDamage is negating 2 of it, leaving you with the 2 that you see.
The ion weapons list is for blue options in events. Since Effectors are on it, you should probably add it.


Really? And read that as an uttering of surprise rather than disbelief. That is odd...
Well, it already has a custom blue option for the one event in AE where you can use an ion weapon.
I don't don't immediately recall events from CE. So I'm thinking I'm good when it comes to adding it to the ion weapons autoBlueprints list.
Amateur modder and Let's player (with a substantial FTL and ItB LP featuring countless mods).
Channel link
A list of all my mods can be found here.
User avatar
RAD-82
Posts: 796
Joined: Sat Nov 09, 2013 12:16 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby RAD-82 » Sat Sep 26, 2015 7:14 am

Lightwavers wrote:I would also like to know the 'rules' for this, like what's up with these backwards </events> that are instead <event/> and that sort of thing.

When you make a choice, it has to have an event in it. You use <event/> when you just want the choice to end the encounter without any effects and is only needed when there are other choices available.

It works, except when I use the Stealth Ship its options either do not do anything, or warp me immediately to the crystal sector.

Here is the event that your stealth ship options is supposed to load:

Code: Select all

<eventList name="WORMHOLE_COLLECTION">
   <event>
     <text>As you are waiting, your scanners pick something up. Get ready to grab it!</text>
     <event load="WORMHOLE_GRAB_ITEM"/>
   </event>
   <event>
     <text>After a while with nothing showing up, you decide you may want to leave before the fleet catches up.</text>
     <event load="WORMHOLE_GRAB_ITEM_LEAVE"/>
   </event>
   <event>
     <text>You are passively scanniong for objects, when a cluster of them show up. You try to grab some scrap from the cloud, but some hit your sensors. By the time they're repaired, the wormhole is gone.</text>
     <choice>
       <text>Grab some scrap and leave the area.</text>
       <autoReward level="HIGH">scrap_only</autoReward>
       <modifyPursuit amount="1"/>
       <event/>
     </choice>
     <choice>
       <text>Search for another wormhole.</text>
       <event load="WORMHOLE_SEARCH"/>
       <event/>
     </choice>
   </event>
</eventList>

The first two possible events in this eventList have the same error. You are putting events inside events, but forgot the choices that lead to those events. An event can't just load another event without a choice.

The third possible event has problems in the choices. In the first choice, you placed the autoReward and modifyPursuit, but those have to go inside an event. You need to replace that <event/> with an actual event that includes the autoReward and modifyPursuit. In the second choice, you included two events, so the second one will overwrite the first one, which will just cause the event to end.

Here is this eventList corrected: (assuming I don't make another mistake or typo)

Code: Select all

<eventList name="WORMHOLE_COLLECTION">
   <event>
      <text>As you are waiting, your scanners pick something up. Get ready to grab it!</text>
      <choice hidden="true">
         <text>Continue...</text>
         <event load="WORMHOLE_GRAB_ITEM"/>
      </choice>
   </event>
   <event>
      <text>After a while with nothing showing up, you decide you may want to leave before the fleet catches up.</text>
      <choice hidden="true">
         <text>Continue...</text>
         <event load="WORMHOLE_GRAB_ITEM_LEAVE"/>
      </choice>
   </event>
   <event>
      <text>You are passively scanning for objects, when a cluster of them show up. You try to grab some scrap from the cloud, but some hit your sensors. By the time they're repaired, the wormhole is gone.</text>
      <choice>
         <text>Grab some scrap and leave the area.</text>
         <event>
            <autoReward level="HIGH">scrap_only</autoReward>
            <modifyPursuit amount="1"/>
         </event>
      </choice>
      <choice hidden="true">
         <text>Search for another wormhole.</text>
         <event load="WORMHOLE_SEARCH"/>
      </choice>
   </event>
</eventList>


You still have more mistakes to find, but hopefully you learned something about events and choices here to help you find them.

Another thing I noticed near the end, you have the event looping on itself. You can't do that, because the game won't reuse an event that it already used in that current chain of events. I don't know the specifics of it, but I edited out what I previously said here because I was sleepy and theorizing, so I may have said some incorrect things.
Image
Junkyard has FTL mods, mostly ships and a few other things.
Lightwavers
Posts: 29
Joined: Thu Aug 06, 2015 4:45 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Lightwavers » Sat Sep 26, 2015 5:35 pm

I copy pasted all the events with numbers after them so they do not loop, but they are still not showing up. No errors are showing up in the error checker, it's just that the events related to the stealth ship never appear. Is there some sort of list that gives the format for what events should be like?

Code: Select all

<event name="START_GAME_EVENT">
   <text>Start beacon wormhole variation mod.</text>
   <choice hidden="true">
      <text>Investigate the wormhole that formed close to the jump beacon.</text>
      <event load="START_WORMHOLE"/>
   </choice>
   <choice>
      <text>You decide that there are enough dangers in the galaxy without unknown wormholes adding to them.</text>
      <event/>
   </choice>
</event>

<eventList name="START_WORMHOLE">
   <event>
      <text>You navigate towards the wormhole using your impulse engines. As you get there, it appears that it is too unstable to safely go through.</text>
     <choice req="ROCK_ARMOR" hidden="true">
       <text>(Rock Armor) Go through the wormhole with minimal risk.</text>
       <event load="SAFER_WORMHOLE"/>
     </choice>
     <choice req="ADV_SCANNERS" hidden="true">
       <text>(Long-Ranged Scanners) Position your ship to collect valuable items.</text>
       <event load="WORMHOLE_COLLECTION"/>
     </choice>
     <choice req="CRYSTAL_SHARDS" hidden="true">
       <text>(Crystal Crew) Your crystalline crewmembers are quite experienced with wormholes. After they callibrate the crystals of the ship, the ship is steered safely into the wormhole.</text>
       <event>
         <secretSector/>
       </event>
     </choice>
     <choice req="ENERGY_SHIELD" hidden="true">
       <text>(Zoltan Shields) The mystical shields of the Zoltan hum, reassuring you as you command the pilot to fly the ship through the wormhole.</text>
       <event load="SAFER_WORMHOLE"/>
     </choice>
     <choice req="DRONE_SPEED" hidden="true">
       <text>(Advanced Drones) Program your ship's drones to protect your ship through the wormhole.</text>
       <event load="SAFER_WORMHOLE"/>
     </choice>
      <choice hidden="true">
         <text>Disable the safety checks and go through it anyway.</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Try to investigate the wormhole without putting your mission at risk.</text>
         <event load="CAUTIOUS_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Consult your crew.</text>
         <event load="CONSULT_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="UNSAFE_WORMHOLE">
   <event>
      <text>The wormhole sucks your ship into its infinite depths. Who knows what will happen next?</text>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole sucks your ship up violently. As you and the crew are immobilized by your suit's safety measures, you can hear vicious impacts across the hull.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>As you shoot through the wormhole, multiple small mineral heavy asteroids shatter almost ineffectively against your ship's hull, providing you with a nice amount of scrap.</text>
      <autoReward level="HIGH">scrap_only</autoReward>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole violently implodes, sending your ship careening through space, heavily damaged.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="CAUTIOUS_WORMHOLE">
   <event>
      <text>As you start to navigate towards the wormhole, scans indicate that it is about to fade away. You may not reach it in time.</text>
      <choice hidden="true">
         <text>Detonate your fuel reserves in order to reach it.</text>
         <event>
            <text>Your ship accelerates at terrifying speeds, and the detonation damages your ships hull, but you made it to the wormhole just as it is about to fade away.</text>
            <item_modify>
               <item type="fuel" min="-12" max="-8"/>
            </item_modify>
            <damage amount="10"/>
            <choice hidden="true">
               <text>Continue...</text>
               <event load="UNSAFE_WORMHOLE"/>
            </choice>
         </event>
      </choice>
      <choice hidden="true">
         <text>Continue at your current speed.</text>
         <event load="FIFTY_FIFTY_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Sell the data you collected about the wormhole to nearby scientists.</text>
         <event>
            <text load="SELL_WORMHOLE_DATA"/>
            <item_modify>
               <item type="fuel" min="1" max="5"/>
               <item type="missiles" min="2" max="7"/>
               <item type="drones" min="0" max="4"/>
               <item type="scrap" min="12" max="113"/>
            </item_modify>
            <modifyPursuit amount="1"/>
            <choice>
               <text>Continue...</text>
               <event/>
            </choice>
         </event>
      </choice>
   </event>
</eventList>

<textList name="SELL_WORMHOLE_DATA">
   <text>The transfer takes some time, but the scientists arrange to deliver supplies for your valuable information.</text>
   <text>The scientists tell you your data is worthless, but are sympathetic to the Federation cause and deliver some valuable supplies to your ship.</text>
   <text>After finding a research station that is not infested with rebels or pirates, you deliver your data at a steep discount to the scientists within, as you do not have the time to bargain.</text>
   <text>You are relieved to find scientists so close your location, and as they deliver some supplies, they also mention that the rebel fleet is closer than you thought.</text>
   <text>You accidentally deliver the information to a rebel research station, but they are in no position to fight back, promising not to reveal your location and even sending you some supplies, "for your trouble."</text>
   <text>The scientists you find are unaffiliated with either side, and turn out to have advanced sensors that render your data obsolete. However, they do give you some pity supplies for your journey.</text>
   <text>It turns out one of your crew knows someone who will pay for the data you have, and you arrange a shady deal.</text>
   <text>You paint some temporary pirate markings onto your hull and dock at a nearby black market. Soon you have a deal.</text>
</textList>

<eventList name="FIFTY_FIFTY_WORMHOLE">
   <event>
      <text>Your engines are much too slow to get anywhere near the wormhole before it fades away, and you decide to continue with your mission.</text>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>The wormhole's deterioration is slower than you had first though, you get to it just as it is about to dissappear.</text>
      <choice hidden="true">
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="CONSULT_WORMHOLE">
   <event>
      <text>Your crew unanimously votes that the risk is worth it. Your ship heads towards the wormhole...</text>
      <choice>
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
   <event>
      <text>After a while, your crew finds out a way to retrieve a strange weapon from another dimension.</text>
      <weapon name="CRYSTAL_BURST_2"/>
      <modifyPursuit amount="1"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew figures out how to fill your cargo hold to the brim with fuel from unexplainable materials within the wormhole.</text>
      <item_modify>
         <item type="fuel" min="20" max="30"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>As your crew is consulting, a huge amount of metal ejects from the wormhole. The ship is slightly the worse for wear, but you are able to harvest a lot of the metal.</text>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="room" effect="fire"/>
      <damage amount="3"/>
      <item_modify>
         <item type="scrap" min="24" max="120"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew elects to stay away from the wormhole, but sends an array of probes through it. They pop in at random locations around the sector, revealing the whole area to your sensors.</text>
      <reveal_map/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="SAFER_WORMHOLE">
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Even with the careful protection, your ship is slightly damaged from a huge cloud of debris that literally came out of nowhere.</text>
     <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="4"/>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Even with the careful protection, your ship is unprepared when an ASB shot as well as several smaller projectiles burst out of the wormhole and strike your ship, doing minor damage but knocking you off course. After everyone is recovered, the wormhole is gone.</text>
     <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="4"/>
     <choice>
       <text>Continue...</text>
       <event/>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_COLLECTION">
   <event>
     <text>As you are waiting, your scanners pick something up. Get ready to grab it!</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM"/>
     </choice>
   </event>
   <event>
     <text>After a while with nothing showing up, you decide you may want to leave before the fleet catches up.</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM_LEAVE"/>
     </choice>
   </event>
   <event>
     <text>You are passively scanniong for objects, when a cluster of them show up. You try to grab some scrap from the cloud, but some hit your sensors. By the time they're repaired, the wormhole is gone.</text>
     <choice>
       <text>Grab some scrap and leave the area.</text>
       <event>
         <autoReward level="HIGH">scrap_only</autoReward>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
     <choice hidden="true">
       <text>Search for another wormhole.</text>
       <event load="WORMHOLE_SEARCH"/>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_GRAB_ITEM">
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A mantis ship emerges from the wormhole, and immediately decides that destroying your ship will be the best course of action.</text>
     <ship load="MANTIS_FIGHT" hostile="true"/>
     <event/>
   </event>
</eventList>

<event name="WORMHOLE_GRAB_ITEM_LEAVE">
     <text>You wait for something to come out of the wormhole, but nothing does.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="2"/>
       </event>
     </choice>
</event>

<eventList name="WORMHOLE_SEARCH">
   <event>
     <text>After searching every inch of space for many miles, you finally spot another wormhole starting to form.</text>
     <choice>
       <text>Continue...</text>
       <event>
         <modifyPursuit amount="2"/>
       </event>
       <event load="START_WORMHOLE_2"/>
     </choice>
   </event>
   <event>
     <text>After a huge amount of fruitless searching, you decide to abandon the search.</text>
     <choice>
       <text>Continue...</text>
       <event>
         <modifyPursuit amount="2"/>
       </event>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_COLLECTION_2">
   <event>
     <text>As you are waiting, your scanners pick something up. Get ready to grab it!</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM_2"/>
     </choice>
   </event>
   <event>
     <text>After a while with nothing showing up, you decide you may want to leave before the fleet catches up.</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM_LEAVE_2"/>
     </choice>
   </event>
   <event>
     <text>You are passively scanniong for objects, when a cluster of them show up. You try to grab some scrap from the cloud, but some hit your sensors. By the time they're repaired, the wormhole is gone.</text>
     <choice>
       <text>Grab some scrap and leave the area.</text>
       <event>
         <autoReward level="HIGH">scrap_only</autoReward>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
     <choice hidden="true">
       <text>Search for another wormhole.</text>
       <event load="WORMHOLE_SEARCH_2"/>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_GRAB_ITEM_2">
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Look for more valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A mantis ship emerges from the wormhole, and immediately decides that destroying your ship will be the best course of action.</text>
     <ship load="MANTIS_FIGHT" hostile="true"/>
     <event/>
   </event>
</eventList>

<event name="WORMHOLE_GRAB_ITEM_LEAVE_2">
     <text>You wait for something to come out of the wormhole, but nothing does.</text>
     <choice>
       <text>Keep looking for valuables.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
       <event load="WORMHOLE_COLLECTION_3"/>
     </choice>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="2"/>
       </event>
     </choice>
</event>

<eventList name="WORMHOLE_SEARCH_2">
   <event>
     <text>After searching every inch of space for many miles, you finally spot another wormhole starting to form.</text>
     <choice>
       <text>Continue...</text>
       <event>
         <modifyPursuit amount="2"/>
       </event>
       <event load="START_WORMHOLE_3"/>
     </choice>
   </event>
   <event>
     <text>After a huge amount of fruitless searching, you decide to abandon the search.</text>
     <choice>
       <text>Continue...</text>
       <event>
         <modifyPursuit amount="2"/>
       </event>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_COLLECTION_3">
   <event>
     <text>As you are waiting, your scanners pick something up. Get ready to grab it!</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM_3"/>
     </choice>
   </event>
   <event>
     <text>After a while with nothing showing up, you decide you may want to leave before the fleet catches up.</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM_LEAVE_3"/>
     </choice>
   </event>
   <event>
     <text>You are passively scanniong for objects, when a cluster of them show up. You try to grab some scrap from the cloud, but some hit your sensors. By the time they're repaired, the wormhole is gone.</text>
     <choice>
       <text>Grab some scrap and leave the area.</text>
       <event>
         <autoReward level="HIGH">scrap_only</autoReward>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
     <choice hidden="true">
       <text>Search for another wormhole.</text>
       <event load="WORMHOLE_SEARCH_3"/>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_GRAB_ITEM_3">
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A mantis ship emerges from the wormhole, and immediately decides that destroying your ship will be the best course of action.</text>
     <ship load="MANTIS_FIGHT" hostile="true"/>
   </event>
</eventList>

<event name="WORMHOLE_GRAB_ITEM_LEAVE_3">
     <text>You wait for something to come out of the wormhole, but nothing does.</text>
     <choice>
       <text>Stop the scans and move on.</text>
      
<eventList name="WORMHOLE_COLLECTION_3">
   <event>
     <text>As you are waiting, your scanners pick something up. Get ready to grab it!</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM_3"/>
     </choice>
   </event>
   <event>
     <text>After a while with nothing showing up, you decide you may want to leave before the fleet catches up.</text>
     <choice hidden="true">
       <text>Continue...</text>
       <event load="WORMHOLE_GRAB_ITEM_LEAVE_3"/>
     </choice>
   </event>
   <event>
     <text>You are passively scanniong for objects, when a cluster of them show up. You try to grab some scrap from the cloud, but some hit your sensors. By the time they're repaired, the wormhole is gone.</text>
     <choice>
       <text>Grab some scrap and leave the area.</text>
       <event>
         <autoReward level="HIGH">scrap_only</autoReward>
         <modifyPursuit amount="2"/>
       </event>
     </choice>
     <choice hidden="true">
       <text>Search for another wormhole.</text>
       <event load="WORMHOLE_SEARCH_3"/>
     </choice>
   </event>
</eventList>

<eventList name="WORMHOLE_GRAB_ITEM_3">
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts slowly out of the wormhole. You are able to retrieve it without too much difficulty.</text>
     <weapon name="RANDOM"/>
     <choice>
       <text>Take what you got and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A weapon drifts out of the wormhole, but it shoots by too fast to retrieve.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies drift out of the wormhole, which you then take aboard.</text>
     <autoReward level="HIGH">stuff</autoReward>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A collection of supplies fly past your ship, but are pulverized against your hull.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
   </event>
   <event>
     <text>A mantis ship emerges from the wormhole, and immediately decides that destroying your ship will be the best course of action.</text>
     <ship load="MANTIS_FIGHT" hostile="true"/>
   </event>
</eventList>

<event name="WORMHOLE_GRAB_ITEM_LEAVE_3">
     <text>You wait for something to come out of the wormhole, but nothing does.</text>
     <choice>
       <text>Stop the scans and move on.</text>
       <event>
         <modifyPursuit amount="1"/>
       </event>
     </choice>
</event>

<eventList name="WORMHOLE_SEARCH_3">
   <event>
     <text>After a huge amount of fruitless searching, you decide to abandon the search.</text>
     <choice>
       <text>Continue...</text>
       <event>
         <modifyPursuit amount="2"/>
       </event>
     </choice>
   </event>
</eventList>

<eventList name="START_WORMHOLE_2">
   <event>
      <text>You navigate towards the wormhole using your impulse engines. As you get there, it appears that it is too unstable to safely go through.</text>
     <choice req="ROCK_ARMOR_2" hidden="true">
       <text>(Rock Armor) Go through the wormhole with minimal risk.</text>
       <event load="SAFER_WORMHOLE_2"/>
     </choice>
     <choice req="ADV_SCANNERS_2" hidden="true">
       <text>(Long-Ranged Scanners) Position your ship to collect valuable items.</text>
       <event load="WORMHOLE_COLLECTION_2"/>
     </choice>
     <choice req="CRYSTAL_SHARDS" hidden="true">
       <text>(Crystal Crew) Your crystalline crewmembers are quite experienced with wormholes. After they callibrate the crystals of the ship, the ship is steered safely into the wormhole.</text>
       <event>
         <secretSector/>
       </event>
     </choice>
     <choice req="ENERGY_SHIELD_2" hidden="true">
       <text>(Zoltan Shields) The mystical shields of the Zoltan hum, reassuring you as you command the pilot to fly the ship through the wormhole.</text>
       <event load="SAFER_WORMHOLE_2"/>
     </choice>
     <choice req="DRONE_SPEED" hidden="true">
       <text>(Advanced Drones) Program your ship's drones to protect your ship through the wormhole.</text>
       <event load="SAFER_WORMHOLE_2"/>
     </choice>
      <choice hidden="true">
         <text>Disable the safety checks and go through it anyway.</text>
         <event load="UNSAFE_WORMHOLE_2"/>
      </choice>
      <choice hidden="true">
         <text>Try to investigate the wormhole without putting your mission at risk.</text>
         <event load="CAUTIOUS_WORMHOLE_2"/>
      </choice>
      <choice hidden="true">
         <text>Consult your crew.</text>
         <event load="CONSULT_WORMHOLE_2"/>
      </choice>
   </event>
</eventList>

<eventList name="START_WORMHOLE_3">
SNIP

<eventList name="UNSAFE_WORMHOLE_2">
   <event>
      <text>The wormhole sucks your ship into its infinite depths. Who knows what will happen next?</text>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole sucks your ship up violently. As you and the crew are immobilized by your suit's safety measures, you can hear vicious impacts across the hull.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>As you shoot through the wormhole, multiple small mineral heavy asteroids shatter almost ineffectively against your ship's hull, providing you with a nice amount of scrap.</text>
      <autoReward level="HIGH">scrap_only</autoReward>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole violently implodes, sending your ship careening through space, heavily damaged.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="CAUTIOUS_WORMHOLE_2">
   <event>
      <text>As you start to navigate towards the wormhole, scans indicate that it is about to fade away. You may not reach it in time.</text>
      <choice hidden="true">
         <text>Detonate your fuel reserves in order to reach it.</text>
         <event>
            <text>Your ship accelerates at terrifying speeds, and the detonation damages your ships hull, but you made it to the wormhole just as it is about to fade away.</text>
            <item_modify>
               <item type="fuel" min="-12" max="-8"/>
            </item_modify>
            <damage amount="10"/>
            <choice hidden="true">
               <text>Continue...</text>
               <event load="UNSAFE_WORMHOLE_2"/>
            </choice>
         </event>
      </choice>
      <choice hidden="true">
         <text>Continue at your current speed.</text>
         <event load="FIFTY_FIFTY_WORMHOLE_2"/>
      </choice>
      <choice hidden="true">
         <text>Sell the data you collected about the wormhole to nearby scientists.</text>
         <event>
            <text load="SELL_WORMHOLE_DATA_2"/>
            <item_modify>
               <item type="fuel" min="1" max="5"/>
               <item type="missiles" min="2" max="7"/>
               <item type="drones" min="0" max="4"/>
               <item type="scrap" min="12" max="113"/>
            </item_modify>
            <modifyPursuit amount="1"/>
            <choice>
               <text>Continue...</text>
               <event/>
            </choice>
         </event>
      </choice>
   </event>
</eventList>

<textList name="SELL_WORMHOLE_DATA_2">
   <text>The transfer takes some time, but the scientists arrange to deliver supplies for your valuable information.</text>
   <text>The scientists tell you your data is worthless, but are sympathetic to the Federation cause and deliver some valuable supplies to your ship.</text>
   <text>After finding a research station that is not infested with rebels or pirates, you deliver your data at a steep discount to the scientists within, as you do not have the time to bargain.</text>
   <text>You are relieved to find scientists so close your location, and as they deliver some supplies, they also mention that the rebel fleet is closer than you thought.</text>
   <text>You accidentally deliver the information to a rebel research station, but they are in no position to fight back, promising not to reveal your location and even sending you some supplies, "for your trouble."</text>
   <text>The scientists you find are unaffiliated with either side, and turn out to have advanced sensors that render your data obsolete. However, they do give you some pity supplies for your journey.</text>
   <text>It turns out one of your crew knows someone who will pay for the data you have, and you arrange a shady deal.</text>
   <text>You paint some temporary pirate markings onto your hull and dock at a nearby black market. Soon you have a deal.</text>
</textList>

<eventList name="FIFTY_FIFTY_WORMHOLE_2">
   <event>
      <text>Your engines are much too slow to get anywhere near the wormhole before it fades away, and you decide to continue with your mission.</text>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>The wormhole's deterioration is slower than you had first though, you get to it just as it is about to dissappear.</text>
      <choice hidden="true">
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE_2"/>
      </choice>
   </event>
</eventList>

<eventList name="CONSULT_WORMHOLE_2">
   <event>
      <text>Your crew unanimously votes that the risk is worth it. Your ship heads towards the wormhole...</text>
      <choice>
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE_2"/>
      </choice>
   </event>
   <event>
      <text>After a while, your crew finds out a way to retrieve a strange weapon from another dimension.</text>
      <weapon name="CRYSTAL_BURST_2"/>
      <modifyPursuit amount="1"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew figures out how to fill your cargo hold to the brim with fuel from unexplainable materials within the wormhole.</text>
      <item_modify>
         <item type="fuel" min="20" max="30"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>As your crew is consulting, a huge amount of metal ejects from the wormhole. The ship is slightly the worse for wear, but you are able to harvest a lot of the metal.</text>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="room" effect="fire"/>
      <damage amount="3"/>
      <item_modify>
         <item type="scrap" min="24" max="120"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew elects to stay away from the wormhole, but sends an array of probes through it. They pop in at random locations around the sector, revealing the whole area to your sensors.</text>
      <reveal_map/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="SAFER_WORMHOLE_2">
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Your ship is more than capable of surviving the wormhole, and emerges unharmed.</text>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Even with the careful protection, your ship is slightly damaged from a huge cloud of debris that literally came out of nowhere.</text>
     <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="4"/>
     <choice>
       <text>Continue...</text>
       <event>
          <secretSector/>
       </event>
     </choice>
   </event>
   <event>
     <text>Even with the careful protection, your ship is unprepared when an ASB shot as well as several smaller projectiles burst out of the wormhole and strike your ship, doing minor damage but knocking you off course. After everyone is recovered, the wormhole is gone.</text>
     <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="4"/>
     <choice>
       <text>Continue...</text>
       <event/>
     </choice>
   </event>
</eventList>

<eventList name="UNSAFE_WORMHOLE_3">
SNIP
<eventList name="CAUTIOUS_WORMHOLE_3">
SNIP

<textList name="SELL_WORMHOLE_DATA_3">
 SNIP

<eventList name="CONSULT_WORMHOLE_3">
SNIP

<eventList name="SAFER_WORMHOLE_3">
SNIP
MrRazerWolf
Posts: 36
Joined: Tue Jul 01, 2014 1:02 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby MrRazerWolf » Sat Sep 26, 2015 9:41 pm

How do you add thruster effects to the engines when they are powered up? And how to make them stop when the engines are destroyed or powered off?
[CENTER]Image[/CENTER]
User avatar
Chrono Vortex
Posts: 275
Joined: Thu Jun 25, 2015 8:51 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Chrono Vortex » Sun Sep 27, 2015 3:47 am

Those effects are reserved for the Kestrel and the Federation cruiser. You could edit thrusters_on and thrusters_on_img under effects, but the engines on whatever ship you want to use engine effects on would have to be spaced the same distance from each other as they are on the Kestrel or the Federation cruiser (depending on the ship you want to overwrite), and the engine effect images would need to be the same size and have the same amount of frames (as far as I can tell those values are hard coded). I'm not sure what causes a ship to actually use those effects though, maybe the name in the blueprints?
ImageImageImageImageImageImageImageImage