KIND Hornsound: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:


For a three part hornsound, the sounds for the horn are placed in a subdirectory called 'horn'. The lead-in sound should be named 'start.wav', the loop should be named 'idle 1.wav' and the lead-out sound should be named 'stop.wav'. The bell sound is as for a single part or two part horn.
For a three part hornsound, the sounds for the horn are placed in a subdirectory called 'horn'. The lead-in sound should be named 'start.wav', the loop should be named 'idle 1.wav' and the lead-out sound should be named 'stop.wav'. The bell sound is as for a single part or two part horn.
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 39: Line 42:


==Categories==
==Categories==
[[Category:Asset KIND]]
[[Category:Asset KIND|H]]

Latest revision as of 05:49, 24 April 2026

KIND Hornsound assets are horn or whistle sounds for locomotives.

For a single part horn sound, the horn sound should be named 'horn.wav', and the bell sound 'idle 1.wav'.

For a two part horn sound, the lead-in sound should be named 'horn_start.wav', the loop should be named 'horn_loop.wav', and the bell 'idle 1.wav'.

For a three part hornsound, the sounds for the horn are placed in a subdirectory called 'horn'. The lead-in sound should be named 'start.wav', the loop should be named 'idle 1.wav' and the lead-out sound should be named 'stop.wav'. The bell sound is as for a single part or two part horn.

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 "hornsound"
two-part 0
three-part 0

two-part

Type: Boolean
Desc: Hornsound is two-part.

three-part

Type: Boolean
Desc: Hornsound is three-part.


Example Config.txt

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

kind		"hornsound"
two-part	1
three-part	0

Downloads

Attach sample files here?

Categories