Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Add a sound

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
User avatar
lzrstrm
Member
Member
Posts: 122
Joined: September 21st, 2011, 8:26 pm
Name: Cameron
Location: Canada

Add a sound

Post 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)
Virus 44
Image
User avatar
lzrstrm
Member
Member
Posts: 122
Joined: September 21st, 2011, 8:26 pm
Name: Cameron
Location: Canada

Re: Add a sound

Post by lzrstrm »

NVM
I solved my Problem
Virus 44
Image
Littlejoe-42
Member
Member
Posts: 22
Joined: May 26th, 2012, 11:34 pm
Name: Joey

Re: Add a sound

Post by Littlejoe-42 »

beautiful

COULD YOU BE SO KIND AS TO TELL THE REST OF US HOW YOU DID IT?
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Add a sound

Post by chocolatepie33 »

agreed, make this post a relevant and useful one.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Littlejoe-42
Member
Member
Posts: 22
Joined: May 26th, 2012, 11:34 pm
Name: Joey

Re: Add a sound

Post 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.
Littlejoe-42
Member
Member
Posts: 22
Joined: May 26th, 2012, 11:34 pm
Name: Joey

Re: Add a sound

Post 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"
Dököll
Member
Member
Posts: 7
Joined: June 9th, 2013, 11:56 pm
Name: Dököll

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

Post 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
Locked