Looking for a mod that does a particular small thing

General discussion about the game.
Post Reply
Jatopian
Posts: 1
Joined: Fri Dec 25, 2015 8:01 am

Looking for a mod that does a particular small thing

Post by Jatopian »

Sorry, wasn't sure where to post this - neither modding subforum really seemed appropriate for seeking a hopefully existing mod.

I made a ship in Superluminal2 that has the boss weapons on it, but certain random events don't recognize them properly. For example, the event where you want to disable a malfunctioning defense station doesn't recognize the Boss Ion as an ion weapon, and the event where you cut a pirate free of asteroids doesn't recognize the Boss Beam as a beam. I'm hoping there's a mod that fixes such events.

If not, I guess I'd settle for recommendations of alternatives to ftldat so I can try fixing it myself. (ftldat seems to require I install Python and uh... no thanks.)
meklozz
Posts: 350
Joined: Wed Sep 23, 2015 9:11 am

Re: Looking for a mod that does a particular small thing

Post by meklozz »

Seems like a pretty good fit for Mod Development, actually. Either way, you'd be more likely to get a quick response there. I'm just browsing anything I can get my hands on right now so I don't have to go to sleep.

As for the thing, where to start...

Slipstream will unpack the dats for you from the File menu.

If you haven't dealt with actual contents of game's .dat or modded .ftl files before, I'd suggest you unpack some (just like .zip - exactly .zip, in fact, just renamed) and get used to them. It's nearly all xml.

Once that's done, and you know how Slipstream likes it's files, you can find the actual thing you want in autoBlueprints.xml. You want to search for something like WEAPONS_ION and add another tag for your mod in there. No need to put the whole file in your .ftl file, just rename append and it will add it to the end of the original file (yo ushould know this if you got familiar with ftl modding by now). Additionally, it'd be awesome if you read readme_modders.txt for Slipstream and used it's tags so your mod is super compatible with other ones, but it's not necessary.

Generally, if you need to find something you want to change, I recommend opening data.dat in the notepad (or some other editor that doesn't mind large files) and searching through it for what you think would be relevant. For example, to find this autoblueprint thing, I searched (ctrl+f) for

Code: Select all

req="weap
and found some events that required WEAPONS_ION.
So I searched for that. Found the list of ion weapons (it even has a comment that they're for events). Ctrl+F, up, xml. Came up with the name of the file. Done.

Hope this helps. See you in the modding section.

PS Why the hate on python?
meklozz
Posts: 350
Joined: Wed Sep 23, 2015 9:11 am

Re: Looking for a mod that does a particular small thing

Post by meklozz »

I guess it scared you off, here, this should work if you're using the same names, if not, easy enough to look in and change:

http://www76.zippyshare.com/v/oqJfc8NT/file.html
Post Reply