BVEStation

Author Topic: I Need Help with Coding.  (Read 2162 times)

Offline Mr Railfan

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 620
  • Gender: Male
  • Train Developer and Route Developer
    • View Profile
I Need Help with Coding.
« 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 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)

Offline trainbrain

  • Conductor
  • **
  • Posts: 108
  • Gender: Male
  • Freelance Route Developer
    • View Profile
    • My Youtube Channel
Re: I Need Help with Coding.
« Reply #1 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.

Working on the Northbound 2nd Ave Subway and the eastbound JFK express.
Upcoming projects are the R11, R15 and R12 trains.
(All credit to goes to Lance522 for the signature)

Offline trainbrain

  • Conductor
  • **
  • Posts: 108
  • Gender: Male
  • Freelance Route Developer
    • View Profile
    • My Youtube Channel
Re: I Need Help with Coding.
« Reply #2 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

Working on the Northbound 2nd Ave Subway and the eastbound JFK express.
Upcoming projects are the R11, R15 and R12 trains.
(All credit to goes to Lance522 for the signature)