ent_sound

Posted By: EX Citer

ent_sound - 12/11/06 09:56

Can please ent_sound be changed? The problem is now itīs not independent of the game scale. That means if I have a game with large models the sound is always played with max volume, instead of getting scaled by the distance. Or maybe make another sound command. ent_scalesound or something.

I mean the formula for the sound volume is now like: snd_vol = max(0,min(100,max_snd_vol-camera_distance));

I think this way would be much better because the game scale wouldnīt matter anymore.
snd_vol = max(0,min(100,100-100*max_snd_vol/camera_distance));

I hope I made no mistake in the calculation. Anyway I mean that the volume is scaled by the distance from max volume to min volume.
Posted By: JibbSmart

Re: ent_sound - 12/11/06 22:38

i second that! different people use different scales, but the current sound-distance-fade system is fairly restricting.

julz
© 2024 lite-C Forums