Glad you've sorted it Danieldanbaz wrote:My 15 year ols son solved this problem. When I unpack a file I am used to doing so in a sub-directory (in order to be able to know which files were unpacked and which ones were already in the folder. When we used the option: Extract Here the problem was solved.danbaz wrote: This is what I have done:
TS2017 --> set to borderless, thence exit program
Save all the files to the plugin directory as instructed
Find the .ap files and unpacked them with 7-zip.
Find the .out engine files and patch them with the program; message all was succesful appeared.
Run TS2017
Run the helper.exe. Message appears that version 0.13 is running
Start a quick drive with ICE 2 and or 3 on tracks Augsburg/Munich and Hannover-Hamburg
No overlay....
This also solved the issue with not being able to select the train.
Thanks for the help!
Daniel
TrainSim Helper (Joystick/Overlay) release thread
Moderator: Moderators
Re: TrainSim Helper (Joystick/Overlay) release thread
Re: TrainSim Helper (Joystick/Overlay) release thread
Sorry, I just got to read your problem and reply to it. I take it is solved then?danbaz wrote:My 15 year ols son solved this problem. When I unpack a file I am used to doing so in a sub-directory (in order to be able to know which files were unpacked and which ones were already in the folder. When we used the option: Extract Here the problem was solved.
Best regards
Re: TrainSim Helper (Joystick/Overlay) release thread
Hello Havner,Havner wrote:I take it is solved then?
Yes it has been solved. Next up is trying to get the joystick working on the BR426... When I run into issues I will report back. Thanks
Daniel
Re: TrainSim Helper (Joystick/Overlay) release thread
Hello Havner,
I'm having problems with the TrainBrakeControl on the TGV, it doesn't work.
The engine and dynamic brake are fine and so is the throttle.
I first thought it was a custom control which I could add, but I cannot see one.
Any ideas?
I'm having problems with the TrainBrakeControl on the TGV, it doesn't work.
The engine and dynamic brake are fine and so is the throttle.
I first thought it was a custom control which I could add, but I cannot see one.
Any ideas?
Code: Select all
Engine Script to edit = DTG\LGVMedSouth\RailVehicles\Electric\TGV_Duplex\Scripts\TGV_Duplex_PowerCar
CONTROL NAME "(Active)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(TractiveEffort)", MIN VALUE "(-1000)", MAX VALUE "(10000)", DEFAULT VALUE "(0)"
CONTROL NAME "(Current)", MIN VALUE "(0)", MAX VALUE "(100000)", DEFAULT VALUE "(0)"
CONTROL NAME "(CompressorState)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(MainReservoirPressureBAR)", MIN VALUE "(0)", MAX VALUE "(10)", DEFAULT VALUE "(0)"
CONTROL NAME "(BrakePipePressureBAR)", MIN VALUE "(0)", MAX VALUE "(6)", DEFAULT VALUE "(0)"
CONTROL NAME "(LocoBrakeCylinderPressureBAR)", MIN VALUE "(0)", MAX VALUE "(6)", DEFAULT VALUE "(0)"
CONTROL NAME "(TrainBrakeCylinderPressureBAR)", MIN VALUE "(0)", MAX VALUE "(6)", DEFAULT VALUE "(0)"
CONTROL NAME "(Ammeter)", MIN VALUE "(-600)", MAX VALUE "(600)", DEFAULT VALUE "(0)"
CONTROL NAME "(CabAmmeter)", MIN VALUE "(0)", MAX VALUE "(600)", DEFAULT VALUE "(0)"
CONTROL NAME "(SpeedometerKPHDisplayed)", MIN VALUE "(0)", MAX VALUE "(320)", DEFAULT VALUE "(0)"
CONTROL NAME "(SpeedometerKPH)", MIN VALUE "(0)", MAX VALUE "(400)", DEFAULT VALUE "(0)"
CONTROL NAME "(SpeedArrow)", MIN VALUE "(0)", MAX VALUE "(2)", DEFAULT VALUE "(0)"
CONTROL NAME "(Accelerometer)", MIN VALUE "(-100)", MAX VALUE "(100)", DEFAULT VALUE "(0)"
CONTROL NAME "(AccelerometerDisplayed)", MIN VALUE "(-220)", MAX VALUE "(220)", DEFAULT VALUE "(0)"
CONTROL NAME "(ThrottleAndBrake)", MIN VALUE "(-1)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(Regulator)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(0)", Notch Value "(0)"
Notch Name "(1)", Notch Value "(0.125)"
Notch Name "(2)", Notch Value "(0.25)"
Notch Name "(3)", Notch Value "(0.375)"
Notch Name "(4)", Notch Value "(0.5)"
Notch Name "(5)", Notch Value "(0.625)"
Notch Name "(6)", Notch Value "(0.75)"
Notch Name "(7)", Notch Value "(0.875)"
Notch Name "(8)", Notch Value "(1)"
CONTROL NAME "(CruiseControl)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(Reverser)", MIN VALUE "(-1)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Forward)", Notch Value "(1)"
Notch Name "(Neutral)", Notch Value "(0)"
Notch Name "(Reverse)", Notch Value "(-1)"
CONTROL NAME "(SimpleChangeDirection)", MIN VALUE "(-1)", MAX VALUE "(1)", DEFAULT VALUE "(1)"
Notch Name "(Number of Notches)", Notch Value "(2)"
CONTROL NAME "(SimpleThrottle)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0.25)"
CONTROL NAME "(VirtualBrake)", MIN VALUE "(-1)", MAX VALUE "(1.2)", DEFAULT VALUE "(0)"
Notch Name "(Release)", Notch Value "(-1)"
Notch Name "(Release)", Notch Value "(-0.1)"
Notch Name "(Hold)", Notch Value "(0)"
Notch Name "(Apply)", Notch Value "(0.1)"
Notch Name "(Apply)", Notch Value "(1)"
Notch Name "(Emergency)", Notch Value "(1.2)"
CONTROL NAME "(TrainBrakeControl)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Release)", Notch Value "(0)"
Notch Name "(GraduatedSelfLap)", Notch Value "(0.0001)"
Notch Name "(FullService)", Notch Value "(0.9)"
Notch Name "(Emergency)", Notch Value "(1)"
CONTROL NAME "(BrakeAirFlow)", MIN VALUE "(0)", MAX VALUE "(6)", DEFAULT VALUE "(0)"
CONTROL NAME "(gnTB)", MIN VALUE "(0)", MAX VALUE "(6)", DEFAULT VALUE "(3.35)"
CONTROL NAME "(PassGoods)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(1)"
CONTROL NAME "(CabTBNeedle)", MIN VALUE "(0)", MAX VALUE "(6)", DEFAULT VALUE "(0)"
CONTROL NAME "(CabEQNeedle)", MIN VALUE "(0)", MAX VALUE "(6)", DEFAULT VALUE "(3.35)"
CONTROL NAME "(PantographControl)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(1)"
CONTROL NAME "(ForwardPantographControl)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(BackPantographControl)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(PantographSelection)", MIN VALUE "(0)", MAX VALUE "(3)", DEFAULT VALUE "(2)"
Notch Name "(Off)", Notch Value "(0)"
Notch Name "(1)", Notch Value "(1)"
Notch Name "(2)", Notch Value "(2)"
Notch Name "(3)", Notch Value "(3)"
CONTROL NAME "(PantographTension)", MIN VALUE "(0)", MAX VALUE "(2)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(3)"
CONTROL NAME "(PantographRaised)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(EmergencyPantograph)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(PantographPower)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(CabLight)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DeskLight)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(Horn)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Off)", Notch Value "(0)"
CONTROL NAME "(Bell)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Off)", Notch Value "(0)"
CONTROL NAME "(HornLever)", MIN VALUE "(-1)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Off)", Notch Value "(0)"
CONTROL NAME "(Startup)", MIN VALUE "(-1)", MAX VALUE "(1)", DEFAULT VALUE "(1)"
CONTROL NAME "(Sander)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(HandBrake)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(2)"
CONTROL NAME "(Headlights)", MIN VALUE "(0)", MAX VALUE "(2)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(3)"
CONTROL NAME "(HeadlightDimmer)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DynamicBrake)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(0)", Notch Value "(0)"
Notch Name "(1)", Notch Value "(-0.125)"
Notch Name "(2)", Notch Value "(-0.25)"
Notch Name "(3)", Notch Value "(-0.375)"
Notch Name "(4)", Notch Value "(-0.5)"
Notch Name "(5)", Notch Value "(-0.625)"
Notch Name "(6)", Notch Value "(-0.75)"
Notch Name "(7)", Notch Value "(-0.875)"
Notch Name "(8)", Notch Value "(-1)"
CONTROL NAME "(Wipers)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(WipersFront)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(WiperSwitch)", MIN VALUE "(0)", MAX VALUE "(3)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(4)"
CONTROL NAME "(WipersManual)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(EmergencyBrake)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(EngineBrakeControl)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Release)", Notch Value "(0)"
Notch Name "(Direct)", Notch Value "(0.1)"
CONTROL NAME "(VirtualEngineBrakeControl)", MIN VALUE "(-1)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Apply)", Notch Value "(2.5)"
Notch Name "(Apply)", Notch Value "(0.0001)"
Notch Name "(Hold)", Notch Value "(0)"
Notch Name "(Release)", Notch Value "(-0.0001)"
Notch Name "(Release)", Notch Value "(-1.8)"
CONTROL NAME "(TVM_Display)", MIN VALUE "(-1)", MAX VALUE "(100)", DEFAULT VALUE "(-1)"
Notch Name "(Number of Notches)", Notch Value "(2)"
CONTROL NAME "(Dummy)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(SpeedH)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(0)"
CONTROL NAME "(SpeedT)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(0)"
CONTROL NAME "(SpeedU)", MIN VALUE "(0)", MAX VALUE "(9)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(1)"
CONTROL NAME "(TVM_Active)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM_Acknowledge)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM_Ending)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM_Changing)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM_BlockSpeed)", MIN VALUE "(0)", MAX VALUE "(320)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM_BlockOccupied)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM_Display)", MIN VALUE "(0)", MAX VALUE "(28)", DEFAULT VALUE "(0)"
CONTROL NAME "(TVM_EmergencyAlarm)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB_Active)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB_Test)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB_TestSequence)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB_Acknowledge)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB_Display)", MIN VALUE "(0)", MAX VALUE "(7)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(8)"
CONTROL NAME "(KVB_WarningDisplay)", MIN VALUE "(0)", MAX VALUE "(7)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(8)"
CONTROL NAME "(KVB_Attention)", MIN VALUE "(-1)", MAX VALUE "(2)", DEFAULT VALUE "(-1)"
CONTROL NAME "(KVB_Overspeed)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB_Emergency)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVB_SignalAspect)", MIN VALUE "(-1)", MAX VALUE "(3)", DEFAULT VALUE "(-1)"
CONTROL NAME "(KVB_RestrictionTimer)", MIN VALUE "(-1)", MAX VALUE "(5)", DEFAULT VALUE "(-1)"
CONTROL NAME "(KVB_RestrictionSpeed)", MIN VALUE "(-1)", MAX VALUE "(1000)", DEFAULT VALUE "(-1)"
CONTROL NAME "(KVB_WarningSpeed)", MIN VALUE "(-1)", MAX VALUE "(1000)", DEFAULT VALUE "(-1)"
CONTROL NAME "(KVB_WarningSound)", MIN VALUE "(-1)", MAX VALUE "(2)", DEFAULT VALUE "(-1)"
CONTROL NAME "(KVB_Red_H)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(-1)"
Notch Name "(Number of Notches)", Notch Value "(11)"
CONTROL NAME "(KVB_Red_T)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(-1)"
Notch Name "(Number of Notches)", Notch Value "(11)"
CONTROL NAME "(KVB_Red_U)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(-1)"
Notch Name "(Number of Notches)", Notch Value "(11)"
CONTROL NAME "(KVB_Green_H)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(-1)"
Notch Name "(Number of Notches)", Notch Value "(11)"
CONTROL NAME "(KVB_Green_T)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(-1)"
Notch Name "(Number of Notches)", Notch Value "(11)"
CONTROL NAME "(KVB_Green_U)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(-1)"
Notch Name "(Number of Notches)", Notch Value "(11)"
CONTROL NAME "(NeutralSection)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(AWSWarnCount)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(AWSReset)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(KVBLookAt)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(AFB)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(33)"
CONTROL NAME "(AFB_Speed)", MIN VALUE "(0)", MAX VALUE "(320)", DEFAULT VALUE "(0)"
CONTROL NAME "(CMD_SpeedH)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(0)"
CONTROL NAME "(CMD_SpeedT)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(0)"
CONTROL NAME "(CMD_SpeedU)", MIN VALUE "(-1)", MAX VALUE "(9)", DEFAULT VALUE "(0)"
CONTROL NAME "(Destination)", MIN VALUE "(0)", MAX VALUE "(52)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(53)"
CONTROL NAME "(PowerMode)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
Notch Name "(Number of Notches)", Notch Value "(4)"
CONTROL NAME "(PowerState)", MIN VALUE "(0)", MAX VALUE "(7)", DEFAULT VALUE "(3)"
Notch Name "(Number of Notches)", Notch Value "(15)"
CONTROL NAME "(PowerSwitch)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(PowerSwitchState)", MIN VALUE "(-1)", MAX VALUE "(-1)", DEFAULT VALUE "(-1)"
CONTROL NAME "(PowerSwitchAuto)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(Nose)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(ConsistUnitCount)", MIN VALUE "(0)", MAX VALUE "(10000)", DEFAULT VALUE "(0)"
CONTROL NAME "(InstrumentLights)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(1)"
CONTROL NAME "(SingleDouble)", MIN VALUE "(0)", MAX VALUE "(2)", DEFAULT VALUE "(1)"
CONTROL NAME "(NextSpeed)", MIN VALUE "(0)", MAX VALUE "(320)", DEFAULT VALUE "(0)"
CONTROL NAME "(OrangeTVM)", MIN VALUE "(0)", MAX VALUE "(320)", DEFAULT VALUE "(0)"
CONTROL NAME "(WhiteTVM)", MIN VALUE "(0)", MAX VALUE "(320)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsCount)", MIN VALUE "(0)", MAX VALUE "(100000)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsCountLeft)", MIN VALUE "(0)", MAX VALUE "(100000)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsCountRight)", MIN VALUE "(0)", MAX VALUE "(100000)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsManual)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsManualClose)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsManualLeft)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsManualRight)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorsOpenCloseLeft)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DoorOpenCloseRight)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DSD)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DSDReset)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(0)"
CONTROL NAME "(DSDAlarm)", MIN VALUE "(0)", MAX VALUE "(2)", DEFAULT VALUE "(0)"
CONTROL NAME "(MainSwitch)", MIN VALUE "(0)", MAX VALUE "(1)", DEFAULT VALUE "(1)"Re: TrainSim Helper (Joystick/Overlay) release thread
I pressume it's VirtualBrake which is far from custom. To be 100% sure analyze the input mapper. It will be the same ControlValue that keys are controlling.Timex wrote:Hello Havner,
I'm having problems with the TrainBrakeControl on the TGV, it doesn't work.
The engine and dynamic brake are fine and so is the throttle.
I first thought it was a custom control which I could add, but I cannot see one.
Any ideas?
If it's really is VirtualBrake then the reason for it not working _might_ be some custom scripting that requires the brake to snap precisely into notched values. I've seen such locos. In such a case you need a custom config for it and define the notches as they are in the file you pasted.
Re: TrainSim Helper (Joystick/Overlay) release thread
Just looked at the input mapper file and the value is going to the virtual brake.Havner wrote:I pressume it's VirtualBrake which is far from custom. To be 100% sure analyze the input mapper. It will be the same ControlValue that keys are controlling.Timex wrote:Hello Havner,
I'm having problems with the TrainBrakeControl on the TGV, it doesn't work.
The engine and dynamic brake are fine and so is the throttle.
I first thought it was a custom control which I could add, but I cannot see one.
Any ideas?
If it's really is VirtualBrake then the reason for it not working _might_ be some custom scripting that requires the brake to snap precisely into notched values. I've seen such locos. In such a case you need a custom config for it and define the notches as they are in the file you pasted.
I have tried defining the notches before but no luck.
Could I just change the input mapper entry from VirtualBrake to TrainBrakeControl?
Code: Select all
<iInputMapper-cInputMapEntry d:id="128268">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_SemiColon</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStart</Name>
<Parameter d:type="cDeltaString">VirtualBrake</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="128278">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_SemiColon</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStop</Name>
<Parameter d:type="cDeltaString">VirtualBrake</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>Re: TrainSim Helper (Joystick/Overlay) release thread
No, that's approaching the problem completely from the wrong side.Timex wrote:Just looked at the input mapper file and the value is going to the virtual brake.
I have tried defining the notches before but no luck.
Could I just change the input mapper entry from VirtualBrake to TrainBrakeControl?
1. Input mapper has no influence on TSH, it just can be used to figure out which control value we should control (which the loco's author wants us to control).
2. If the author decided the VirtualBrake is to be used that means that TrainBrakeControl is some internal representation of a brake that should not be visible (heck, might be even unusable) to the user. It's all in the loco's scripting how the VirtualBrake is mapped to the TrainBrakeControl and to the loco's blueprint how the latter is mapped to the engine.
When you do use VirtualBrake does the lever work when you put it in maximum and/or minimum position?
Re: TrainSim Helper (Joystick/Overlay) release thread
apologies Havner I was in a rush this afternoon, as soon as I posted I realised that the keyboard mapper has nothing to do with TSH.Havner wrote:No, that's approaching the problem completely from the wrong side.Timex wrote:Just looked at the input mapper file and the value is going to the virtual brake.
I have tried defining the notches before but no luck.
Could I just change the input mapper entry from VirtualBrake to TrainBrakeControl?
1. Input mapper has no influence on TSH, it just can be used to figure out which control value we should control (which the loco's author wants us to control).
2. If the author decided the VirtualBrake is to be used that means that TrainBrakeControl is some internal representation of a brake that should not be visible (heck, might be even unusable) to the user. It's all in the loco's scripting how the VirtualBrake is mapped to the TrainBrakeControl and to the loco's blueprint how the latter is mapped to the engine.
When you do use VirtualBrake does the lever work when you put it in maximum and/or minimum position?
The VirtualBrake does work when I put it to maximum and minimum in the HUD
Re: TrainSim Helper (Joystick/Overlay) release thread
You mean using the joystick? And you see it in the overlay?Timex wrote:The VirtualBrake does work when I put it to maximum and minimum in the HUD
If so, then it's what I said initially. You need to configure the notches to be exactly what they are in the blueprint file.
Re: TrainSim Helper (Joystick/Overlay) release thread
I meant the F4 HUD, overlay shows the Train brake stuck at 90%, joystick does nothing. Done the correct notches.Havner wrote:You mean using the joystick? And you see it in the overlay?Timex wrote:The VirtualBrake does work when I put it to maximum and minimum in the HUD
If so, then it's what I said initially. You need to configure the notches to be exactly what they are in the blueprint file.
Re: TrainSim Helper (Joystick/Overlay) release thread
Then honestly I have no idea. There was a loco once that exhibited similar behaviour. Actually two, but the reasons were different for each. I've put some workarounds for that. You might try those.Timex wrote:Havner wrote:I meant the F4 HUD, overlay shows the Train brake stuck at 90%, joystick does nothing. Done the correct notches.
1. tshStep["TrainBrake"] = 0.03
This will most likely not work, but give it a try.
2. tshSetControlTargetValue["TrainBrake"] = true
This is a heavy guns. I still don't fully understand it, but there is a loco that requires is (less so after one patch though).
Let me know if anything worked.
As a side note, I've looked at the engine file again, and those notches don't seem to actually be notches, just range notifiers for the HUD. I might be wrong though.
Re: TrainSim Helper (Joystick/Overlay) release thread
thanks Havner, I will have a go tomorrow.Havner wrote:Then honestly I have no idea. There was a loco once that exhibited similar behaviour. Actually two, but the reasons were different for each. I've put some workarounds for that. You might try those.Timex wrote:Havner wrote:I meant the F4 HUD, overlay shows the Train brake stuck at 90%, joystick does nothing. Done the correct notches.
1. tshStep["TrainBrake"] = 0.03
This will most likely not work, but give it a try.
2. tshSetControlTargetValue["TrainBrake"] = true
This is a heavy guns. I still don't fully understand it, but there is a loco that requires is (less so after one patch though).
Let me know if anything worked.
As a side note, I've looked at the engine file again, and those notches don't seem to actually be notches, just range notifiers for the HUD. I might be wrong though.
-
CobraOne
- Well Established Forum Member
- Posts: 580
- Joined: Fri Aug 02, 2013 10:28 am
- Location: Kent, England
Re: TrainSim Helper (Joystick/Overlay) release thread
I run the TGV using a Raildriver and I can confirm it uses the VirtualBrake with a range of -1, 1.2 and notches of -1.00, -0.10, 0.00, 0.10, 1.00, 1.20.
It does not require the SetControlTargetValue to work.
Chris
It does not require the SetControlTargetValue to work.
Chris
Latest version always available from
https://www.dropbox.com/sh/cbwyvjrt3x6g ... -rBqa?dl=0
Discussion on latest version starts in Part 1 on page 48
Works with all versions from 2017 to 2022 and TS Classic
https://www.dropbox.com/sh/cbwyvjrt3x6g ... -rBqa?dl=0
Discussion on latest version starts in Part 1 on page 48
Works with all versions from 2017 to 2022 and TS Classic
Re: TrainSim Helper (Joystick/Overlay) release thread
Thanks for the info.CobraOne wrote:I run the TGV using a Raildriver and I can confirm it uses the VirtualBrake with a range of -1, 1.2 and notches of -1.00, -0.10, 0.00, 0.10, 1.00, 1.20.
It does not require the SetControlTargetValue to work.
Chris
Re: TrainSim Helper (Joystick/Overlay) release thread
Thanks CobraOne,Havner wrote:Thanks for the info.CobraOne wrote:I run the TGV using a Raildriver and I can confirm it uses the VirtualBrake with a range of -1, 1.2 and notches of -1.00, -0.10, 0.00, 0.10, 1.00, 1.20.
It does not require the SetControlTargetValue to work.
Chris
Havner, does this help me in any way?- I'm still stuck.
It's a combined throttle / dynamic brake as TSH behaves on my joystick without adding any custom configs.
the train brake doesn't want to know, which I need.