engine volume mix

BOLLOmanuel

hello,

can someone explain me the exact function of this sfx lines?

// ENGINE VOLUME MIX
playerEngineVolumeMinimum=0.5
playerEngineVolumeThrottleFraction=0.5
playerEngineVolumeRevFraction=0.5

thanks!
 
I think it works like this:

Engine volume = playerEngineVolumeMinimum + playerEngineVolumeThrottleFraction + playerEngineVolumeRevFraction

Probably maximum is 1, but i am not sure.


Examples:

If you want your engine volume is not much influenced by RPM neither throttle position you can set

playerEngineVolumeMinimum=0.8
playerEngineVolumeThrottleFraction=0.1
playerEngineVolumeRevFraction=0.1


If you want your engine volume is influenced by RPM and throttle position then you can set

playerEngineVolumeMinimum=0.2
playerEngineVolumeThrottleFraction=0.4
playerEngineVolumeRevFraction=0.4


If you want your engine volume is much influenced by throttle position:
playerEngineVolumeMinimum=0.3
playerEngineVolumeThrottleFraction=0.6
playerEngineVolumeRevFraction=0.1

etc..
 

Back
Top