MrDoge124 Posted August 7, 2022 Share Posted August 7, 2022 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. 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. I've used the blow dart animations as a base. Does any one know why these sprites aren't being used? Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/ Share on other sites More sharing options...
IronHunter Posted August 10, 2022 Share Posted August 10, 2022 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. Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1593396 Share on other sites More sharing options...
MrDoge124 Posted August 10, 2022 Author Share Posted August 10, 2022 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. 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 Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1593538 Share on other sites More sharing options...
MrDoge124 Posted August 14, 2022 Author Share Posted August 14, 2022 (edited) Just bumping this thread. Hopefully someone has an idea as to why the sprites don't work. Edited August 14, 2022 by MrDoge124 Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1594285 Share on other sites More sharing options...
IronHunter Posted August 15, 2022 Share Posted August 15, 2022 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 Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1594313 Share on other sites More sharing options...
MrDoge124 Posted August 16, 2022 Author Share Posted August 16, 2022 (edited) 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 August 16, 2022 by MrDoge124 Added update Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1594477 Share on other sites More sharing options...
Rickzzs Posted August 17, 2022 Share Posted August 17, 2022 (edited) For Spriter issues it is recommended that you directly edit scml file to see if anything goes wrong. scml file is formatted as xml and is easy to read. Edited August 17, 2022 by Mr.Rickzzs Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1594564 Share on other sites More sharing options...
MrDoge124 Posted August 19, 2022 Author Share Posted August 19, 2022 I've edited the spriter file to only need the three pngs that I have, and made sure the pngs are correct. This didn't seem to do anything. Am I missing an animation in the spriter file for firing or something? Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1594937 Share on other sites More sharing options...
MrDoge124 Posted August 27, 2022 Author Share Posted August 27, 2022 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.. 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 Link to comment https://forums.kleientertainment.com/forums/topic/142443-custom-item-doesnt-change-sprite-in-the-animation/#findComment-1596048 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now