knifecat35 Posted July 3, 2025 Share Posted July 3, 2025 What I am trying to achieve, is that I have a character when she does a certain action, I want her hair to change when she is in cooldown of that action, is there a way to do that? Wormwood's bloom and how their head changes would be an example. Link to comment https://forums.kleientertainment.com/forums/topic/166820-how-would-i-change-a-characters-head/ Share on other sites More sharing options...
E100Pavel Posted July 5, 2025 Share Posted July 5, 2025 Hi, I am a relative newbie at modding, but changing this is usually done through AnimState. Useful functions are AddOverrideBuild when you want to override entire parts of a character, for that you generally need multiple animation files to swap through. Or you can OverrideSymbol when you need to change a single thing. ClearOverrideBuild or ClearOverrideSymbol reverts visuals back to original build. In Wormwood's case, the flower actually uses a "beard" symbol (which is for things like Wilson's or Webber's beards, which is hilarious btw but makes so much sense now that I look at it, since it behaves like an upside-down beard). To look at how they manage it, unzip "scripts.zip" in game's folder, and navigate to prefabs/wormwood.lua. Also I find beefalo prefab a useful case study for overriding builds, that's how they handle tendencies. Link to comment https://forums.kleientertainment.com/forums/topic/166820-how-would-i-change-a-characters-head/#findComment-1825807 Share on other sites More sharing options...
knifecat35 Posted July 6, 2025 Author Share Posted July 6, 2025 On 7/5/2025 at 8:55 AM, E100Pavel said: Also I find beefalo prefab a useful case study for overriding builds, that's how they handle tendencies. OHH I DIDNT EVEN THINK ABOUT THAT! Thank you thank you thank you! "OverrideSymbol" would be the method I am looking for, I am also quite a newbie as well, but I have alot of experience in programming just not this specifically so I wanted to expand my horizons with trying something new. Once more thank you 1 Link to comment https://forums.kleientertainment.com/forums/topic/166820-how-would-i-change-a-characters-head/#findComment-1825907 Share on other sites More sharing options...
Rickzzs Posted July 7, 2025 Share Posted July 7, 2025 AnimState.AddOverrideBuild(build) and ClearOverrideBuild(build) will simply allow you to replace a basic part of your character regardless of hats. the build file should include the wanted symbol. When you use OverrideSymbol you need to care about the hat you are wearing so it is not recommended. Link to comment https://forums.kleientertainment.com/forums/topic/166820-how-would-i-change-a-characters-head/#findComment-1826003 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