Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,038 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_sound #101779
12/11/06 09:56
12/11/06 09:56
Joined: May 2002
Posts: 2,541
Berlin
EX Citer Offline OP
Expert
EX Citer  Offline OP
Expert

Joined: May 2002
Posts: 2,541
Berlin
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.

Last edited by EX Citer; 12/11/06 09:57.
Re: ent_sound [Re: EX Citer] #101780
12/11/06 22:38
12/11/06 22:38
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
i second that! different people use different scales, but the current sound-distance-fade system is fairly restricting.

julz


Formerly known as JulzMighty.
I made KarBOOM!

Moderated by  aztec, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1