Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / 3d shooting sound

Author
Message
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 10th Oct 2009 00:43
ok, i want to make it so that when you shoot in the game, you can hear the sound all over the map but hear it louder if you are close to the sound(or looking in that direction), other wise lower.
bloodmage2
15
Years of Service
User Offline
Joined: 14th Jun 2009
Location:
Posted: 11th Nov 2009 18:00
well, there is a volume function for sound, so you can check the distance from the sounds origin, and ajust the sound accordingly. im not sure of the exact physics behind sound volume diminshing with distance so you might want to check that out.

-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.
prasoc
15
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 11th Nov 2009 18:05
orrr... use dbLoad3DSound() and dbPositionSound()




Your signature has been erased by a mod
thm120
15
Years of Service
User Offline
Joined: 28th Dec 2008
Location:
Posted: 15th Nov 2009 03:27
ok, so i could use the PositionSound (on where-ever the player is )through out the whole maP?

Login to post a reply

Server time is: 2024-10-01 18:40:34
Your offset time is: 2024-10-01 18:40:34