Enemy ships not working.

Discuss and distribute tools and methods for modding. Moderator - Grognak
TeamEXAngus
Posts: 48
Joined: Thu May 17, 2018 5:38 am

Enemy ships not working.

Postby TeamEXAngus » Thu May 17, 2018 5:45 am

Hi,
I'm new to modding ftl so there may be an obvious answer to this i'm missing.

I've been using superluminal to make crazy ships to play as, but i tried creating some enemy ships. The problem is, none of them are appearing! I have no idea what to do about it. If anyone knows why, please tell me.

Thanks
Woona
Posts: 42
Joined: Sun Sep 17, 2017 7:28 am

Re: Enemy ships not working.

Postby Woona » Thu May 17, 2018 10:54 am

Did you add new ships to the lists? For example, "OVERRIDE_SHIPS_REBEL" or "OVERRIDE_SHIPS_ROCK" in dlcBlueprintsOverwrite.xml.

Also, you can append new ships the following way without overwriting any vanilla lists.

Code: Select all

<mod:findName type="blueprintList" name="OVERRIDE_SHIPS_JELLY">
   <mod-append:name>new_ship1</mod-append:name>
   <mod-append:name>new_ship2</mod-append:name>
</mod:findName>


If you already added your ships to the lists, you could upload your mod here: it would be easier to figure out the problem.
TeamEXAngus
Posts: 48
Joined: Thu May 17, 2018 5:38 am

Re: Enemy ships not working.

Postby TeamEXAngus » Thu May 17, 2018 10:20 pm

I'm sorry, but I have no idea what that means. Like I said I'm really new to modding. Is there a good YT tutorial or something you could show me?
Woona
Posts: 42
Joined: Sun Sep 17, 2017 7:28 am

Re: Enemy ships not working.

Postby Woona » Fri May 18, 2018 11:51 am

When you are done with Superluminal, 3 files are created.
myship.txt contains information about offsets, room and door layout.
myship.xml contains information about image size, weapon mounts and gib animations
autoBlueprints.xml.append contains gameplay information.

With these files, your ship is added to the game, but you must call your ship somehow. There are 2 ways: either create your own event which loads your ship (difficult), or you can add your ship to default ship lists located in dlcBlueprintsOverwrite.xml (easy)

Now just create the file dlcBlueprintsOverwrite.xml.append and copy this there

Code: Select all

<mod:findName type="blueprintList" name="OVERRIDE_SHIPS_CRYSTAL">
   <mod-append:name>myship</mod-append:name>
</mod:findName>


Replace crystal with whatever list you prefer and myship with the name of your ship.
TeamEXAngus
Posts: 48
Joined: Thu May 17, 2018 5:38 am

Re: Enemy ships not working.

Postby TeamEXAngus » Sat May 19, 2018 8:29 am

Thanks,
Is there a tool for creating events, or would I have to do that manually? Creating my own events would be cool!
FTL ProjCoal team
Posts: 14
Joined: Mon May 21, 2018 2:29 pm

Re: Enemy ships not working.

Postby FTL ProjCoal team » Mon May 21, 2018 2:38 pm

TeamEXAngus wrote:Hi,
I'm new to modding ftl so there may be an obvious answer to this i'm missing.

I've been using superluminal to make crazy ships to play as, but i tried creating some enemy ships. The problem is, none of them are appearing! I have no idea what to do about it. If anyone knows why, please tell me.

Thanks

you must add them to enemy ship lists instead of just making them :D
don't worry, many of us here including people on the Project Coalition team have made the same mistake!
Image