Page 2 of 3
Re: I need some help.
Posted: Mon Apr 29, 2013 7:59 am
by TheNewbie
Well, it just doesn't exist in the game.
Re: I need some help.
Posted: Mon Apr 29, 2013 8:04 am
by thashepherd
TheNewbie wrote:Well, it just doesn't exist in the game.
Attach your animations xml file.
Re: I need some help.
Posted: Mon Apr 29, 2013 8:08 am
by TheNewbie
My small brother is playing computer games. As soon as he will take a break, I will upload it.
Re: I need some help.
Posted: Mon Apr 29, 2013 8:37 am
by TheNewbie
It says : The extension xml is not allowed.
Re: I need some help.
Posted: Mon Apr 29, 2013 9:36 am
by thashepherd
Then just paste the relevant snippets using the "Code" button.
Re: I need some help.
Posted: Mon Apr 29, 2013 9:46 am
by TheNewbie
projectile:
Code: Select all
<animSheet name="battleship_crusher_pulse" w="300" h="30" fw="75" fh="30">weapons/devestation_pulse_shot_strip</animSheet>
Code: Select all
<anim name="battleship_crusher_pulse">
<sheet>battleship_crusher_pulse</sheet>
<desc length="4" x="0" y="0"/>
<time>0.1</time>
</anim>
weapon anim. :
Code: Select all
<weaponAnim name="battleship_crusher_pulse">
<sheet>battleship_crusher_pulse</sheet>
<desc length="7" x="0" y="0"/>
<chargedFrame>4</chargedFrame>
<fireFrame>6</fireFrame>
<firePoint x="18" y="1"/>
<mountPoint x="6" y="58"/>
</weaponAnim>
anim sheet :
Code: Select all
<animSheet name="battleship_crusher_pulse" w="336" h="80" fw="28" fh="80">weapons/devestation_pulse_strip</animSheet>
Re: I need some help.
Posted: Mon Apr 29, 2013 9:58 am
by thashepherd
1. You need file extensions in your animsheets, i.e. "weapons/devestation_pulse_shot_strip" should be "weapons/devestation_pulse_shot_strip.png" (or, for extra bonus points, "weapons/devastation_pulse_shot_strip.png").
2. Your weapon and projectile animSheets have the same name (they shouldn't).
3. For the weapon, w="336"/fw="28" and desc length="7" don't agree with each other. Can you see why?
Re: I need some help.
Posted: Mon Apr 29, 2013 10:25 am
by TheNewbie
Thanks! I'll try my best to fix this.
Re: I need some help.
Posted: Mon Apr 29, 2013 10:31 am
by DryEagle
The "7 frames" thing was not meant to be precise. It was something between 5 and 9, I don't remember exactly. The point is, the game only works with certain numbers of frames in the "charging" section, and not others. The same goes for firing.
I think something like:
1 uncharged frame
~5 charging frames
1 charged frame
~ 3 frames (first half of fire animation)
~ fire frame
~ 3 frames (second half of fire animation)
would work ok. Basically if you want a weapon with a complete set of frames, look at the burst laser mk2 or 3. They are a good reference, for laser weapons, because you can see exactly how many individual charging frames you get, etc.
For weapons with a glow charging, it's also quite easy, because that generally doesn't break. You just have to keep in mind that the firing part of the animation has a separate set number of frames the game expects. Check the stock beam animation sheets, making sure your fireframe, charged frame etc all match up numerically, as does the total number of frames. Then your animation should work without problem.
Re: I need some help.
Posted: Mon Apr 29, 2013 10:41 am
by Metzelmax
The frame count shouldnt be that much of an issue.
I have made Laser weapons with 10 frames of which 1 is depowered, 7 power up, 1 charged and one fireing. FTL let's you a great amount of freedom there.
As long as the fire/charge frames are rightly defined there should be no problem.