That's your error. You need to zip up the data folder itself (along with any other folders, like img and less often audio/fonts, if you use them)Kaerius wrote:zipped up the test directory
[Tutorial] New Guide on creating weapons
- kartoFlane
- Posts: 1488
- Joined: Mon Jan 14, 2013 10:20 pm
Re: [Tutorial] New Guide on creating weapons
Superluminal2 - a ship editor for FTL
-
- Posts: 85
- Joined: Wed Sep 19, 2012 3:02 pm
Re: [Tutorial] New Guide on creating weapons
Live and learn, I'll have a go when I get home.
-
- Posts: 85
- Joined: Wed Sep 19, 2012 3:02 pm
Re: [Tutorial] New Guide on creating weapons
Got home, unpacked it, packed the data folder directly, made sure it was the right format and renamed to .ftl, patched it in with slipstream, as the last mod... and nope, did absolutely nothing.kartoFlane wrote:That's your error. You need to zip up the data folder itself (along with any other folders, like img and less often audio/fonts, if you use them)Kaerius wrote:zipped up the test directory
And then I used FTL dat manager to remove the blueprints.xml.append~ file from the data.dat, saved, added my edited one, saved, and the ship STILL has the default loadout. So at this point I don't even know what's going on.
-
- Posts: 30
- Joined: Sun Nov 17, 2013 6:07 pm
-
- Posts: 63
- Joined: Fri Jul 18, 2014 5:35 pm
Re: [Tutorial] New Guide on creating weapons
Then you open a Text editor of your choice (I am using Notepad++) and you create 2 files there. The two will be calle
Uuuh, how do I make a file in a text editor?
-
- Posts: 63
- Joined: Fri Jul 18, 2014 5:35 pm
Re: [Tutorial] New Guide on creating weapons
It says I can't have slashes as my names for folders
- kartoFlane
- Posts: 1488
- Joined: Mon Jan 14, 2013 10:20 pm
Re: [Tutorial] New Guide on creating weapons
Slashes are just a way to separate folder names. So my_weapon/data/ means my_weapon folder with a data folder inside of it.
Superluminal2 - a ship editor for FTL
-
- Posts: 4
- Joined: Thu Dec 25, 2014 2:10 am
Re: [Tutorial] New Guide on creating weapons
I ran into some problems trying to do this on Mac. So here're some tips for Mac users:
1. Get a copy of ZipCleaner by Roger Jolly
2. Get a copy of TextWrangler by Bare Bones Software
Both of these applications are free.
Edit your .xml.append files in TextWrangler, and when you save, set Line Breaks to Windows CRLF. Slipstream is looking for CRLF, and TextEdit uses LF only.
When you zip up your files, don't select the parent folder. Select the two data and img folders, then Compress. Drop the .Zip file on the ZipCleaner to remove the invisible UNIX files. Then rename to .ftl.
1. Get a copy of ZipCleaner by Roger Jolly
2. Get a copy of TextWrangler by Bare Bones Software
Both of these applications are free.
Edit your .xml.append files in TextWrangler, and when you save, set Line Breaks to Windows CRLF. Slipstream is looking for CRLF, and TextEdit uses LF only.
When you zip up your files, don't select the parent folder. Select the two data and img folders, then Compress. Drop the .Zip file on the ZipCleaner to remove the invisible UNIX files. Then rename to .ftl.
- Biohazard063
- Posts: 412
- Joined: Fri Feb 14, 2014 4:38 pm
Re: [Tutorial] New Guide on creating weapons
Can't seem to get the audio working properly.
Trying to get a bomb weapon going.
Did the steps you said in the tutorial :
Created a folder myship/audio/was/weapons with in it a bombteleportchaos.wav and even the bombteleportchaos.ogg sound file. (Tried it with just one file there as well. No change.)
Creataed the sounds.xml.append where it says :
<bombteleport_chaos volume="4">weapons/bombteleport_chaos</bombteleport_chaos>
Placed the file in myship/data
In the weapons blueprint made sure that it said :
<launchSounds>
<sound>bombteleport_chaos</sound>
</launchSounds>
The custom animation (on my ship) works, but like I said, the sound doesn't play.
Anything obvious I did wrong or is it just an "I've got no idea what went wrong" kind of thing?
Trying to get a bomb weapon going.
Did the steps you said in the tutorial :
Created a folder myship/audio/was/weapons with in it a bombteleportchaos.wav and even the bombteleportchaos.ogg sound file. (Tried it with just one file there as well. No change.)
Creataed the sounds.xml.append where it says :
<bombteleport_chaos volume="4">weapons/bombteleport_chaos</bombteleport_chaos>
Placed the file in myship/data
In the weapons blueprint made sure that it said :
<launchSounds>
<sound>bombteleport_chaos</sound>
</launchSounds>
The custom animation (on my ship) works, but like I said, the sound doesn't play.
Anything obvious I did wrong or is it just an "I've got no idea what went wrong" kind of thing?
- Sleeper Service
- Posts: 2275
- Joined: Sun Mar 24, 2013 8:49 pm
Re: [Tutorial] New Guide on creating weapons
All FTL sounds seem to be .ogg as far as I can tell (at last in the Linux version). It's possible that .wav might just not work as a format.
Also the file path in the sound data needs to have the correct ending, else the game probably won't find the file. That's also how its done in the vanilla sound data:
<bombTeleport volume="8">weapons/bp_SFX_BombTeleport.ogg</bombTeleport>
Also the file path in the sound data needs to have the correct ending, else the game probably won't find the file. That's also how its done in the vanilla sound data:
<bombTeleport volume="8">weapons/bp_SFX_BombTeleport.ogg</bombTeleport>