Page 2 of 2
Re: Making new ship, some questions:
Posted: Fri Jan 04, 2013 2:08 am
by Kieve
When you say it isn't working, what exactly happens? Does the game crash (indicating a syntax error in code), does the sprite not appear / appear as a /!\ warning symbol, does the weapon not fire at all...?
Re: Making new ship, some questions:
Posted: Fri Jan 04, 2013 3:00 am
by DryEagle
The weapon shows up, charges with the right animation, fires with the right sounds, and does the damage etc correctly.
The only thing missing is there is no projectile sprite, like the 'bullet' just doesn't show up.
Re: Making new ship, some questions:
Posted: Fri Jan 04, 2013 3:07 am
by Kieve
Sounds like you may have made a typo in the weapon blueprints then. Double-check your <image> tag and make sure it's reading your projectile's name exactly right.
Re: Making new ship, some questions:
Posted: Fri Jan 04, 2013 4:25 am
by DryEagle
Ah finally figured it out, you have to give the projectiles and the turrets separate animation sheet names.
Re: Making new ship, some questions:
Posted: Fri Jan 04, 2013 4:30 am
by Kieve
That's for the animations.xml
I mean the <weaponblueprint> section in your blueprints.xml
If the only thing that happens is, the projectile isn't appearing, that's likely something in your blueprints. I can't see anything wrong with the animation itself either.
Re: Making new ship, some questions:
Posted: Fri Jan 04, 2013 4:54 am
by DryEagle
ok, this ship is almost done now, just made a bunch of gibs, any trick to getting the right X / Y coordinates for the gibs in the XML file to be in the right spots? Don't exactly feel like doing 50 restarts of the game just to die and try and figure out how to align them right...
going to just leave a transparent layer there for now, might figure something out later
Re: Making new ship, some questions:
Posted: Fri Jan 04, 2013 6:10 am
by DryEagle