Route Style Question

View previous topic View next topic Go down

Route Style Question

Post by jentron on Mon Jun 25, 2012 5:03 am

Hi Everyone,

I decided to jump into the OpenBVE scene by creating the Utah Transit Authority Frontrunner route[1]. I followed Dennis Lance's excellent tutorial[2] and now have 20km of double track covering 3 stations. The trouble is, Frontrunner is 48 km of single track with 14km of double track only at the stations and one or two passing spots. To model this, would I use multiple .railstart and .railend commands with the same index? Or is there a better way?

Thanks,

Ron


[1] http://en.wikipedia.org/wiki/FrontRunner
[2] http://www.freewebs.com/dennislance/

jentron

Posts : 1
Join date : 2012-06-24

Back to top Go down

Re: Route Style Question

Post by Dexter on Mon Jun 25, 2012 8:28 am

Well, Railstart and Railend seems to be most suitable for such situation - in case you want to have the rail indexed for placing objects (other trains etc.). The other way is of course "freeobject", but that brings a lot of calculating...
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: Route Style Question

Post by Northern Line on Mon Jun 25, 2012 9:14 am

hmm the calculation...

.freeobj 0;ON;X;Y;R;T

where 0 is the rail number, ON is the freeobject number and X= X Axis (left/right), Y = Y Axis (up/down), R = Rotate (by degrees) and T = Tilt Axis (forward/back) I'm not sure if it is left or right but for now its best to keep to .freeobj 0;ON;X;Y;R.

I find using rail objects as freeobjects useful as well as .rail commands as they fill the gaps that the .rail leaves.
avatar
Northern Line

Posts : 281
Join date : 2011-07-12
Age : 24
Location : Tooting, London, England

http://www.bve-district.co.uk/

Back to top Go down

Re: Route Style Question

Post by Dexter on Mon Jun 25, 2012 9:37 am

Northern Line wrote:hmm the calculation...
.freeobj 0;ON;X;Y;R;T

Well, I was talking more about placing objects dependent on that rail (created with .freeobj). You cannot use .dike, .wall, etc... which brings you to placing further .freeobj and calculations of their respective positions... Smile
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: Route Style Question

Post by graymac on Mon Jun 25, 2012 10:13 am

Where there is a second rail to the running rail (0) you give it an index number and start it. in the case of a rail used as a passing loop, once it has come to the point where it rejoins the running rail you can either end it or leave it running invisibly with the running rail by allocating a "null rail" using .railtype a;b where a is the index no of the rail and b is the rail listed in structure.
If you do not end dikes\walls associated with this rail they will continue even though the rail is invisible.
Also, if you end the rail instead of allowing it to continue, be sure to end the walls/dikes that went with it, or you will find that, if you start another rail further on and use the same rail index number, the walls\dikes will mysteriously appear again, even though you forgot all about them 50km ago!!
avatar
graymac

Posts : 1745
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Route Style Question

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum