Jump to content

Recommended Posts

Hi! I'm just about done with my mod and I'm looking into adding extra features to my character. Mainly Level up abilities, I've seen it done with a lot of other characters and I think it's a neat idea. This mod was the first time I've ever used anything like Notepad++ so I'm not really sure what to look for in other character's programming. Is it even possible to make Don't Starve or ROG characters level up? Will the same code work for a DST mod?

 

I'm also looking for how to make the character immune to freezing. I've found a couple code pieces before about it but they either make my mod crash or just don't work at all. I thought I read something about needing an extension for Notepad++ to get it to work so if anyone knows anything about that either please let me know! Done

 

Finally I wanted to know if it's possible to make custom armor, I've seen tutorials for hats and equip items but not armor.

Edited by MakeshiftDemon

DST requires a _LOT_ of different things in order for mods to work. Check out the DST forums stickied links for good info on the subject.

 

There have been at least 3 other threads the past month about ways of blocking freezing. Just scroll a few pages and read thread titles and you'll find one or two of them.

 

For armor make your item and read the armor component thoroughly. Then look at any current armor prefab to see how they work. This applies to anything. Read the file for a current item to learn how to make a new one.

Mainly Level up abilities
Have you looked into wx78's files? I believe his character is designed to upgrade when eating gears. Hint: Look at the functions oneat and applyupgrades in "..\scripts\prefabs\wx78.lua".

 

I'm also looking for how to make the character immune to freezing.

See this thread.

 

make custom armor

You'll need to add the Armor component ("..\scripts\components\armor.lua") and Equippable component ("..\scripts\components\equippable.lua") to your prebab.

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...