OpenBVE
OpenBVE copied to clipboard
Sounds in an animated file do not support translation functions
Description
A relatively recent feature was allowing sounds to be added to an animated container.
These are currently 100% static in-world, and so are unable to be moved via functions.
Reproduction
[sound]
Filename = SiemensPropulsion/motor0.wav
Volumefunction = if[Ceiling[Abs[value + 1 * (speed * 22.3693629)]] >= 1 & Floor[Abs[value + 1 * (speed * 22.3693629)]] <= 85,if[powerNotch > 0,0.9,0],0]
Pitch = 1.0
Position = 0,1.2,0
TrackFollowerFunction = value + ((1/60) * speed)
Should move along the TrackFollowerFunction path.