BVEStation

Author Topic: Associating Brightness Commands  (Read 5364 times)

Offline Simon

  • Conductor
  • **
  • Posts: 223
  • Gender: Male
  • BVEStation Member / Community Critic
    • View Profile
Associating Brightness Commands
« on: August 09, 2011, 04:23:25 pm »
Took a stab at it today and opened up the (G)'s route file and tried to decipher the technique used to make it happen as well as read openBVE's documentation, but still have a few questions.

Is there an easier way to figure out which line of code starts when. The brightness commands are used when the platform begins (255/Fully Lighted) and when it hits the tunnels it goes to (0/Darkness). However, is there an easy way to pinpoint which numeric value it is when the platform ends and the tunnels start? That way, instead of flipping through the lines of code, I can easily determine what to put in after With Track?

Yes I know, I still haven't gotten the basics right.  :P
Kawasaki_Plant

Offline Bombardier01800

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 749
  • Gender: Male
  • Apple Certified Macintosh Technician
    • View Profile
    • MBTA and NJT Transit Forums
Re: Associating Brightness Commands
« Reply #1 on: August 09, 2011, 04:40:16 pm »
You use RouteViewer. Also, keep in mind that even though the train is in the station, I don't think that much light enters the cab. That's why I use a little less light
Jose
BVEStation Administrator

Offline Simon

  • Conductor
  • **
  • Posts: 223
  • Gender: Male
  • BVEStation Member / Community Critic
    • View Profile
Re: Associating Brightness Commands
« Reply #2 on: August 09, 2011, 05:43:48 pm »
Tried to do this on the (D), but failed. Gave me an error message saying the command track.brightness is not supported at line X.

Could someone offer an in depth tutorial at this.
Kawasaki_Plant

Offline Bombardier01800

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 749
  • Gender: Male
  • Apple Certified Macintosh Technician
    • View Profile
    • MBTA and NJT Transit Forums
Re: Associating Brightness Commands
« Reply #3 on: August 09, 2011, 09:04:30 pm »
ok there's a trick...
Let's say you're in station #1 which starts at meter mark 100.
Let's say the station is 50 meters long, and after it, you'd be going into the tunnel. You'd do:
100,.brightness 230,
145,.brightness 230,
155,.brightness 0,

Jose
BVEStation Administrator