This is done via the inputmappers:
Locate the blueprint of the loco. This normally inside Provider / Product / RailVehicles / Diesel(Electric,Steam) / LocoName / Engine /
Convert the blueprint with serz.exe ( located in the same folder as Railworks.exe ) , e.g. :
serz "Assets\DieselWorkshop\AlcoC424\RailVehicles\Diesel\Default\Engine\[DW] ALCO C424 N&W.bin"
you'll get :
Assets\DieselWorkshop\AlcoC424\RailVehicles\Diesel\Default\Engine\[DW] ALCO C424 N&W.xml
Open this xml-file with an editor (Notepad++ recommended)
Search for "ExpertRemapper". Here you will find:
<ExpertRemapper d:type="cDeltaString">
C424_Mapper_Expert</ExpertRemapper>
So the value for the parameter ExpertRemapper is "
C424_Mapper_Expert".
This is important to know as this is only exception where the TS uses a parameter and no filename to determine another file !
You will find the corresponding "inputmapper-file" in Assets\DieselWorkshop\AlcoC424\InputMappers\C424_Mapper_Expert.bin
Serz (like above) it and open it with your editor.
Near the top you can see whether this is the file referred by the engine blueprint :
<RemapperName d:type="cDeltaString">
C424_Mapper_Expert</RemapperName>
To change some keys now, you should understand the entries:
An input may be a key, the mouse or the key of a joystick:
<Device d:type="cDeltaString">
Keyboard</Device>
A keystrooke may be a combination of one or two keys, e.g.
H or "shift H" for the headlights.
H and shift H are written in the inputmappers like this :
<Button d:type="cDeltaString">Key_H</Button>
<ShiftButton d:type="cDeltaString">NoShift</ShiftButton>
and
<Button d:type="cDeltaString">Key_H</Button>
<ShiftButton d:type="cDeltaString">Shift</ShiftButton>
You may exchange "NoShift" or "Shift" with "Control" or "Shift_Control" in most cases,
but the key "H" is an example where Shift_Control does not work :
lots of people use Shift_Control + H to switch off the headlights on the rear.
In my installation (or with my keyboards ?) this never works. Therefore I use a combination of J and shift J for the rear hearlights.
With other keys a combination with Shift_Control works, though.
Important : Do not use more than one file using the same RemapperName inside a product-folder.
TS uses then just the first it gets, so this may result in confusion when these files differ.
In the old devdocs
https://railworksamerica.com/download-library/accessories?view=document&id=1081:rsc-s-developer-docs&catid=24:accessoriesyou will find further information, see "2.03 Cab Control Blueprints.pdf", pages 2 - 4.
Web version :
http://tscdevdocs.co.uk/reference-manua ... ppers.html