pickleplayer Posted January 18, 2016 Share Posted January 18, 2016 Taking a break from working on smashup to try converting Kaji to DST again. I've actually been able to get most of him working already but his transformations don't show up on client side, And I realized it's because anim builds/banks work differently in DST. Is it even possible to swap a character's anim build/bank in DST? I've been looking through the code and haven't found any examples of this happening. Even Wolfgang's code has been changed. Now I' not really sure what to do because Kaji's roar requires both a build and a bank swap, but it doesn't look like DST supports that. Are there any other ways to change them? Link to comment https://forums.kleientertainment.com/forums/topic/62802-changing-character-banksbuilds-in-dst/ Share on other sites More sharing options...
DarkXero Posted January 19, 2016 Share Posted January 19, 2016 You can change banks and builds. The deciduous trees change animation banks between tree and monster form. The bearger changes builds between the normal and groggy form. The playable mobs mod does this too, it swaps the bank, the build, and the stategraph of players. What do you mean by 2 hours ago, pickleplayer said: his transformations don't show up on client side ? If you tell me that clients see the normal version and not the updated bank/build, then there's something weird here. If you tell me that clients get an invisible kaji, then it's the stategraph fault because it isn't handling the animations correctly. If I go inst.AnimState:SetBank("deerclops") inst.AnimState:SetBuild("deerclops_build") without doing inst:SetStateGraph("SGdeerclops") then there's a good chance my stategraph plays something that isn't an idle animation that doesn't exist on the deerclops bank. Link to comment https://forums.kleientertainment.com/forums/topic/62802-changing-character-banksbuilds-in-dst/#findComment-711172 Share on other sites More sharing options...
pickleplayer Posted January 19, 2016 Author Share Posted January 19, 2016 Wait- really??? Aw man, I had spent so long looking for examples but every example I checked had been changed. Ah well, thanks! At least I think I know what I did wrong now. Stategraph wasn't set up to play the right animation. Link to comment https://forums.kleientertainment.com/forums/topic/62802-changing-character-banksbuilds-in-dst/#findComment-711187 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