Jump to content

Recommended Posts

Hello! This is my first time using this site so please forgive me if I posted this somewhere wrong... So.. I'm trying to create a mod character and I do not understand coding or programming at all so it's really difficult but I manged to do some stuff somehow. So what I need help with is if anyone knows a code for character that allows them to switch form with the press of a button and get new stat modifiers and textures or maybe change them into a whole new character completely with new textures, speech files, stats and sound files... If anyone can help me or nudge me in the right direction I would be so happy because i'm doing everything without knowing a single thing......

It'd also be a VERY great help if someone can tell me a code to make or give me hints on how to do this for my mod character...

A code to make my mod character get attacked by Bunnymen but not other Neutrals( like Pigmen ).

A code to make my mod character freeze faster.

A code to make my mod character's attacks do less damage, slower movement speed & sanity drain while freezing.

A code to make my character lose sanity very fast when around ghost players and ghost monsters!

This one might be impossible...but a code to prevent my mod character from having the Magic Tab or using anything Magic related...

Any help would be SO APPRECIATED!!!! I'm really SORRY if I did something wrong, please forgive me if I did!!! ><ll

Edited by SuperDavid

Thank you so much for the help!!!!!! I'm really sorry but you wouldn't happen too know how to make a character more susceptible to freezing and overheating? Also, thanks again so much for help!!!!! :grin:!!!!!

12 minutes ago, SuperDavid said:

Thank you so much for the help!!!!!! I'm really sorry but you wouldn't happen too know how to make a character more susceptible to freezing and overheating? Also, thanks again so much for help!!!!! :grin:!!!!!

If you're wanting to persue an active role as a mod author all the information you seek can be found in the Don't Starve Together/data/scripts folder. The file you're inquiring about is the temperature.lua file in the components folder. Look at the last few lines of code in the OnUpdate function to understand how it works. Unfortunately that is as far as I can take you as there is no "simple" way to handle the freezing issue as it's hard coded.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...