Download:
http://vega.livecd.pl/~havner/trainsim-helper/
Changelog:
- Code: Select all
0.13:
- Small update to be able to find the TS2017 window, no other changes
0.12:
- Academy BR189 after the patch
- Class 180 Adelante
- Semmeringbahn loco
- USATC S160
- Small changes for function conflicts in Class 380
0.11:
- WARNING: there are 5 scripts now in total now, make sure to
put them all in the plugins directory.
- Updates after TS patches: Connie, FEF-3, Talent 2
- BR Blue pack
- DR BR86 (units might be incorrent on the overlay)
- DB BR261 Voith Gravita
- Horseshoe Curve + Baldwin Centipede
- Return to Maerdy
- WCML Trent Valley locos
- Merge all the alerters into one "Alarm", color changed to yellow.
It's virtually impossible to be able to distnguish AWS/PZB from
DSD/Sifa reliably on all locos. In any case the 'Q' should always
fix the alarm. If you want to drive realistically look in the cab.
0.10
- UP Gas Turbine fixed! Thanks to CobraOne for the initial
solution. The loco has been (mostly) fixed now on DTG side.
- SplitCombinedWithAt(brake, value) function added. It can easily
be used to split combined throttle into two axes. First arg
defines with what brake (the second axis), second arg at what
value. This will usually be 0.5 for (0,1) or 0 for (-1,1).
I've added its usage (commented out by default) to most locos.
- This version does much more autodetection (notches, replaces)
than the previous ones (it actually started a little in 0.9.1).
The aim is to minimize the custom locos configs. Based on general
trends I grouped some common stuff in "automagic" sections in both
the joystick and the overlay configuration functions. This also
should cause the non configured locos (ones I don't have) to behave
better by default (hopefully). Tell me if I broke something.
- LUA files has been split into more files, locos detections
and find control values received their own dedicated files
- Configs for Soldier Summit and Mannheim - Karlsruhe locos
- Configs for Weardale and Teesdale locos + Class 105
- Made GT3 Gas Turbine work, requires repatching
- Small fixes for A2 Peppercorn and GT3
- Class 76 (Woodhead)
- Consolidation (SmokeBox)
- SD60M
- WARNING: if you've previously seen a message box that some loco
has been detected and now you see "no custom configuration" it
doesn't mean it's bad. I've done some generic detections here
and there based on ControlValues and some custom configurations has
become redundant. Test the loco, if it works fine, it's fine.
0.9.1
- Tried to do UP Gas Turbine config, but the loco is bugged.
- BR155 config.
- PowerSelected added to Overlay and as a lever to Gear.
- Fixes some minor issues for Fifties Steamers.
- GWR Pannier config.
- LargeEjector added to the list of joystick controllable axes.
(it's usable in the Fifties Steamers)
- Havner's Cofig for steamers moved to one common place
0.9
- TS2016 (and '17, '18, '19) support.
- Updated configs and detection for Locos from Sherman Hill,
Cologne - Koblentz and PennCoal. For the new braking system on
US locos turn off brake notches (CTRL+SHIFT+3).
- WARNING: Due to the fact that more and more locos are heavily
scripted the blue part of the overlay (controls) will now try
to exclusively show actual lever values, not the internal values
as original intended. The internals become more and more
convoluted and meaningless. No point in mantaining that.
- WARNING: Default for "change direction" changed to "D"
- WARNING: Configuration syntax changed a little, now tables
are used everywhere.
ThrottleInvert became tshInvert["Throttle"], etc.
- WARNING: Config functions changed due to the above as well.
ReplaceLines, GenerateEquakNotches, InvInvert, they
all get the key in params and don't return anything
- Removed *: from scripts calls as per dev documents
- Added warning if Simple controls are detected
- Added an option "S" to switch to speed limit only
- Added an option to sync controls on start of the sim
- New option for Axes, Step: set the control over time,
not immediately. Now even using Notches the ControlValue
will go through intermediate values before reaching the setting.
- Thanks to this option TrainBrake and DynamicBrake work
together on vRailroads locos as they should.
- Added an option to disable all "Havner's config" mods.
0.8
- WARNING: Havner's configs changed (I got more physical throttles now)
- Sunflower indicator removed, it was just obscuring the view
- Toggleable font outline for better visibility (see readme)
- Acceleration implemented on the C++ side, works properly when
driving after changing sides of the loco
- Significat changes in the overlay shortcuts and cmd line:
- Split into 2 groups, main and steam
- Higher granularity in what you want to display
- Colors changed a little
- See the readme for current shortcuts and cmd line
- Configs for J50, 2F Dock Tank and 3F Jinty by MeshTools
- Config for GWR Small Prairies by VictoryWorks
- Configs for Cologne Koblenz locos
- Configs for BR103 and BR111 by vRailroads
- Damper axis removed, it made little sense
- FireboxDoor, ExhaustSteam and LiveSteam axes (also for FEF-3)
0.7
- Support for FEF-3 HUD version, sorry, forgot previously.
- Support for Bulleid Q1, see the steamers section in the readme.
- Support for 14xx/48xx/58xx, see the steamers section in the readme.
- Support for BR442 Talent 2, BR420, Class 50.
- Stoking, ExhaustWater, LiveWater added to axes controls
- Further modifications in a way the overlay is configured
(similar to the joystick part, autodetections first, then locos).
- Range added to all GenerateEqualNotches calls, even the {0,1} cases.
- Minor changes here and there.
- README updated again. I remind you that I constantly update it when
adding some new functionality or changing something substantially.
0.6d
- FEF-3 support. Not all controls are in the HUD simply because there
is too many of them, but all that are used during normal startup,
firing and driving are.
- Separate Blowers for J94
- Experimental green speed indicator when speed is up to 5 units
(mph/kph) below the speed limit.
0.6
- WARNING: some of my internal configurations have changed a little.
If you rely on them have a look in the locoss sections.
- Made an optiom for the program to treat driving backwards as forwards
(Shift-Alt-S). Very usefull for some locos/scenarios where you have to
drive backwards for longer periods of time.
- New axes for the joystick: Small Ejector, HandBrake, Blower, Damper.
Very usefull for 3rd party realistic locos (e.g. VictoryWorks).
- Big optimization in the LUA overlay code. Don't check for existance
of ControlValues per iteration. Check this info only once on loco
initialization.
- Inclusion of DataExtractor. New version, integrated in the main
package. Thanks CobraOne.
- Separate units detection for brakes. Now a loco displays properly
BAR/PSI if it has brakes that use both.
- SteamHeating indicator.
- Detections and notches configurations for more locos I bought recently.
- Cleanups in my own configs, they wont take precedence over axes set
explicitly. ReplaceControls() function for this. They are grouped
under "Havner's config" comments.
0.5
- WARNING: keyboard shortcuts got changed again due to steamers addition
- Support for steamers, see the readme
- Detection script will notify what loco has been detected
- Detections and notches configurations for MANY more locos (ALL I own)
- Handbrake indicator, better CruiseControl/AFB indicator
- CruiseControl axis for locos other then German AFB
- Separate Loco and Train brakes indicators (some locos use both)
0.4
- WARNING: the keyboard shortcuts (F1-F9) got changed again due
to the addition of Distance and a change with TargetSpeed
- WARNING: the modifier for ALL the shortcuts got changed to
SHIFT-ALT due to collisions with TS shortcuts (adv. brakes)
- Distance/Countdown implementation, see the readme
- Moved the TargetSpeed to the controls (blue) section
- Made it possible to use the Patcher without TS registry entries
and custom named RailWorks folder
- Handle the windowed mode case, move together with TS window
- Removed numbers formatting in lua for some variables, pass the full float/double
- Detections and notches configurations for more locos
- Minor code changes
0.3
- WARNING: the script has been split into 3 files, you need all
- Overlay configuration is in the trainsim-helper-overlay.lua
- Joystick configuration is in the trainsim-helper-joystick.lua
- Detections for locos are in the trainsim-helper.lua
- WARNING: ALL ControlRanges are detected before Locos detections
- This allows for less code in the detection routines
- GearControl axis added (Gear Lever)
- Gear in the Overlay moved to the controls group (blue)
- WARNING: Because of this shortcuts got shifted by 1 (F1-F9, F11-F12)
- Vacuum Pipe added to the Overlay (red), Vacuum Chamber ignored (seems irrelevant)
- Moved the clock to align better with long scenario names and F5 UI
- Overlay GradientUK format option (1:XXX) (mostly autodetected for UK)
- Fixed gigantic speed limits for SpeedLimitType == 3 (now it's '??')
- Add units to acceleration, recalculate from m/s^2 (Kph/m, Mph/m)
- Moved most of the calculations to C++ for performance and greater control
- Readme updated (TOC and section on how to receive help)
- Detections and notches configurations for more locos
- Source code from now is on github:
- https://github.com/Havner/trainsim-helper
0.2a
- Added M8Brake to the list of controllable TrainBrakes
- Fix for the patcher to handle very old locos that don't provide Initialise()
- Fix for the patcher in case there are already 2 scripts named the same but one .lua, one .out
- Detections and notches configurations for more locos
0.2
- Next speed limit + distance
- Keyboard shortcuts for turning off the whole overlay or just parts of it
- Command line switches to disable joystick support completely
- Command line switches to turn off the overlay or just parts of it
- Notched levers support (needs to be configured manually per loco)
- An option to redefine warning strings
- Patcher template updated to pass frame interval for future use
- More examples in the code for the new functions
- Internal code changes
- Docs updated, changelog and todo added
0.1a
- Changed the BRs in the readme to be readable in notepad
- Fixed BAR/PSI display for some locos
- Added Reverser control
0.1
- initial release