BVEStation
Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
Welcome to BVEStation.
Chat [1]
Downloads
Community
Wiki
BVEStation Forums
»
BVE
»
General BVE/OpenBVE
»
Associating Brightness Commands
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Associating Brightness Commands (Read 5431 times)
Simon
Conductor
Posts: 223
Gender:
BVEStation Member / Community Critic
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.
Logged
Kawasaki_Plant
Bombardier01800
Head Admin
Dispatcher
Posts: 749
Gender:
Apple Certified Macintosh Technician
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
Logged
Jose
BVEStation Administrator
Simon
Conductor
Posts: 223
Gender:
BVEStation Member / Community Critic
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.
Logged
Kawasaki_Plant
Bombardier01800
Head Admin
Dispatcher
Posts: 749
Gender:
Apple Certified Macintosh Technician
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,
Logged
Jose
BVEStation Administrator
Print
Pages: [
1
]
Go Up
« previous
next »
BVEStation Forums
»
BVE
»
General BVE/OpenBVE
»
Associating Brightness Commands