I asked it some time ago, but no one could help me, so i will try it again.
How is sound volume and sound distance defined?
Sometimes, sounds are very loud and you can hear them everywhere on a small map, sometimes, they are very loud, but only when you zoom near the sound source and sometimes sounds have only low volume.
What i could find out myself is, that the default damage effects the sound volume. I thought that the areaofeffect would define the sound distance, but that seems to be wrong (Annihilator for example can be heard from far away, but it doesnt have a big areaofeffect).
So does anyone know more about the sounds? Do the sound file types have to do with it?
Sound volume question
Moderator: Moderators
I don't know, either. I've been trying to figure out how sound works for quite a while now, with much frustration- I can get sounds to play, but very frequently sounds that I want to play loud enough to hear over long distances, like big explosions, will play so quietly that they're drowned out by gunfire, etc. It's very annoying!
Quit derailing the thread, please. This is not about the relative merits of DirectSound via SDL vs. OpenAL.
This thread is about why sounds aren't playing at proper volumes. And why it's not consistant. Some sounds seem to be fine, some aren't... and their relative top-end volumes don't differ by much, if at all. It just doesn't make any sense.
This thread is about why sounds aren't playing at proper volumes. And why it's not consistant. Some sounds seem to be fine, some aren't... and their relative top-end volumes don't differ by much, if at all. It just doesn't make any sense.
- Optimus Prime
- Posts: 755
- Joined: 03 Oct 2005, 14:31
Optimus:
Yes, you must use modified Includes when you compile. I will be making all of my code for NanoBlobs, which contains a number of important new advances, available to all modders under the GPL as soon as the mod's sounds and new graphics for the interace are prepared. I'd say... about 72 hours, max, I am making very steady progress, now that the hardest issues have been resolved. Have you read my new Plant script, which I posted in the NanoBlobs thread? If not, go read it... it's just a sample of how much I am going to simplify everybody's lives
The scripting itself is simple:
... somewhere in the Killed() script, for example, does the trick.
Yes, you must use modified Includes when you compile. I will be making all of my code for NanoBlobs, which contains a number of important new advances, available to all modders under the GPL as soon as the mod's sounds and new graphics for the interace are prepared. I'd say... about 72 hours, max, I am making very steady progress, now that the hardest issues have been resolved. Have you read my new Plant script, which I posted in the NanoBlobs thread? If not, go read it... it's just a sample of how much I am going to simplify everybody's lives
The scripting itself is simple:
Code: Select all
play-sound("Argh_SRook_Death",15);