Making new ship, some questions:

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Kieve
Posts: 944
Joined: Tue Sep 18, 2012 2:21 pm

Re: Making new ship, some questions:

Post 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...?
DryEagle
Posts: 363
Joined: Thu Oct 04, 2012 11:17 am

Re: Making new ship, some questions:

Post 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.
All ships I have created include custom weapons, graphics etc:
Image
ImageImageImageImage
User avatar
Kieve
Posts: 944
Joined: Tue Sep 18, 2012 2:21 pm

Re: Making new ship, some questions:

Post 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.
DryEagle
Posts: 363
Joined: Thu Oct 04, 2012 11:17 am

Re: Making new ship, some questions:

Post by DryEagle »

Ah finally figured it out, you have to give the projectiles and the turrets separate animation sheet names.
All ships I have created include custom weapons, graphics etc:
Image
ImageImageImageImage
User avatar
Kieve
Posts: 944
Joined: Tue Sep 18, 2012 2:21 pm

Re: Making new ship, some questions:

Post 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.
DryEagle
Posts: 363
Joined: Thu Oct 04, 2012 11:17 am

Re: Making new ship, some questions:

Post 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
All ships I have created include custom weapons, graphics etc:
Image
ImageImageImageImage
DryEagle
Posts: 363
Joined: Thu Oct 04, 2012 11:17 am

Re: Making new ship, some questions:

Post by DryEagle »

The Viper is now available to download and play at http://www.ftlgame.com/forum/viewtopic.php?f=11&t=10439
All ships I have created include custom weapons, graphics etc:
Image
ImageImageImageImage
Post Reply