Phil
There was a thread for the 14xx cab controls on UKtrainsim.
Search
Improvements to GWR 14xx steam loco
This uses 4 button control for some of the loco controls.
- Code: Select all
<iInputMapper-cInputMapEntry d:id="59843">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_I</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStart</Name>
<Parameter d:type="cDeltaString">ExhaustInjectorSteamLever</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="59846">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_I</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">IncreaseControlStop</Name>
<Parameter d:type="cDeltaString">ExhaustInjectorSteamLever</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="59849">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonDown</ButtonState>
<Button d:type="cDeltaString">Key_I</Button>
<ShiftButton d:type="cDeltaString">Shift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStart</Name>
<Parameter d:type="cDeltaString">ExhaustInjectorSteamLever</Parameter>
<NewState d:type="sInt32">0</NewState>
</iInputMapper-cInputMapEntry>
<iInputMapper-cInputMapEntry d:id="59851">
<State d:type="sInt32">0</State>
<Device d:type="cDeltaString">Keyboard</Device>
<ButtonState d:type="cDeltaString">ButtonUp</ButtonState>
<Button d:type="cDeltaString">Key_I</Button>
<ShiftButton d:type="cDeltaString">Shift</ShiftButton>
<Axis d:type="cDeltaString">NoAxis</Axis>
<Name d:type="cDeltaString">DecreaseControlStop</Name>
<Parameter d:type="cDeltaString">ExhaustInjectorSteamLever</Parameter>
<NewState d:type="sInt32">0</NewState
In the code shown you use the I key to start and stop the control by using the same button.
One to start and once to stop. For the closing of the valve you use the Shift I key in the same format.
This loco is a Victoryworks loco which had 2 button control for this valve. Changing to a 4 button input has allowed you to open or close the valve partially. This is what your looking for for the crane.
Cheers Ausc