BVEStation Forums

BVE => BVE/OpenBVE Support => Topic started by: BeeRyDavis on March 25, 2012, 12:36:42 pm

Title: BVE Coding (Tracks)
Post by: BeeRyDavis on March 25, 2012, 12:36:42 pm
Quick question, how do you get tracks to come up from below or down from above after you do the railstart command?
Title: Re: BVE Coding (Tracks)
Post by: Phantom909 on March 25, 2012, 12:51:11 pm
Quick question, how do you get tracks to come up from below or down from above after you do the railstart command?

the 3rd parameter in the rail command is the height of that rail above track 0.

joe
Title: Re: BVE Coding (Tracks)
Post by: BeeRyDavis on March 26, 2012, 05:42:04 pm
But how do you bring that track up or down to the same level as the running rail 0?
Title: Re: BVE Coding (Tracks)
Post by: Phantom909 on March 26, 2012, 10:23:59 pm
But how do you bring that track up or down to the same level as the running rail 0?

every 25 meters you change the parameter. lets say you start a rail 5 meters below rail0. 25 meters change the 3rd value to -4, 50 meters -3, 75 meters -2, 100 meters -1, 125 meters 0 and its even with rail 0

joe
Title: Re: BVE Coding (Tracks)
Post by: BeeRyDavis on March 27, 2012, 04:20:03 pm
So you do the railstart command every 25 meters but just change the 3rd number? No pitch or anything?
Title: Re: BVE Coding (Tracks)
Post by: Phantom909 on March 27, 2012, 09:48:04 pm
So you do the railstart command every 25 meters but just change the 3rd number? No pitch or anything?

you only use the railstart when you start a rail, you use a rail command after that. pitch only is used for rail 0

joe
Title: Re: BVE Coding (Tracks)
Post by: BeeRyDavis on June 08, 2012, 11:28:52 am
Thanks it worked. Sorry for the late response. My computer was messed up