You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic merge of T1.6-89-ga2a9bbcc8 and 13 pull requests
- Pull request #1156 at f46d5f2: Fix incorrectly disabled options in train operations window
- Pull request #1086 at d8d61eb: Add Settings Exporter tool (copy settings to INI, etc)
- Pull request #1091 at e813c42: Automatic speed control
- Pull request #1115 at 270f22f: Do not activate ETS switch if no suitable cars are attached
- Pull request #1120 at ba3c47f: Automatically Calculate Friction Values if Missing
- Pull request #1121 at 91d2d26: Manually Override Articulation
- Pull request #1124 at e241a0d: Built-in PBL2 brake controller
- Pull request #1157 at 39cd994: Dynamic brake authorization by TCS
- Pull request #1159 at 48c9a63: Skip OR warnings about TSRE-specific token Ruler
- Pull request #1161 at 6cfe4e2: Fix string trim in .ini files
- Pull request #1082 at 5845a1a: Allow variable water level in glass gauge
- Pull request #1128 at 1d7643d: Particle Emitter Overhaul
- Pull request #1160 at 3390e80: Route Based TTrack Sounds
Copy file name to clipboardExpand all lines: Source/Documentation/Manual/sound.rst
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -446,6 +446,62 @@ Trigger Function
446
446
========= =====================================
447
447
448
448
449
+
Track Based Sounds for Routes
450
+
-----------------------------
451
+
452
+
As track based sounds (such as track joints, curve squeal, etc) are common to all rolling stock these types of sounds can be added at a route level, rather then
453
+
at an individual rolling stock level. This has the advantage of ensuring a level of consistency for all individual stock rather then requiring each piece of stock
454
+
to have appropriate sounds associated with it. It means that all rolling stock will be "automaticvally" have track sounds given to it.
455
+
456
+
This approach relies on use of the Track Region sounds configured in the TType.dat file. A base SMS file is created for the first track region sound which is played
457
+
continuously and contains all track related sounds that need to be played despite the region that the train is in. Further track region SMS files can be created for
458
+
different track type regions, such as different bridge types (such as wood, concrete or steel).
459
+
460
+
To enable this approach the following parameters need to be set accordingly in the route TRK file.
461
+
462
+
``ORTSPlayTrackSoundsBaseContinuous`` - this causes the first SMS file in the TType file to be played continuously. Set to 1 for continuous play or 0 for legacy operation.
463
+
464
+
``ORTSDistanceBetweenTrackJoints`` - this defines the distance between the track joints, and the value is any valid distance.
465
+
466
+
``ORTSConcreteSleepers`` - Allows sounds to be adjusted according to whether track is wood or concrete supported. Set to 1 if concrete sleepers are used throughout the route.
467
+
468
+
The following control parameters can be used in the relevant track region SMS files to vary a frequency or volume curve for the sound being played:
469
+
470
+
``AngleofAttackControlled`` - Varies as the Angle of Attack of a car on a curve varies.
471
+
472
+
``CarFrictionControlled`` - Varies as friction of car changes, typically between 0 and 1.
473
+
474
+
``WheelRPMControlled`` - Varies as RPM of wheel changes.
475
+
476
+
``CarDistanceTrackControlled`` - Distance that the car is from the camera in metres.
477
+
478
+
``CarTunnelDistanceControlled`` - Varies based upon the distance as a car travels into and out of a tunnel. Typically this value is between 0 and 25 metres.
479
+
480
+
The following control parameters can be used to trigger, enable or disable different WAV sound files within a SMS file:
481
+
482
+
``Joint_2Axle_Trigger``, ``Joint_3Axle_Trigger``, ``Joint_4Axle_Trigger``, ``Joint_6Axle_Trigger``, ``Joint_8Axle_Trigger`` - these triggers are operated when the car passes
483
+
over a joint, and can be varied in accordance with the number of axles defined in the WAG file.
484
+
485
+
``Switch_2Axle_Trigger``, ``Switch_3Axle_Trigger``, ``Switch_4Axle_Trigger``, ``Switch_6Axle_Trigger``, ``Switch_8Axle_Trigger`` - these triggers are operated when the car
486
+
passes over a switch, and can be varied in accordance with the number of axles defined in the WAG file.
487
+
488
+
``Xover_2Axle_Trigger``, ``Xover_3Axle_Trigger``, ``Xover_4Axle_Trigger``, ``Xover_6Axle_Trigger``, ``Xover_8Axle_Trigger`` - these triggers are operated when the car passes
489
+
over a Cross over, and can be varied in accordance with the number of axles defined in the WAG file. Note that the cross over needs to have been defined within the route editor.
490
+
491
+
``AngleofAttack_inc_past``, ``Angleofattack_dec_past`` - Varies as the Angle of Attack of a car on a curve varies.
492
+
493
+
``WheelRPM_inc_past``, ``WheelRPM_dec_past`` - Varies as RPM of wheel changes.
``CarInTunnel_inc_past``, ``CarInTunnel_dec_past`` - 0 = car not in tunnel, 1 = car in tunnel.
498
+
499
+
``CarCameraDistance_inc_past``, ``CarCameraDistance_dec_past`` - Distance that the car is from the camera, in metres.
500
+
501
+
Note: If rolling stock already has track sounds set up in tyhe wagon SMS file, then these will be played at the same time as the route based sounds. For best sound outcomes,
502
+
the number of axles for each wagon should be correctly set in the WAG file.
0 commit comments