KIND Tracksound

From TrainzOnline
Revision as of 15:07, 14 February 2014 by Pcas1986 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

KIND Tracksound assets are configurable tracksounds (that is, the rail-wheel 'whoosh' noise, not the 'clickety-clack' noise). They can be tagged onto track splines to change the character of the sound depending on location - e.g. tunnels and bridges using a different sound to plain track.

Wave files are to be named similar to a diesel enginesound - e.g. 'idle 1.wav', 'idle 2.wav', etc, etc.

How many wave files there are, and when to switch between them, is defined by the 'levels' container.

Contents

KIND Hierarchy

Parent Classes

Child Classes

  • none.

Supported Tags

kind "tracksound"
levels
{
}
min-distance 0
max-distance 0

levels

Type: Levels Container
Desc: Controls when to switch between different wave files.

min-distance

Type: Decimal
Desc: Distance from source to observer in metres within which the sound is played at maximum volume

max-distance

Type: Decimal
Desc: Distance from source to observer in metres outside which the sound is not heard at all


Example Config.txt

Sample config.txt file for a Tracksound asset, with the Standard Tags excluded for brevity:

kind		"tracksound"
levels {
	0	0.1
	1	10
}
min-distance	10
max-distance	300

Downloads

Attach sample files here?


Categories

Personal tools