How to make custom sounds?

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
barronvonburp
Posts: 30
Joined: Mon Jul 13, 2015 7:41 am

Re: How to make custom sounds?

Post by barronvonburp »

I don't know how, could you tell me?
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: How to make custom sounds?

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