openBVE
development version 1.2.6.105 has been released
...on Friday, 2 June 2010.
Changelog:
v1.2.6.105
(2010-07-02) ● Simulation
Superelevation is now simulated. In previous versions, the train
would simply roll around its z-axis, while now, one wheel is
actually elevated on banked curves. ● Simulation
The cant interpolation algorithm has been rewritten to make use of
monotone cubic interpolation. This makes the train tilt on banked
curves much more smoothly than before, when linear interpolation
was used. ● Simulation
The simulation of track inaccuracy has been overhauled. Aside from
the previous horizontal and vertical offsets, cant is now irregular
as well and lets the train shake to the sides. If the level of
track accuracy changes from one block to the next, interpolation is
now used, where before, the axles could make sudden jumps. ●
Simulation
The fly-by cameras now focus on the front car of the nearest train.
Previously, the fly-by cameras would only focus on the player's
train and shifted focus from the front car to the rear car on
approach. ● Simulation
Custom timetables that can be set up by route developers are now
available in all trains. Previously, only trains where custom
timetables were explicitly enabled could show them. For trains
which explicitly support custom timetables, the timetables are
shown as part of the 3D scenery (just as before), while for
non-supported trains, they are shown as part of the UI overlay (and
then can be scrolled using Shift+Up and Shift+Down just as with the
default timetables). Note: This feature may be partly
removed again for v1.2.7! ● Interface
Keys and joystick buttons now employ key repeat, meaning that
holding down a key or button will trigger the associated event
multiple times until the key or button is released again. The
default delay and repetition intervals are 500 and 100
milliseconds, respectively, and can be customized in the
options.cfg file. ● Developing routes
The new Options.CantBehavior command allows to change the way cant
works in the Track.Curve command. The default behavior is that cant
is unsigned, i.e. the sign is ignored and the superelevation is
always towards the curve center, and that cant cannot be applied on
straight track. The new behavior is that cant is signed, i.e.
inward banking or outward banking can explicitly be set up, and
that cant can also be applied on straight track. ●
Developing
routes
The Train.Timetable command now accepts files that are relative to
the Object folder in addition to the previous model of interpreting
files relative to the current train's folder. Note: This
feature may be removed again for v1.2.7! ●
Developing
objects
Animated objects can now show the timetable as set up by CSV/RW
routes. See the SpecialTexture parameter in the
documentation for the [Object] section. This allows to
integrate the custom timetable as part of the 3D cab geometry. ●
Developing
trains
The [DigitalGauge] section in the panel2.cfg was previously
confined to angles that did not span across the 6 o'clock position,
i.e. angles between -180 and 180 degrees. This limitation has been
overcome now due to a rewrite of the code that creates the
individual triangles that make up the LED square. ●
Sound
When a train starts from standstill or when the camera is moved in
sound range of a train, all run sounds of all cars start playing
simultaneously. This leads to an undesired echo effect. To
counteract this effect, track positions are assigned at which the
run sounds start playing from the start, thus asynchronizing the
car run sounds again. This is not done regularly, but only when
considered necessary. ● Bugfix
Cant was ignored on curves if the CantInMillimeters
parameter in Track.Curve was a single character in length.
● Bugfix
Some animated objects would stop being updated if jumping backward
in time, for example when using the Jump to Station
command.