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

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Sleeper Service
Posts: 2305
Joined: Sun Mar 24, 2013 8:49 pm

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

Postby Sleeper Service » Thu Jul 02, 2015 9:54 pm

Unfortunately that plating does not work ingame. Has been tested by several people.
LehGogh
Posts: 38
Joined: Tue Jun 02, 2015 4:16 pm

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

Postby LehGogh » Fri Jul 03, 2015 6:39 pm

I have an issue with a custom sector I made. Basically, FTL crashes when I enter my sector, but FTL Error Checker can't find any errors and SMM parses it correctly.

I would rather not post the entire sector's code, so I will PM the code to the first person who wants to help.
User avatar
RAD-82
Posts: 788
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 » Fri Jul 03, 2015 7:08 pm

LehGogh wrote:I have an issue with a custom sector I made. Basically, FTL crashes when I enter my sector, but FTL Error Checker can't find any errors and SMM parses it correctly.

I suspect the issue is with this thing that you said a few days ago.
LehGogh wrote:(Note: This is not in a .xml.append file because it is an entirely new sector. Instead, it is a normal .xml file.)

You have to append your events to an existing event file. You can't just create a new file and expect FTL to recognize it.
Image
Junkyard has FTL mods, mostly ships and a few other things.
LehGogh
Posts: 38
Joined: Tue Jun 02, 2015 4:16 pm

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

Postby LehGogh » Fri Jul 03, 2015 7:40 pm

RAD-82 wrote:
LehGogh wrote:(Note: This is not in a .xml.append file because it is an entirely new sector. Instead, it is a normal .xml file.)

You have to append your events to an existing event file. You can't just create a new file and expect FTL to recognize it.


So only ship layouts can have normal .xml files in them?
User avatar
RAD-82
Posts: 788
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 » Fri Jul 03, 2015 8:14 pm

Ships are different. The <shipBlueprint> tells the game what .xml file to look for. Events don't have that. While there are many event files, but the game itself doesn't actually associate the different names of these event files for anything. Just like the Error Checker scanned a set of predetermined files for events, FTL does the same. You can't alter that list like you did with the Error Checker.
Image
Junkyard has FTL mods, mostly ships and a few other things.
LehGogh
Posts: 38
Joined: Tue Jun 02, 2015 4:16 pm

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

Postby LehGogh » Fri Jul 03, 2015 8:28 pm

Thanks; it works now (mostly).

What is the argument for <fleet> that makes ships from both sides appear? Also, where in the event should the <fleet> tag go? It didn't appear when I put it at the end of an event.
User avatar
RAD-82
Posts: 788
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 » Fri Jul 03, 2015 10:49 pm

You have 3 choices:
<fleet>rebel</fleet>
<fleet>fed</fleet>
<fleet>battle</fleet>

I think you can get it on the first try. :P

Where does it go? I'd say in the first event of the beacon, when the player hasn't made any choices yet.

Code: Select all

<event name="{event name}">
   <fleet>battle</fleet>
   <text/>
   <choice/>
</event>

<event name="{event name}">
   <text/>
   <fleet>battle</fleet>
   <choice/>
</event>

<event name="{event name}">
   <text/>
   <choice/>
   <fleet>battle</fleet>
</event>


Those are all the same.
Image
Junkyard has FTL mods, mostly ships and a few other things.
LehGogh
Posts: 38
Joined: Tue Jun 02, 2015 4:16 pm

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

Postby LehGogh » Sat Jul 04, 2015 12:55 am

The problem I had is that when I had the <fleet> tag at the end of the event (after the choice), the Rebel fleet never appeared. Also, I thought that there was a thing for having both fleets at once, but it wasn't used in-game.
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 » Thu Jul 09, 2015 5:29 pm

I just noticed some odd looking values for the flaks while sifting through the vanilla data files:

<drone_targetable>1</drone_targetable>
<flavorType>Physical Projectile Blast</flavorType>

I want too see if anyone else knows what these do or if they work before I start testing it myself.
Image
User avatar
kartoFlane
Posts: 1479
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Thu Jul 09, 2015 5:44 pm

<drone_targetable/> IIRC specifies which defense level drones can target this weapon, 1 means levels 1 & 2, 2 means only level 2. Not 100% sure, though.
<flavorType/> is just a weapon type name that get's displayed in the UI for flak weapons, so that instead of SHOTGUN, you see this.
Superluminal2 - a ship editor for FTL

Who is online

Users browsing this forum: No registered users and 11 guests