Page 2 of 2

Re: How to make custom sounds?

Posted: Fri Jul 17, 2015 8:48 am
by barronvonburp
I don't know how, could you tell me?

Re: How to make custom sounds?

Posted: Fri Jul 17, 2015 5:30 pm
by Isaac
barronvonburp wrote:I don't know how, could you tell me?
I'm not sure what it is that you are asking... but try this:
  • Open the dungeon editor, and click 'open project'.
    Usually this opens the folder of your last edited map; notice the folder here called 'mod_assets'.
  • [If running the Windows OS] Right-click the 'mod_assets' folder, and choose 'open in new window'
  • In the new window (just opened), double-click the 'scripts' folder; inside you will see a file called 'sounds.lua'
  • Double-click the sounds.lua file. If Windows asks you to choose a program to open the file with, choose Notepad.exe
Once open, this is where you paste the defineSound code block, and save the file. When you restart/or reload the map in the editor, the new sound will exist as an option for the 'music' entry in the Bossfight object.