Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]
Posted: Fri Sep 25, 2015 2:20 am
Alright thank you very much 

Official Forum for FTL: Faster Than Light and Into the Breach
https://www.subsetgames.com/forum/
Looking over the code I posted, I see I missed a mistake and it may be causing problems.Lightwavers wrote:Now the selection of whether or not I want to investigate the wormhole appears, and if you click no, nothing happens. However, if I click yes, it just loads a random event from the game.
Errors I am getting with the error checker:
Referenced event or eventList does not exist.
Referenced event or eventList does not exist.
Referenced text list does not exist.
This element has an invalid name, or cannot be a child to its ancestor.
This element has an invalid name, or cannot be a child to its ancestor.
This element has an invalid name, or cannot be a child to its ancestor.
I see a typo in the projectile name. It should be holocaust_gas_med, not holocasut_gas_med.FederationScumX1999 wrote:I've run into an oddity. A new modder wanted to create a burst artillery that gases the enemy ship, killing everyone on board (though the original cooldown was like 200 seconds). He made some custom resources to go with it. The sounds themselves work fine and the gun is borrowed from CE (appearing as the Ion Burst Stun), but whenever the gun attempts to fire, the game crashes. Switching the custom projectile to a flak projectile temporarily, the gun fired just fine.
I can't figure out why the custom projectile is causing issues since it was meant to replace med_flak and therefore uses the same dimensions and info for its animations (with different names linking to the image in the Weapons folder and specific reference, of course). I even tried re-exporting the image to ensure it wasn't because there was some issue with the format, and it still crashed.
I include a download of the mod as it is so far if anyone would like to take a closer look at the coding or images. I would appreciate any help, especially from someone who has plenty of experience designing artillery and weapons.
Note: I have noticed that the weapon doesn't do bio-damage in its current state. The addition of bio-damage changed nothing.
http://www.mediafire.com/download/6v0z2 ... ocaust.zip
Only cooldown and damage work. The game wasn't programmed to boost other stats.Captain Markus wrote:Is this possible to make weapon like Chain Vulcan (Laser), but boosts not cooldown, as example damage or shoots ?
Code: Select all
<boost> <type>damage</type> <amount>2</amount> <count>5</count>
Code: Select all
<boost> <type>shoots</type> <amount>2</amount> <count>5</count>
will this work?
I have removed the slash, but the same 6 errors still appear. I will match the errors with the code that it says is in error.RAD-82 wrote:Looking over the code I posted, I see I missed a mistake and it may be causing problems.Lightwavers wrote:Now the selection of whether or not I want to investigate the wormhole appears, and if you click no, nothing happens. However, if I click yes, it just loads a random event from the game.
Errors I am getting with the error checker:
Referenced event or eventList does not exist.
Referenced event or eventList does not exist.
Referenced text list does not exist.
This element has an invalid name, or cannot be a child to its ancestor.
This element has an invalid name, or cannot be a child to its ancestor.
This element has an invalid name, or cannot be a child to its ancestor.
Find this line:
<textList name="SELL_WORMHOLE_DATA"/>
and remove the slash at the end so it looks like this:
<textList name="SELL_WORMHOLE_DATA">
If that doesn't fix your problem, then I'm at a loss, because I couldn't see any other errors.
I looked over it again, and I found another error. My eyes are bad...Lightwavers wrote:I have removed the slash, but the same 6 errors still appear. I will match the errors with the code that it says is in error.
Code: Select all
<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>
<text>Continue...</text>
<event load="UNSAFE_WORMHOLE"/>
</choice>
<event> <---- Right here should be </event>, not <event>
</choice>
Code: Select all
(2+2*3
Code: Select all
(2+2)*3
Code: Select all
<event>
<text>Hello!</text>
<event>
<text>Who are you?</text>
</event>
Code: Select all
<event>
<text>Hello!</text>
</event>
<event>
<text>Who are you?</text>
</event>
Those are just animations listed in animations.xml. Any <anim> tag can be used as a projectile.MrRazerWolf wrote:So someone posted the names for the sounds, is there a way i can find names for different styles of shots? (EG the planetary defense ones, the heavy laser ones etc) and also any place for new sounds other then ones in the game. Thank you!
Thank you! This community is fantastic.RAD-82 wrote:I looked over it again, and I found another error. My eyes are bad...Lightwavers wrote:I have removed the slash, but the same 6 errors still appear. I will match the errors with the code that it says is in error.This error may have also been my fault, since I had to change so much around.
In the eventList CAUTIOUS_WORMHOLE, in the first choice where you detonate your fuel, I forgot to include a slash to close an event tag. My code here is pointing it out, not fixing it, so don't copy this.The problem with these slashes that I've missed is that it messes up all of the code that follows. That is why one mistake can appear to be many.Code: Select all
<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> <text>Continue...</text> <event load="UNSAFE_WORMHOLE"/> </choice> <event> <---- Right here should be </event>, not <event> </choice>