KIND Tracksound: Difference between revisions
mNo edit summary |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 4: | Line 4: | ||
How many wave files there are, and when to switch between them, is defined by the [[levels_container|'levels' container]]. | How many wave files there are, and when to switch between them, is defined by the [[levels_container|'levels' container]]. | ||
NOTE: For the sound to be directional, and fade in/out depending on distance, and for doppler to work correctly the sound files must be mono. If stereo files are provided, these functions will not work. | |||
==KIND Hierarchy== | ==KIND Hierarchy== | ||
| Line 49: | Line 52: | ||
==Categories== | ==Categories== | ||
[[Category:Asset KIND]] | [[Category:Asset KIND|T]] | ||
Latest revision as of 05:50, 24 April 2026
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.
NOTE: For the sound to be directional, and fade in/out depending on distance, and for doppler to work correctly the sound files must be mono. If stereo files are provided, these functions will not work.
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?