sound: speed-/rpm-depending sound
Posted: Sun May 15, 2016 9:23 am
I'm looking for a possibility to alter for example a vehicles working sound, based on its speed or engine's rpm.
Yesterday, I noticed the car already does, but I couldn't find anything in entities.lua which controls it.
BTW: Neither the wiki search nor google finds a documentation of those "suspicious" functions, only files where it is used without any comments:
stop_trigger/stop_trigger_speed (i guess it sets a minimum speed for break noise?)
sound_minimum_speed
match_speed_to_activity
Is it possible to (additional to altering it's pitch) swap the working_sound url?
Yesterday, I noticed the car already does, but I couldn't find anything in entities.lua which controls it.
BTW: Neither the wiki search nor google finds a documentation of those "suspicious" functions, only files where it is used without any comments:
stop_trigger/stop_trigger_speed (i guess it sets a minimum speed for break noise?)
sound_minimum_speed
match_speed_to_activity
Is it possible to (additional to altering it's pitch) swap the working_sound url?