Jump to content

Recommended Posts

I'm looking to make my first mod, a mod that allows the current season's original  work music to play at dusk and/or night depending on the mod's settings. 

However I've hit a brick wall, I have no real clue what I'm doing for the most part. 

I downloaded the mod tools and It was very different from what I was expecting Instead one tool there was five and none of them told me how they worked or what they did, I quickly figured out the don't stave mod tools was for uploading/updating mods , and spriter was for spites, but neither of  the seemed useful for what I am try to make. (At least for now)

This isn't my first time coding ever, I have some experience with python making small projects, nothing like this though.

I couldn't find the basics for what I'm trying to make on steam or on the FAQ so I made an account so I made this post on the forms.

here are some examples of

What I'm looking for

  • Some helpful tips for beginners
  • Useful example links
  • Which of the mod tools to use for this mod
  • how to use and navigate the menus of the various mod tools
  • Similar posts to this one that has helpful replies
  • How to disable the code that prevents the work music from being initiated during dusk/night. Or how to add code that allows it
  • How to access and modify the game's code

You don't have answer every single one of the above requests, even one is fine.

But Please don't send replies with the following

What I'm NOT looking for

  • I don't want you to make the mod for me 
  • Just some random link with no explanation to what it is or how it helps me.
  • the next three links below this point . I have already read them or haven't found them very helpful
  • https://steamcommunity.com/app/322330/workshop/ the steam modding ds and dst page
  • https://forums.kleientertainment.com/forums/topic/43773-dont-starve-together-mods-faq/ The FAQ pinned the top of these forms
  • https://forums.kleientertainment.com/files/file/203-api-examples/ Actually pretty useful but doesn't have anything like what I'm trying to do.
  • Insulting me for not figuring it out on my own, I don't have the time to waste a day trying to figure it out everything by myself
  • spam 
  • how to replace the little tune that plays when it becomes dusk with work music
  • assuming I have prior knowledge related to making a mod. I know effectively nothing in this aspect
  • telling me to Install the mod tools, I already have.
  • How to add new music to the game, I want to use the game's original work music
  • how to add Items, characters, textures

Sorry if I'm too picky, if you think something will truly help me please post it in the replies.

If the exact mod I want make exists down to exact detail I will install it and delete this post

Any and all help is greatly appreciated I'll try to reply to any questions, or comments as soon as I can
I understand that this is a lot to ask for. If I finish and upload the mod I will credit anyone who left a helpful reply. IF YOU DON'T  WANT TO BE CREDITED JUST SAY SO.

TLDR Read all the the bold then reply, or don't

You shouldn't need any of the mod tools except the uploader. It will help if you extract Steam\SteamApps\common\Don't Starve Together\data\databundles\scripts.zip somewhere so you can view the lua scripts the game uses.

I use Notepad++ to edit scripts. It has a handy Find in Files feature (Shift+Ctrl+F) that lets me search the entire scripts directory for a given search term.

You're probably going to be messing with scripts\components\dynamicmusic.lua.

  • Like 1

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