KIND Tracksound

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m
m (Added sort criterion)
 
Line 49: Line 49:
  
 
==Categories==
 
==Categories==
[[Category:Asset KIND]]
+
[[Category:Asset KIND|T]]

Latest revision as of 15:07, 14 February 2014

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

[edit] KIND Hierarchy

[edit] Parent Classes

[edit] Child Classes

  • none.

[edit] Supported Tags

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

[edit] levels

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

[edit] min-distance

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

[edit] max-distance

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


[edit] 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

[edit] Downloads

Attach sample files here?


[edit] Categories

Personal tools