Mad Jack Posted December 15, 2019 Share Posted December 15, 2019 So, I've been working on how my Character would play out in DST but I'm a bit stumped on how to actually code it in. So, if anyone knows, Would you be so kind to reply and answer these: How can I make the prototyping sanity gain smaller? How do I animate with Spriter? Is there a way I can make an event happen around my character? (Ex: My character is a set distance from something and one of his mechanics comes into play) Link to comment https://forums.kleientertainment.com/forums/topic/114294-mod-questions/ Share on other sites More sharing options...
CarlZalph Posted December 15, 2019 Share Posted December 15, 2019 Check out the builder component function UnlockRecipe- this is what gives the sanity to the player, so you'll want to do some hooking with it. Spriter insofar as I know is like Flash. I wish you luck with its use. The most common way for the third thing is to create a periodic timer on the player in the server's master postinit callback. You'd then poll for entities that you want with TheSim:FindEntities and turn on the feature if it is not turned on already. Likewise if that fails then turn off the feature if it is not already. 1 Link to comment https://forums.kleientertainment.com/forums/topic/114294-mod-questions/#findComment-1291869 Share on other sites More sharing options...
Mad Jack Posted February 17, 2020 Author Share Posted February 17, 2020 Ok, uh... so I am stumped right now because now I can't even playtest Wilhelm because of a bug in my speech file? I don't even know where I'm going wrong. because the last time i checked, it looked fine to me. I seriously need help. Link to comment https://forums.kleientertainment.com/forums/topic/114294-mod-questions/#findComment-1308405 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