So, I'm trying to make a custom weapon. Here is how it will look like : I have also made a glow image : I'm trying hard to create this weapon, but I just can't. I finally did what AtillaBosma's guide told me to do, but as always ,nothing.
If someone who knows how to make a weapon can help me, please PM me.
Thanks in advance,
have a nice day everyone!
I need some help.
-
- Posts: 138
- Joined: Thu Mar 28, 2013 9:56 am
I need some help.
Last edited by TheNewbie on Mon Apr 29, 2013 2:03 pm, edited 1 time in total.
-
- Posts: 363
- Joined: Thu Oct 04, 2012 11:17 am
Re: I need some help.
I think you might have too many frames in your attack animation.
Try taking an existing beam weapon,
copying the number of frames it has,
copying the animation sheet entries (obviously you will need to change the image/frame size values),
and renaming it appropriately.
then it should work fine.
FTL is very picky about how many frames long an animation is, to the point where one wrong frame will make it not work properly at all.
Try taking an existing beam weapon,
copying the number of frames it has,
copying the animation sheet entries (obviously you will need to change the image/frame size values),
and renaming it appropriately.
then it should work fine.
FTL is very picky about how many frames long an animation is, to the point where one wrong frame will make it not work properly at all.
-
- Posts: 138
- Joined: Thu Mar 28, 2013 9:56 am
Re: I need some help.
Actually, this is the boss beam strip.
-
- Posts: 363
- Joined: Thu Oct 04, 2012 11:17 am
Re: I need some help.
In FTL, the "boss ship's <insert ANYTHING here>" is likely as not hardcoded, and doesn't work like the rest of the game. Try basing an animation off a standard weapon.
-
- Posts: 138
- Joined: Thu Mar 28, 2013 9:56 am
-
- Posts: 138
- Joined: Thu Mar 28, 2013 9:56 am
Re: I need some help.
The Halberd Beams strip has more frames than my beams?!
-
- Posts: 363
- Joined: Thu Oct 04, 2012 11:17 am
Re: I need some help.
It's not about having more or less frames. It's about having a precise number that the game will accept. I remember on one of my weapons, I could have 6 or 8 frames in one segment of the animation, but if I put 7 it would break. Seriously. The game is that picky. So you just have to keep experimenting with it basically, that's the only way :/
-
- Posts: 138
- Joined: Thu Mar 28, 2013 9:56 am
Re: I need some help.
Wow! Thanks ,that's good to know!
-
- Posts: 138
- Joined: Thu Mar 28, 2013 9:56 am
Re: I need some help.
Wait, you said that 7 frames could break the game!? The weapon that I request has 7 frames!
-
- Posts: 194
- Joined: Fri Nov 16, 2012 11:45 pm
Re: I need some help.
TheNewbie wrote:Wait, you said that 7 frames could break the game!? The weapon that I request has 7 frames!
DryEagle wrote:It's not about having more or less frames. It's about having a precise number that the game will accept. I remember on one of my weapons, I could have 6 or 8 frames in one segment of the animation, but if I put 7 it would break. Seriously. The game is that picky. So you just have to keep experimenting with it basically, that's the only way :/
I've definitely run into issues as well, but as far as I know they're not tied to a specific number. It seems to be tied to the relationship between desc length, chargedFrame, and fireFrame. I do not believe that chargedFrame and fireFrame can be equal to each other or desc length.
Another thing to examine is if desc length matches the animSheet you've provided. Something like:
Code: Select all
<animSheet name="VIRA_SHEET" w="100" h="10" fw="50" fh="10">weapons/browncoat.png</animSheet>
<weaponAnim name="VIRA">
<sheet>VIRA_SHEET</sheet>
<desc length="3" x="0" y="0"/>
...
<weaponAnim
might fail because the desc length is 3 and FTL can only make two fw="50" frames out of (what it thinks is a) 100 pixel file.
It would help us help you if you could:
1. Give us some more information on HOW this weapon is failing, and
2. Attach your animations.xml.append
You are the weak, and I am the tyranny of evil men - but I'm trying, I'm trying real hard to be the shepherd.
"Wow, that Kieve guy is one angsty nerd eh."
Sonata - "Best use of Common Lisp in an indie space roguelike!"
"Wow, that Kieve guy is one angsty nerd eh."
Sonata - "Best use of Common Lisp in an indie space roguelike!"