Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Models and Media / Sounds similar to distance from object?

Deine Mutter
Years of Service
User Offline
Joined: 13th Jan 2015
Posted: 30th Jan 2015 14:02
When I add a Sound to an object, it always sounds like ist next to my ear. But i want it to be realistic, so the Sound gets louder when you come closer, and fades when you go away, so ist equal to the distance between the object and the Player. Is this possible?
Disturbing 13
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 31st Jan 2015 10:08
If these are static objects then yes. I'm not sure what kind of resources it uses but here goes.
1. have the sound you want very low.
2. place a large soundzone on top of the object (object preferrably in the center.
3. place another,smaller soundzone of the same sound within the soundzone.
The soundzones stacked will make it louder. Areas where the soundzone does not overlap will be lower.
4. repeat with an even smaller soundzone for a much louder triple stacked one wich should give you the effect of the sound getting louder as you get closer to the object.
Hope that helped.

Model pack 66-99 high quality!!
"Who loves ya baby!"
Deine Mutter
Years of Service
User Offline
Joined: 13th Jan 2015
Posted: 31st Jan 2015 11:40
Thanks disturbing13, but im sure that Feature was in an earlier Version of fpsc.
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 31st Jan 2015 14:41 Edited at: 31st Jan 2015 14:42
Oops sorry
wrong post.

My games never have bugs. They just develop random features..
FPSC Master
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 31st Jan 2015 22:54
Disturbing 13's method is one way to achieve your goal, and works even in the earlier versions of FPSC. Very few features are dropped as the versions increased, unless it caused bugs or they found a better way to deploy the feature.

Another method is to script your sound zone using commands such as "musicvolume" and "soundscale". Also look at using "plrdistfurther/plrdistwithin" to have the sound adjust according to how close/far the player is. It can be done, has been done; commands are available based on your FPSC version. In case you have not been directed, check the Script Syntax. It has the complete listing of all commands (earlier versions of FPSC may not have some in the list depending on when the commands were added).

There's no problem that can't be solved without applying a little scripting.

Login to post a reply

Server time is: 2023-06-08 01:56:25
Your offset time is: 2023-06-08 01:56:25