Jump to content

Recommended Posts

  • Developer

This tutorial will teach you how to create a mod which replaces the music in 'Don't Starve'.  For this tutorial, we're going to replace the main menu music.

 

This tutorial requires:
- PC version of 'Don't Starve' and 'Don't Starve Mod Tools'
- The 'Music Mod Tutorial' mod installed through Steam Workshop or on the Klei Forum downloads.

 

Tutorial:

All music in 'Don't Starve' is triggered through events.  To change what music plays, we need to create a new sound event using the FMOD designer and then tell the game to use that sound instead.  Let's get started!
 
To launch the designer, Double click on the 'Don't Starve Mod Tools' in steam.
post-283016-0-40695300-1379979477_thumb.
 
Now inside the designer, browse to your mod folder and open 'music_mod.fdp'.
post-283016-0-29222000-1379979482_thumb.
 
Next click on the events tab and scroll down till you find the 'music_FE' event.
post-283016-0-74559500-1379979489_thumb.
 
Right click on the blue area and click on replace sound.
post-283016-0-10947300-1379979497_thumb.
 
Browse to the mod folder and select 'sample_music.wav'.
post-283016-0-07557500-1379979504_thumb.
 
Press 'CTRL+B' to bring up the build menu and click the build button.  You can now close the designer.

post-283016-0-29903400-1379979516_thumb.

 

Browse to the mod folder and open up a file named 'modmain.lua' in your favorite text editor.

post-283016-0-00999300-1379979523_thumb.

 

Remove the two dashes next to the 'music_FE' line and save the file.

post-283016-0-29535700-1379979530_thumb.

 

Now start the game, enable your mod and you should now hear your new main menu music.

 
Happy modding!  :-)
Link to comment
https://forums.kleientertainment.com/forums/topic/28108-music-mod-tutorial/
Share on other sites

At this point in time, when I try to play music clips in the designer, it pops up saying that the files are not found. I tried replacing a few of the sounds, and following the rest of the tutorial, and they don't show up in game. Am I doing something wrong on my end?

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