Jump to content

Recommended Posts

I've been working on a ranged weapon for a character and it works for the most part but the gun doesn't rotate when you fire it downwards towards the camera.

1282646301_Screenshot2022-08-07160011.png.89e887ebae20b1da3970732abe3a958d.png

I'm not sure why this is the case as I have the sprites needed they just aren't being used. It should be using sprite number 2.

588265152_Screenshot2022-08-07160521.png.12f0974d69662ff2398346f591d9555c.png
I've used the blow dart animations as a base.
Does any one know why these sprites aren't being used?

So this is a issue with spriter messing up the symbol numbers inside a folder. The easiest solution is to add dummy images for the images that are missing between the numbers. A small blank .png will do. Then Rebuild your .scml folder

Also if you are decompiling animation banks and recompiling them with no changes you'll want to delete the .anim file in your compiled .zip as this can cause conflicts for when the animation is played.

If you are more advanced in spriter you can do some text editor trickery by editing the .scml in a text editor and changing the symbol numbers manually without needing the dummy images.

I've added dummy images to the folder, just 16x16 blank pngs. It didn't seem to fix the issue. I also got rid of the anim.bin and that didn't seem to help.

image.thumb.png.b66ce68d53ed92c5b099c5c4348f7b51.png

I've attached my spriter files to this post. Maybe that can provide more information as to what the issue is.

swap_blunderbuss.scml swap_blunderbuss_loaded.scml

Your .scml files don't seem to have all the images in the symbol folder I only see swap_blunderbuss-15.png

You needed to make sure the .scml updated the symbol folder structure so the sub symbols show up in the code of the .scml

Ok I added the images to the scml folder structure and made the IDs match the image numbers.
It still isn't using the correct sprite. I'm going to try to make a new spriter file and see if it fixes it.

Update: Making a new file didn't seem to do anything.

Edited by MrDoge124
Added update

I've been trying everything I can think of and I cannot get the sprite to change in the down animation. I've made my own firing animation and told it to use the sprite but that doesn't work.image.thumb.png.ff23de1bfe68e30e963037c0958ad823.png.

This is what the gun's spriter file looks like right now. I've attached the sprite project and it's folders to this post. I've also attached the custom firing animation.

I hope somebody can figure out what's wrong here. If you need anything else just ask.
Thanks for the help so far.

swap_blunderbuss.zip wonty_gun_anims.zip

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...