Immersive Railroading

Immersive Railroading

3M Downloads

Dividing the running sound (start, main, stop)

S333G opened this issue ยท 0 comments

commented

Describe the bug
I've been dividing the "running"-sound in three parts (start, main, stop) to realize the fans of the German class 143.
So I wrote them down in the .caml (also tested in .json) correctly, but the start sound only plays once when setting the throttle after starting the engine. It is correctly followed by the main-sound but from there it skips right to the main-sound every time the throttle was set to zero and back up.
The stop sound never plays. When throttle is set to zero, the running-sound only fades out.

How to reproduce

  1. Place down a train with sound-definition as described above (optional: engine_pitch_range = 0)
  2. Start its engine
  3. Set throttle up to any value (No reverser needed)
  4. Listen: start-sound plays and is correctly followed by main-sound
  5. Reset throttle
  6. Listen: stop-sound doesn't play but main-sound fades out
  7. Set throttle up again to any value
  8. Listen: start-sound doesn't play but main-sound fades in

Expected behavior
When the engine is running and the throttle is set to any value, the start-sound plays and gets followed by the main-sound. When resetting throttle, the stop-sound plays. When setting the throttle back up again, the procedure repeats.

System Information
OS: Windows 11 Pro

System Memory: 32 GB

Allocated Memory: 8 GB

CPU: AMD Ryzen 7 7800X3D 8-Core Processor (4.20 GHz)

GPU: NVIDIA GeForce RTX 4070 (12 GB)

IR-Version: 1.12.2-forge-1.10.0

Forge-Version: 1.12.2 - 14.23.5.2859

Modlist

  • ExternalView-2.0
  • ImmersiveRailroading-1.12.2-forge-1.10.0
  • OpenComputers-MC1.12.2-1.8.5+179e1c3
  • OptiFine_1.12.2_HD_U_G5
  • TrackAPI-1.2
  • UniversalModCore-1.12.2-forge-1.2.1

latest.log
Pastebin | latest.log