garrysmod-requests icon indicating copy to clipboard operation
garrysmod-requests copied to clipboard

Param for distance based sound blending

Open Goldermor opened this issue 1 year ago • 3 comments

By default, distance based sounds are hardcoded to begin blend at 240 world units and end at 1320 world units. Is it possible to add your own parameters for Soundscripts, like: blendin = 240, blendout = 1320

Goldermor avatar Dec 24 '23 11:12 Goldermor

The engine does not deal with raw distances for sounds, it's all based on the soundlevel.

https://wiki.facepunch.com/gmod/Enums/SNDLVL

robotboy655 avatar Feb 02 '24 17:02 robotboy655

What, what does all this have to do with the request? It's all about the way the sound of the explosion is working, for example. When you add ^ to sound path to make left channel for close, and right channel for far distace. And i'm talking about the possibility of changing numbers for blending distance, for better control.

Goldermor avatar Feb 11 '24 16:02 Goldermor

You should've clarified that you were talking about distance blended sounds in the original post.

robotboy655 avatar Feb 15 '24 18:02 robotboy655