Glitched audio playback when using the [Sound] section
Page 1 of 1
Glitched audio playback when using the [Sound] section
I'm using [Sound] with multiple files, and all of them seem to glitch out before the volume completely goes away, as demonstrated in this video:
Basically, the volumefunction is designed so that certain sounds only play at certain speeds of the train.
Here's the code to one of the motor files:
Basically, the volumefunction is designed so that certain sounds only play at certain speeds of the train.
Here's the code to one of the motor files:
- Code:
[object]
States = ExceptionCode.b3d
TrackFollowerFunction = speed * 2.23694
[sound]
Filename = motor1.wav
Volumefunction = if[value + 1 * (speed * 2.23693629) >= 3.5 & value + 1 * (speed * 2.23693629) <= 6.7,if[powerNotch > 0,1,0],0]
Pitch = 1.0
Position = 0,1.2,0
Radius = 100
Similar topics
» Odd sound playback
» Issues with TrackFollowerFunction in [Sound] Section
» Sound.cfg ATS section configuration for default sounds
» [Sound] section in .animated files *for trains* not working
» Audio generation
» Issues with TrackFollowerFunction in [Sound] Section
» Sound.cfg ATS section configuration for default sounds
» [Sound] section in .animated files *for trains* not working
» Audio generation
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum