Horn lever in panel2 cab
2 posters
Page 1 of 1
Horn lever in panel2 cab
Don't know if this is plug-in related. I'm using [DigitalNumber] to provide a horn lever in the cab of the 201 class(s) - same principle as the other control levers. All trains have BVEC plug in fitted.
Using " Subject = ats24 " in the panel2.cfg I notice that nothing happens visually when the hooter is operated. I'm sure it used to work when I first made the locos, which originally had an older UK plug in of some sort. The horn levers on the 22000 & 29000 have the same arrangement and are also non-functional.
Any suggestions?
Using " Subject = ats24 " in the panel2.cfg I notice that nothing happens visually when the hooter is operated. I'm sure it used to work when I first made the locos, which originally had an older UK plug in of some sort. The horn levers on the 22000 & 29000 have the same arrangement and are also non-functional.
Any suggestions?
Last edited by Northern Line on Wed May 23, 2018 5:10 am; edited 1 time in total (Reason for editing : solved :))
Re: Horn lever in panel2 cab
Adding the following to the [Interlocks] section should do it I think:
This should show ATS24 for 500ms whenever one of the three horn keys is pressed.
Edit:
Actually the main sim also already does this too, as of 1.5.1.0
Klaxon Returns the currently playing horn (if any) as follows: (0) No horns are playing (1) The primary horn is playing (2) The secondary horn is playing (3) The music horn is playing. Note If multiple horns are playing, the lowest value will be returned.
PrimaryKlaxon Returns 1 if the primary horn is currently playing, 0 otherwise.
SecondaryKlaxon Returns 1 if the secondary horn is currently playing, 0 otherwise.
MusicKlaxon Returns 1 if the music horn is currently playing, 0 otherwise.
Using PrimaryKlaxon instead of ATS24 should give you what you want.
- Code:
klaxonindicator=24,500,24,500,24,500
This should show ATS24 for 500ms whenever one of the three horn keys is pressed.
Edit:
Actually the main sim also already does this too, as of 1.5.1.0
Klaxon Returns the currently playing horn (if any) as follows: (0) No horns are playing (1) The primary horn is playing (2) The secondary horn is playing (3) The music horn is playing. Note If multiple horns are playing, the lowest value will be returned.
PrimaryKlaxon Returns 1 if the primary horn is currently playing, 0 otherwise.
SecondaryKlaxon Returns 1 if the secondary horn is currently playing, 0 otherwise.
MusicKlaxon Returns 1 if the music horn is currently playing, 0 otherwise.
Using PrimaryKlaxon instead of ATS24 should give you what you want.
Similar topics
» Horn Problem
» Music horn uses Klaxon0 sound
» DigitalGauge Panel2.cfg
» Indonesian KCIC 400AF Panel2.cfg problem
» Cab/Panel2.cfg - any way of achieving a "Radial LED" digital gauge ?
» Music horn uses Klaxon0 sound
» DigitalGauge Panel2.cfg
» Indonesian KCIC 400AF Panel2.cfg problem
» Cab/Panel2.cfg - any way of achieving a "Radial LED" digital gauge ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum