Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 19,686 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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