Set time?
3 posters
Page 1 of 1
Set time?
All,
Historically the time in the sim has been set by the arrival time at the first station in the route file.
I'm looking at doing more "scenarios" with things such as late running, would it be possible to add a function to set the time at the beginning of the route file individually of the first station command?
Historically the time in the sim has been set by the arrival time at the first station in the route file.
I'm looking at doing more "scenarios" with things such as late running, would it be possible to add a function to set the time at the beginning of the route file individually of the first station command?
Greater Anglia Metro- Posts : 135
Join date : 2012-03-24
Age : 31
Location : London
Re: Set time?
Sure, will try and do it tomorrow for you, just need to think of the appropriate command
For the meantime, I've actually added the command-line switch /time already.
This takes a time (Using colon as the separator), which the simulation will start at.
For the meantime, I've actually added the command-line switch /time already.
This takes a time (Using colon as the separator), which the simulation will start at.
Re: Set time?
Added the command Route.StartTime
http://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2017-01-30.zip
This sets the time at which the simulation will start. Only supported in the main program, will display an info message in RouteViewer
http://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2017-01-30.zip
This sets the time at which the simulation will start. Only supported in the main program, will display an info message in RouteViewer
Last edited by leezer3 on Mon Jan 30, 2017 12:25 pm; edited 1 time in total
Re: Set time?
Thanks
That's what I call an effective, efficient and responsive developer!
In the longer term (certainly I don't need this myself yet) is it possible to add compatibility with the automatic change ends feature*?
*Like I said, don't need it yet, would need to look up the actual command in the docs
That's what I call an effective, efficient and responsive developer!
In the longer term (certainly I don't need this myself yet) is it possible to add compatibility with the automatic change ends feature*?
*Like I said, don't need it yet, would need to look up the actual command in the docs
Greater Anglia Metro- Posts : 135
Join date : 2012-03-24
Age : 31
Location : London
Re: Set time?
Greater Anglia Metro wrote:Thanks
That's what I call an effective, efficient and responsive developer!
In the longer term (certainly I don't need this myself yet) is it possible to add compatibility with the automatic change ends feature*?
*Like I said, don't need it yet, would need to look up the actual command in the docs
Can you explain what you're trying to do with the change ends feature?
IIRC (I'd have to check this mind), when it changes ends if you're late, you should still be late.
Re: Set time?
Sudden delay increase while changing ends is quite realistic. Unusually long queue at the coffee stand; having to check several toilets in your train before you find one featuring both soap AND paper; five passengers just don't want to understand you're a driver and not a tariff specialist; you find a bunch of trolleys blocking the cab door (and the owner family doesn't accept your right to a clear evacuation path); the cab door's lock is in a different state of erosion than your key and thus jams at the first several attempts of opening; and suddenly 5min of delay become 20min...
Quork- Posts : 1438
Join date : 2012-05-05
Age : 33
Location : Hofheim a.T., Hessen (Hesse), European Union
Similar topics
» 2 Views at the same time
» Change to Variable Time Step?
» Time Factor
» Hard time in Scotland
» Turning back time
» Change to Variable Time Step?
» Time Factor
» Hard time in Scotland
» Turning back time
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum