BVEStation Forums

BVE => BVE/OpenBVE Support => Topic started by: Mr Railfan on September 06, 2011, 06:27:31 pm

Title: I Need Help with Coding.
Post by: Mr Railfan on September 06, 2011, 06:27:31 pm
Can any route or train developer help me out with this:

Basicly im having trouble making my R143 Display different features on the Left monitor like "Loss of T/O personnel" whenever the Emergency brake is applied or you fail to acknowledge that you are present (a form of deadmans feature i put in where you have to press [Delete] key every 60 seconds or the train goes into emergency) , or "ATO enabled" whenever you turn on the AI to operate the train . I looked at the basic codes that where provided at http://trainsimframework.org/develop/index.html (http://trainsimframework.org/develop/index.html) and i still dont get it .
 
For example:
i put in

[Pilotlamp]
Subject = ats256
Location = 453, 764
DaytimeImage = cab\ATS.png
NighttimeImage = cab\ATS.png
TransparentColor = #0000FF
Layer = 10

the subject is ats256 because on the openbve website it says 256 is the default number for the built in safety system that comes with every Openbve and 256 signifies ATS enabled .

So why doesnt the ats.png [ats.png shows "CBTC enabled"if anyone was wondering what the picture shows] show up whenever i enable ats?

If someone can make anysense out of what i wrote or knows how to code in such features so that they show up on the monitor whenever you enable them , please help me out! 8)
Title: Re: I Need Help with Coding.
Post by: trainbrain on May 16, 2013, 05:35:37 pm
Well, I was looking through the forums and found this...

I recommend using the OS_ATS1.dll or UKSpt.dll plugins. Both of these plugins support a vigilance device, which is used on the UK trains.
Title: Re: I Need Help with Coding.
Post by: trainbrain on May 16, 2013, 05:36:35 pm
Well, I was looking through the forums and found this...

I recommend using the OS_ATS1.dll or UKSpt.dll plugins. Both of these plugins support a vigilance device, which is used on the UK trains.

BTW I would love to help with the R143, perhaps get textures for the exterior/interior and observe the CBTC screen as i ride the L alot