Horn Track for Advanced Trains

Adds a track for automatically activating train horns.

Sounds / Music Transport

Download (882 KB)
For Minetest 5.5 and above

How do I install this?

Horn Track for Advanced Trains

This mod adds a track for Advanced Trains that automatically activates the horn or whistle of any train that passes over it.

Features:

  • Horn tracks can be customised to play different patterns.
  • Horn tracks are available for standard tracks and tieless tracks.
  • Trains can be filtered with ARS rules (requires Advanced Trains Interlocking).

Patterns

A pattern consists of a sequence of space-separated notes in the form [INTENSITY*]DURATION, where INTENSITY indicates the horn volume on a scale from 0.0 to 1.0, and DURATION indicates the length in seconds.

You can insert a delay with 0*DURATION.

Two adjacent words of the same intensity will automatically insert a delay. You can prevent this by adding a zero-length delay with 0*0.

Reviews

Review

Do you recommend this mod?

  • English

    Automated trains now have a voice!

    This mod works perfectly! I like the customizable horn patterns. This is good for train crossings and other related things, especially for trains that are running without a player operator.

    Note that if you notice any weird timing when the horn sounds, it's most likely because the horn sound for your particular train doesn't repeat seamlessly (for example, using a duration of 3 or more for one of the DlxTrains diesel locomotives will have this effect). This is due to the individual train mods, not Horn Track.

    2 comments