Train Fever

Train Fever

View Stats:
Gazac May 24, 2015 @ 3:13am
Remaping game keys
Hi All, as I use a Game Keypad it uses the same keys as a keyboard, it has bigger QWEASD keys in the middle, it also has a N key but no M key, so I wanted to change the M key but you can't in game, well I found out how to remape your keys

Go to your (game local) folder

\Steam\userdata\<UR STEAM ID>\304730\local\

there you will find settings.lua open it in notepad & go to the bottom you will see keycodes, just change the ANSI code to the key you want, you can get the codes from the net

so I remaped the Space key that is next to the N key to do what the M key does in game,

this is what is in the Setting.lau

keycodes = {
cameraMoveDown = 115,
cameraMoveLeft = 97,
cameraMoveRight = 100,
cameraMoveUp = 119,
cameraRotateLeft = 113,
cameraRotateRight = 101,
cameraTiltDown = 102,
cameraTiltUp = 114,
cameraZoomIn = 120,
cameraZoomOut = 122,
constructOpt1 = 109, - this is the M key - I change this to 32 the space key
constructOpt2 = 110, - this is the N key
gameCycleSpeed = 9,
gamePause = 1073741896,
uiCloseAll = 127,
uiHelp = 1073741882,
},

So you can remap any of the keys to the way you want.
Happy Train Driving
Gazac
< >
Showing 1-2 of 2 comments
Gwinda May 24, 2015 @ 3:45am 
Or you fire up TFGM, select TF settings and assign the keys. TFGM allows you to assign extended keys as well, such as Num-pad keys, mulimedia keys, function keys etc...
Gazac May 24, 2015 @ 4:03am 
This is for user that don't use TFGM Gwinda, thanks for the tip
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 24, 2015 @ 3:13am
Posts: 2