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

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Biohazard063
Posts: 404
Joined: Fri Feb 14, 2014 4:38 pm
Location: Out of bounds
Contact:

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: 781
Joined: Sat Nov 09, 2013 12:16 am
Location: Not where a person needs to be...

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: 28
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: 266
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?
Image
User avatar
NarnKar
Posts: 778
Joined: Thu Jun 19, 2014 4:24 pm
Location: this forum
Contact:

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

Postby NarnKar » Sun Sep 27, 2015 7:52 am

Chrono Vortex wrote:I'm not sure what causes a ship to actually use those effects though, maybe the name in the blueprints?


Hardcoded in the blueprints. For example, if you overrode the Kestrel A, but your new ship was named <ship_ID>SHIP_NAME</ship_ID>, it wouldn't use engine effects. They're hardcoded to PLAYER_SHIP_HARD and PLAYER_SHIP_FED.
User avatar
kartoFlane
Posts: 1474
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Sun Sep 27, 2015 11:27 am

NarnKar wrote:
Chrono Vortex wrote:I'm not sure what causes a ship to actually use those effects though, maybe the name in the blueprints?


Hardcoded in the blueprints. For example, if you overrode the Kestrel A, but your new ship was named <ship_ID>SHIP_NAME</ship_ID>, it wouldn't use engine effects. They're hardcoded to PLAYER_SHIP_HARD and PLAYER_SHIP_FED.

Small correction: they're hardcoded to the .txt layout files' names, not the blueprint names themselves (if I recall correctly)
It is possible to tell the Kestrel to use a differently named layout file name, and use kestral.txt for your own ship, with custom engine jet graphics... I think.
Superluminal2 - a ship editor for FTL
zaphod_
Posts: 15
Joined: Thu Apr 30, 2015 10:08 pm

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

Postby zaphod_ » Mon Sep 28, 2015 5:37 pm

I have an enemy ship (made in Superluminal2) that refuses to spawn with any weapons. Weapon lists do not work (custom or vanilla). Manually giving it weaponry also fails.

Code: Select all

<shipBlueprint name="REBEL_STEALTH" layout="rebel_stealthship" img="rebel_stealthship">
   <class>Rebel Stealthship</class>
   <minSector>1</minSector>
   <maxSector>2</maxSector>
   <systemList>
      <cloaking power="2" max="2" room="1" start="true" />
      <doors power="2" max="2" room="4" start="true" />
      <drones power="3" max="3" room="7" start="true" />
      <engines power="3" max="5" room="2" start="true" />
      <medbay power="1" max="1" room="8" start="true" />
      <oxygen power="1" max="2" room="3" start="true" />
      <pilot power="2" max="2" room="0" start="true" />
      <shields power="2" max="2" room="5" start="true" />
      <weapons power="3" max="4" room="6" start="true" />
   </systemList>
   <weaponSlots>4</weaponSlots>
   <droneSlots>2</droneSlots>
   <weaponList missiles="15" load="STEALTH_WEAPONS"/>
   <droneList drones="6" count="2">
      <drone name="BATTLE" />
      <drone name="REPAIR" />
   </droneList>
   <health amount="7" />
   <maxPower amount="16" />
   <crewCount amount="3" max="5" class="human" />
   <boardingAI>sabotage</boardingAI>
   <aug name="CLOAK_FIRE" />
</shipBlueprint>

Can anyone lend me a hand?
User avatar
kartoFlane
Posts: 1474
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Mon Sep 28, 2015 5:58 pm

You forgot to set the weapon count. This value specifies how many weapons your ship spawns with. It defaults to 0, hence your ship has no weapons.
Superluminal2 - a ship editor for FTL
zaphod_
Posts: 15
Joined: Thu Apr 30, 2015 10:08 pm

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

Postby zaphod_ » Mon Sep 28, 2015 6:01 pm

kartoFlane wrote:You forgot to set the weapon count. This value specifies how many weapons your ship spawns with. It defaults to 0, hence your ship has no weapons.

Lifesaver. Thank you.
EDIT: Where do I set that count?

Who is online

Users browsing this forum: No registered users and 12 guests