Jump to content

adding sounds to a locomotive


Empfohlene Beiträge

I have some Locomotives in my layout that do not have built in sound (Thanks goes to Reinhard for creating them), and I want to add certain sounds under certain conditions.  Can I read the speed of a locomotive, and depending on speed activate certain sounds?  I'm pretty sure the speed can be read when the locomotive is on a certain track, but can that speed then be checked against a value, (say > 10)

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hello Curt,

you can read the locomotive's speed at every time. And you can check it against a specific value as shown below in case of a "train enters/leaves a track" event:

764151374_Speedcondition.jpg.4bc08d5f034a5f9b9fc9691a46bf954a.jpg

If you know the explicit name of the locomotive, naturally you can also specify the locomotive's name instead of the "_Trigger1" reference shown above.
See also the example below - e.g. assign speed 60 to the locomotive and look what happens.

SpeedCheck.mbp

Many greetings
BahnLand

Link zu diesem Kommentar
Auf anderen Seiten teilen

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen.

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde dich hier an.

Jetzt anmelden
×
×
  • Neu erstellen...