FadingJade Posted July 20, 2021 Share Posted July 20, 2021 Hello! I've been working on a series of character mods with my friends and we're looking for some help with this animation. As you can see, our character is using the Walter Slingshot animation! When she pulls back the bow, it disappears. I wanted to reskin the slingshot into a bow, but I couldn't figure out how or where to find the anim.bin for it. If anyone has any idea how we can go about this! I'd be very grateful! LMK if you need anymore information! Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/ Share on other sites More sharing options...
Thomas_klei Posted July 20, 2021 Share Posted July 20, 2021 anim_sling.zip no idea if it works, but i think ti should fill in some blanks i think, you could also use this and only use the swap symbol if that doesn't work. sorry i can't explain this one Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480209 Share on other sites More sharing options...
FadingJade Posted July 20, 2021 Author Share Posted July 20, 2021 @Thomas Die Thanks for trying to help! While I've already looked at the swap_slingshot, it doesn't help much for reskining all things considered. Since the timeline is empty despite having the sprites around. With the guide that people post in most of these problems of custom animation! I should make it more clear what I'm looking for! It seems like that the walter slingshot animation requires some specific anim to be connected. I want to animate the bow itself, so it can pull the string back just like the slingshot. Animating the character is already done with reusing walter's slingshot animation, its the bow that requires some help! Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480229 Share on other sites More sharing options...
Thomas_klei Posted July 20, 2021 Share Posted July 20, 2021 should be the same process, throughout the animation it should change the image symbol for swap_object or the item to form the animations. string pulled back to fire rock slingshot to be used to pull back string so changing the image should be translated into the animation, sorry if i'm being the big dumb. Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480232 Share on other sites More sharing options...
FadingJade Posted July 20, 2021 Author Share Posted July 20, 2021 @Thomas Die What Anim.bin do you happen to be using for the anim_sling.zip you sent? Simply replacing the images with my assets I feel like wont work out that way. And dont worry! we're both in the same boat of being confused haha. Some questions: Usually the swap_object is just the held item being left in a character's hand. Is there a way to just add a new anim to the swap_'bow' of mine and play that anim when it shoots? Or are you refering to the custom anim guide you posted earlier where I would have to somehow replicate the already made player slingshot animation thats in the game, and add my bow? Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480239 Share on other sites More sharing options...
Thomas_klei Posted July 20, 2021 Share Posted July 20, 2021 The tutorial one. I just take one from any swap_object because they're all the same i think 8 minutes ago, FadingJade said: What Anim.bin do you happen to be using for the anim_sling.zip Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480240 Share on other sites More sharing options...
Monti18 Posted July 20, 2021 Share Posted July 20, 2021 You could show us the structure of your swap_bow folder. As you can see, walters slingshot has multiple pictures all with different numbers at the end. As Thomas Die already said, the pictures will get changed when the animation is played. That means, you will need the same amount of pictures as the slingshot with the same numbers at the end. 1 Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480248 Share on other sites More sharing options...
FadingJade Posted July 21, 2021 Author Share Posted July 21, 2021 @Monti18 I placed in the slingshot sprites with the same naming just to see if it would work, then replace the sprites with my own art but that doesnt seem to be the case! I feel like something needs to be done to the spriter file? Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480506 Share on other sites More sharing options...
Monti18 Posted July 21, 2021 Share Posted July 21, 2021 Did you remove the the zip file in this folder and in the anim folder and then recompile? If yes, you can send me the files and I will have a look at them. 1 Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480557 Share on other sites More sharing options...
FadingJade Posted July 21, 2021 Author Share Posted July 21, 2021 (edited) @Monti18 I did! Recompiled it n everything. Still nothin' Here's the zipped up folder! Thanks for trying to give me a hand! Rin.zip Edited July 21, 2021 by FadingJade Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480630 Share on other sites More sharing options...
Monti18 Posted July 21, 2021 Share Posted July 21, 2021 Ok so a few things: You added the tag slingshot after the check of TheWorld.ismastersim, this means the client won't have the tag, which could make problems as the stategraph checks for the tag in the server and client. To have multiple pictures in your anim file, you need to use them in Spriter. Your file had only the base file of your bow, swap_rinbow-0 in it. You need to add all the different pictures into Spriter, I will add an example file in this post. I tested it with your files and by adding all the pictures and also had no luck... But I tried it once with the files from the slingshot, and it worked! I'm not sure if the size of the image files causes a problem, but I wil let you find this out Add swap_slingshot to exported, swap_slingshot2 to anim. Change the onequip function of rinbow to this: Spoiler local function OnEquip(inst, owner) local skin_build = inst:GetSkinBuild() if skin_build ~= nil then owner:PushEvent("equipskinneditem", inst:GetSkinName()) owner.AnimState:OverrideItemSkinSymbol("swap_object", skin_build, "swap_slingshot2", inst.GUID, "swap_slingshot") else owner.AnimState:OverrideSymbol("swap_object", "swap_slingshot2", "swap_slingshot") end owner.AnimState:Show("ARM_carry") owner.AnimState:Hide("ARM_normal") if inst.components.container ~= nil then inst.components.container:Open(owner) end end and then you will have a slingshot with the pivot points not set I would try now to replace the images with your image, just set the one you have for every file and see if you can see them. But it's probably better to make a new spriter file if you make a new trial as a lot of problems can come from that... If that doesn't work, try to change the pictures of the slingshot themselves, so just copy your bow on top and see if works. Good luck! swap_slingshot2.zip swap_slingshot.zip 2 Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1480656 Share on other sites More sharing options...
sunny77712 Posted September 25, 2021 Share Posted September 25, 2021 Hello?Have you solve your problem? Link to comment https://forums.kleientertainment.com/forums/topic/131996-custom-weapon-animation-help/#findComment-1498253 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