I keep encountering a game crash when attempting to run my mod (as in the program's runtime kills itself). Anyone know what I did wrong here? I'm testing out code, I'm not even done yet.
Download the .FTL here (via Dropbox)
I think it's the extremely tiny .xml.append in there hitting a wall. Anyone know what's causing the problem? (I don't mind if you point out my stupidity, I'm terribly new at this.)
Need Help On Mod
-
- Posts: 1
- Joined: Mon Dec 10, 2012 4:12 am
- Kieve
- Posts: 952
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Need Help On Mod
Well that's indicative of an event error, usually. The game is super-touchy to bad event code and will bomb as soon as it's parsed (or, fails to parse as the case may be). So let's have a look.
Probably this right here:
<choice>
<text>Launch the Nyan.</text>
</event>
</choice>
An empty "event" tag has the slash on the end, not the front. Try <event /> instead, and see if it works.
Code: Select all
<event name="START_GAME">
<text>Nyan's Mod - Welcome to the ISS Nyan's control panel!</text>
<choice>
<text>Access the panel.</text>
<event>
<text>The ISS Nyan is a large warfighter, built to destroy enemy ships</text>
<choice>
<text>Continue...</text>
<event>
<text>The reactor is running optimally. Ready to launch.</text>
</event>
<choice>
<text>Launch the Nyan.</text>
</event>
</choice>
</choice>
</event>
</choice>
</event>
Probably this right here:
<choice>
<text>Launch the Nyan.</text>
</event>
</choice>
An empty "event" tag has the slash on the end, not the front. Try <event /> instead, and see if it works.
-
- Posts: 173
- Joined: Thu Nov 08, 2012 10:11 am
Re: Need Help On Mod
Code: Select all
<choice>
<event>
<text>Launch the Nyan.</text>
</event>
</choice>
Roses are #FF0000
Violets are #0000FF
All of our mods
are belong to you.
Violets are #0000FF
All of our mods
are belong to you.