Page 1 of 1

Add a sound

Posted: October 29th, 2011, 12:18 am
by lzrstrm
I need help adding a sound to my game. its not working
i added it into my maps -art.cfg file but it wont let me add a sound over #20

Code: Select all

mapsoundreset

mapsound "freesound/fireplace" 255 32767 // 0
mapsound "freesound/waterfall" 200 32767 // 1
mapsound "freesound/crickets" 200 32767 // 2
mapsound "freesound/waterdrops" 255 32767 // 3
mapsound "freesound/undertreeinrain" 175 32767 // 4
mapsound "q009/stormwind" 200 32767 // 5
mapsound "q009/stormrain" 255 32767 // 6
mapsound "q009/stormbolts" 255 32767 // 7
mapsound "q009/outdoor_signal" 255 32767 // 8
mapsound "q009/ambient1" 255 32767 // 9
mapsound "q009/ambient2" 255 32767 // 10
mapsound "q009/ambient3" 255 32767 // 11
mapsound "q009/ambient4" 255 32767 // 12
mapsound "q009/ambient5" 255 32767 // 13
mapsound "q009/ambient6" 255 32767 // 14
mapsound "q009/ambient7" 255 32767 // 15
mapsound "q009/ambient8" 255 32767 // 16
mapsound "q009/ambient9" 255 32767 // 17
mapsound "q009/machine1" 255 32767 // 18
mapsound "q009/machine2" 255 32767 // 19
mapsound "q009/machine3" 255 32767 // 20
mapsound "q009/machine4" 255 32767 // 21
mapsound "q009/machine5" 255 32767 // 22
mapsound "q009/machine6" 255 32767 // 23
mapsound "q009/machine7" 255 32767 // 24
mapsound "q009/machine8" 255 32767 // 25
mapsound "q009/machine9" 255 32767 // 26
mapsound "q009/machine10" 255 32767 // 27
mapsound "q009/machine11" 255 32767 // 28
mapsound "q009/machine12" 255 32767 // 29
mapsound "q009/machine13" 255 32767 // 30
mapsound "q009/machine14" 255 32767 // 31
mapsound "q009/critical_core" 255 32767 // 32
mapsound "q009/scream" 255 32767 // 33                   (my code here)

Re: Add a sound

Posted: October 30th, 2011, 12:12 am
by lzrstrm
NVM
I solved my Problem

Re: Add a sound

Posted: June 7th, 2012, 1:52 am
by Littlejoe-42
beautiful

COULD YOU BE SO KIND AS TO TELL THE REST OF US HOW YOU DID IT?

Re: Add a sound

Posted: June 7th, 2012, 5:10 pm
by chocolatepie33
agreed, make this post a relevant and useful one.

Re: Add a sound

Posted: June 8th, 2012, 8:42 am
by Littlejoe-42
the .gui menu does not allow you to go above 20. However, if you type in

newent sound (index #) (radius) (listen radius)

You can type in index numbers higher than 20. It's a bit of a pain entering each sound entity seperately, but I see no other way around it.

Re: Add a sound

Posted: June 9th, 2012, 6:59 pm
by Littlejoe-42
If you want to create your own customized sound entities, please check out my tutorial in the tutorials section.

"adding your own sound triggers for sound entities"

Re: Add a sound (rename yours to PAS sounds)

Posted: June 10th, 2013, 12:13 am
by Dököll
Hello Gamers!

I am new here, just saw this post and wanted to share how to add own sound:

(1)Went to PAS root dir, in my case for Win 7 (C:\Users\my_pc_name\Downloads\PlatinumArtsSandbox2.8\packages\music)
(2)Made a note of the list of tracks from this directory, you will need to rename your MP3s to match the list
(3)followed instructions at the bottom of this URL, you need 'The more advanced way to add music...' (http://www.sandboxgamemaker.com/wiki/in ... to_Sandbox)
(4)Downloaded Audacity as said from above URL, to convert files to ogg file types
(5)Made a copy of the original PAS audio files, added to new (TEST) folder in the same directory
(6)In Audacity, you will need to Export, not Save as... (choose OGG extension)
(7)Simply copy your ogg files, accurately renamed, as Agent, Jingle, and so on...

Start Sandbox... remember PAS runs these @ random;-)

Have a great week!

Dököll