I'm making a weapon, but I have three issues"
1.Weapon appears as a black box.
2.Projectile nonexistant.
3.Shooting sound doesn't work.
Links to dropbox: 1.Working with Basic Laser image and black box projectile ala no sound:https://www.dropbox.com/s/3o1wu9skvhm8z ... r_shot.ftl
2.Not working with black box weapon image, nonexistant projectile and no sound:https://www.dropbox.com/s/l3tgf2yan2rp2 ... r_shot.ftl
That's all folks.
Black box weapons!
- R4V3-0N
- Posts: 1287
- Joined: Sun Oct 06, 2013 11:44 am
Re: Black box weapons!
http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17442
next time, post this there.
Sorry I am bad at things such at this. can't help you to much.
next time, post this there.
Sorry I am bad at things such at this. can't help you to much.
R4V3-0N, a dreamer.
- Kieve
- Posts: 944
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Black box weapons!
Not everything has to be dumped in the Q&A thread, Rave. Specific questions on functionality are fine, if a mod-maker needs help getting their mod to work.R4V3-0N wrote:http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17442
next time, post this there.
Sorry I am bad at things such at this. can't help you to much.
TheNewbie, to answer your questions:
Your issues are basically caused by faulty code and poor file structure.TheNewbie wrote:1.Weapon appears as a black box.
2.Projectile nonexistant.
3.Shooting sound doesn't work.
Code: Select all
<plasmaPew volume="3">ion_super_shot/audio/waves/plasma_bam.wav</plasmaPew>
Code: Select all
<heavyLaser1 volume="2">weapons/bp_laser_heavy_1.ogg</heavyLaser1>
Code: Select all
<plasmaPew volume="3">plasma_bam.wav</plasmaPew>
Code: Select all
<plasmaPew volume="3">weapons/ion_super_shot/plasma_bam.wav</plasmaPew>
You have the same issues for your projectile and weapon art - your code is telling the game to look one place when your art is in another.
- RAD-82
- Posts: 795
- Joined: Sat Nov 09, 2013 12:16 am
Re: Black box weapons!
I looked at the first download and noticed that file structure problem. I think Kieve did a decent job explaining that.
Once that black box issue is fixed, I noticed that the actual graphics and the animation sheets aren't going to match up. You'll likely need to fix those.
{Attachment broke, image lost}
I think the animSheet should look like that for the image I altered and attached here. You'll still need to deal with the ion_gun weaponAnim and the projectile animations.
Once that black box issue is fixed, I noticed that the actual graphics and the animation sheets aren't going to match up. You'll likely need to fix those.
Code: Select all
<animSheet name="ion_gun" w="111" h="76" fw="37" fh="76">weapons/ion_super_cannon.png</animSheet>
I think the animSheet should look like that for the image I altered and attached here. You'll still need to deal with the ion_gun weaponAnim and the projectile animations.
Last edited by RAD-82 on Fri May 22, 2015 11:14 pm, edited 1 time in total.
- R4V3-0N
- Posts: 1287
- Joined: Sun Oct 06, 2013 11:44 am
Re: Black box weapons!
I thought anything minor such as graphics or weapons or drones goes to Q&A and larger things such as overhauls, unique / different, or larger issues go have there own thread, sorry.Kieve wrote:Not everything has to be dumped in the Q&A thread, Rave. Specific questions on functionality are fine, if a mod-maker needs help getting their mod to work.R4V3-0N wrote:http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17442
next time, post this there.
Sorry I am bad at things such at this. can't help you to much.
I had this exact same question before on a new thread and was redirected to Q&A. apologies.
R4V3-0N, a dreamer.
-
- Posts: 138
- Joined: Thu Mar 28, 2013 9:56 am
Re: Black box weapons!
You won't believe how much I appreciate your help guys! 
If I manage to fix the problem, FTL Experimental Warfare will be up in less than a month.

If I manage to fix the problem, FTL Experimental Warfare will be up in less than a month.