Right, so, I've been through the weapon mod guide and I have experience making multiple ships. I'm currently making a weapon for one of those ships, but I can't seem to make the actual weapon image appear. The projectile custom projectile works, just not the weapon. Here's the coding in the animation file:
Blueprints appear to be perfectly fine, though I'll admit that I'm not that experienced with weapons, either...
Are you sure you haven't made any sort of stupid typo? Is the weapon's image itself named correctly? The weapon works, so the error has to be of that nature...
All is good except the name of the weapon in the starting weapons list MUST match the name used in the weapon blueprint itself. You called one laser_battery and the other Laser_Battery. That is what tripped up the game.
Really doubt that's the cause. It's only a list of starting weapons, which I don't think is even used by the game (hence there's no need to even bother adding blueprints to it) - 'tis an untested claim, though.
Besides, the game launched without an error and the ship itself is playable, the only issue is the weapon's graphic not showing up properly, if I understood correctly.
That said, it is an error and correcting them never hurts.
edit:
@down
Well, damn me.
Last edited by kartoFlane on Tue Feb 26, 2013 7:13 pm, edited 2 times in total.
I have another problem. This time I made a weapon from scratch- custom model and projectile, the whole thing. When it fires though, the projectile doesn't launch and the weapon just resets. I'm clearly missing something, but I don't know what.
For reference, the file names are "plasma_torp_glow.png", "plasma_torp_strip6.png", and "missile_plasma.png".
Nothing looks wrong. Only suspicious part is that the fire frame is also the last frame of the animation. I don't recall seeing any weapon use that frame to shoot, so maybe it's the reason the weapon simply resets. Try adding a 7th frame and see if that fixes it.
I can try. I attempted shifting the entire thing down by one so it was charged on four and fired on five and it didn't work- I'll see what happens if I add a seventh slide instead.
A potential problem - weapons have type MISSILES. Another thing is, I recall someone having a similar issue here on the forums, and changing weapon type to LASER fixed it.
Also, please follow the naming convention and type your blueprint names in capital letters.