Soundscripts give ambient or directional sounds to objects. They cannot be used on track, bridge or spline objects. WAV files should be located within the same directory as the config.TXT file.
| Config.TXT for MOJUNCTION | Config.TXT for THUNDERBOX | |
|
kuid <KUID:###:#####> |
kuid <KUID:###:#####> |
|
| Config.TXT for MAP | Config.TXT for PEOPLE CROWD | |
|
kuid <KUID:###:#####> |
kuid <KUID:###:#####>
|
| TAGS | DESCRIPTIONS |
|
repeat-delay |
1 or 2 numbers (min, max, in sec) time to delay between the end of the sound playing, and playing it again randomized between (min . . max) default min = 0 default max = min |
|
attachment |
attachment point on the object to attach the sound to. default: origin of parent object not used for ambient sounds |
|
distance |
2 numbers (meters) 1st number = the distance at which the sound is played at 100% 2nd number = the cut-off distance -- doesn't affect the volume of the sound default: 50m, 150m |
|
sound |
list of *.WAV files to play (randomly picked) |
volume |
gain of the sound default 1.0 = 100% |
|
ambient |
0 or 1, default 0 ambient sounds have no 3d 'position' and may be stereo non-ambient (positional) sounds are positioned on the object and must be mono |
|
value-range |
2 numbers, currently used only for day/night sound effects. midnight is 0.5, midday = 0.0 or 1.0 where the numbers are not the same, this sets the start and end times for the sound to play default 0,0 (off) |
|
trigger |
currently used only for levers. the sound doesn't play until the trigger message happens |
|
nostartdelay |
0 or 1, default 0 (flanging = really nasty sound caused when several copies of the same sound are played at once) |
|
dayloop, daysingle, morning, night, toggle |
These have no function in Trainz and have only been put in for user reference. Note: Single word only. Do not use a space. |