Height command in OpenBVE
3 posters
Page 1 of 1
Height command in OpenBVE
Hi all,
I'm struggling a bit, trying to understand how the height command works in openBVE. From the Dennis Lance tutorials it seemed to make sense, until I tried getting it to work on my own route!
My own route is very simple, largely at ground level, with the exception of a rail underpass about 2500m into my route (the rail needs to pass under a ground level road). So some pitch commands set up the descent, and the ground "steps" down, presumably because the default height = 0 is used at each 25m increment along the route. I really want the ground to be lower at this point, but if I put a 'height' command into the file at around 2500m, (say of 5m height), it sets the entire route 5m up. I expected it to only affect the ground level from the point of insertion. What have I missed?
I'm struggling a bit, trying to understand how the height command works in openBVE. From the Dennis Lance tutorials it seemed to make sense, until I tried getting it to work on my own route!
My own route is very simple, largely at ground level, with the exception of a rail underpass about 2500m into my route (the rail needs to pass under a ground level road). So some pitch commands set up the descent, and the ground "steps" down, presumably because the default height = 0 is used at each 25m increment along the route. I really want the ground to be lower at this point, but if I put a 'height' command into the file at around 2500m, (say of 5m height), it sets the entire route 5m up. I expected it to only affect the ground level from the point of insertion. What have I missed?
Locomotion- Posts : 30
Join date : 2015-05-28
Re: Height command in OpenBVE
I guess it sets absolute height of the staring point above sea level, since BVE does atmosphere pressure calculations and probably something else.
Delsin- Posts : 313
Join date : 2016-08-20
Re: Height command in OpenBVE
The .Height command sets the height above the ground of the running rail and all objects but not the ground. In the tutorial it does say in Tutorial 3-4:
The official documentation says:
Hope that helps.
To overcome this, we need to raise the tracks off the ground, using the height command;
.HEIGHT X,
Where X is the height of the running rail from the BVE datum height (0metres).
It is vital to remember that the height of all objects except grounds are referenced to the running rail, so when we alter the height of the running rail using the height command, everything else will move except the ground.
The official documentation says:
This command defines the height of the player's rail above the ground at the point of insertion. It influences the placement of the ground objects defined via Structure.Ground and changed via Track.Ground. The height is interpolated between adjacent Track.Height commands.
Hope that helps.
MattD6R- Posts : 264
Join date : 2013-06-16
Location : Brisbane, Australia
Re: Height command in OpenBVE
Thanks guys, it was the "interpolated" bit I had missed. my first height command was at the beginning of the route, then the next at 2600m, so what I thought looked like a uniform 5m height was in fact a gentle (stepped) slope. Adding another height command has brought the ground back under control! Thanks again.
Locomotion- Posts : 30
Join date : 2015-05-28
Similar topics
» EmissiveColor command
» Track.Height can't set $Sub() ?
» .section command
» Animating pantograph height changes
» Camera angles in OpenBVE, possible future optimise options for OpenBVE?
» Track.Height can't set $Sub() ?
» .section command
» Animating pantograph height changes
» Camera angles in OpenBVE, possible future optimise options for OpenBVE?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum