Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (dr_panther, 1 invisible), 620 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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