Custom Keybinding and Alternative Vehicle Control

Nexus Mods

I have updated the mod required to make Alternative Vehicle Control possible, which can then be used with custom keybinds for which a few examples follow below.

Arrow Key Vehicle Controls

Note:
Requires the ‘Alt-Vehicle’ mod, listed below. Without the mod, movement would be completely locked to the mouse!

Put the 4 Buttons (Up, Down, Left, Right) first, then their respective ‘MouseUnbound’ counterparts last, in the same order, to have a total of 8 blocks for 4 binds.

TKGAMESETTTINGS.MXML (in SETTINGS folder)

<?xml version="1.0" encoding="utf-8"?>
<Data template="TkGameSettings">
  <Property name="KeyMapping" />
  <Property name="KeyMapping2">
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Forward" />
			<Property name="Button" value="Up" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Reverse" />
			<Property name="Button" value="Down" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Left" />
			<Property name="Button" value="Left" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Right" />
			<Property name="Button" value="Right" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Forward" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Reverse" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Left" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Right" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
	</Property>
  <Property name="LastKnownPadType" value="TkPadEnum.xml">
    <Property name="Pad" value="None" />
  </Property>
</Data>

P L ; ’ Vehicle Controls PL;'

Note:
Requires the ‘Alt-Vehicle’ + ‘KeyP-Disabled’ mods, listed below. Without the mods, movement would be completely locked to the mouse and the P key would have binding conflicts!

Put the 4 Buttons (KeyP, Semicolon, KeyL, Hash) first, then their respective ‘MouseUnbound’ counterparts last, in the same order, to have a total of 8 blocks for 4 binds.

TKGAMESETTTINGS.MXML (in SETTINGS folder)

<?xml version="1.0" encoding="utf-8"?>
<Data template="TkGameSettings">
  <Property name="KeyMapping" />
  <Property name="KeyMapping2">
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Forward" />
			<Property name="Button" value="KeyP" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Reverse" />
			<Property name="Button" value="Semicolon" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Left" />
			<Property name="Button" value="KeyL" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Right" />
			<Property name="Button" value="Hash" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Forward" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Reverse" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Left" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
		<Property name="KeyMapping2" value="GcInputActionMapping2.xml">
			<Property name="ActionSet" value="VehicleMode" />
			<Property name="Action" value="Vehicle_Right" />
			<Property name="Button" value="MouseUnbound" />
			<Property name="Axis" value="None" />
		</Property>
	</Property>
  <Property name="LastKnownPadType" value="TkPadEnum.xml">
    <Property name="Pad" value="None" />
  </Property>
</Data>

Mods Worlds 5.01.1

Downloads from my STACK :link:

Alt-Vehicle :link:

This mod re-enables the alternative vehicle control again, so it can be controlled with keyboard input without the use of a mouse. The mouse only allows you to look around.
Alters the file GCVEHICLEGLOBALS.MBIN

KeyP-Disabled :link:

This mod disables the fixed P key functionality, used for some of the main menu options in various in-game situations. The game now only uses the Escape key alternative, allowing the P key to be freely re-assigned. This allows for better customisation, especially for those preferring the use of PL;'.
Alters the file GCINPUTBINDINGS_WIN_KEYBOARD.MBIN

Alt-Vehicle + KeyP-Disabled :link:

A combination of both the above.
Alters the files GCVEHICLEGLOBALS.MBIN and GCINPUTBINDINGS_WIN_KEYBOARD.MBIN

Vehicle Control - Arrow Keys :link:

Requires: Alt-Vehicle
Makes arrow keys the default vehicle control as a mod instead of manual edit. This will auto generate the TKGAMESETTINGS.MXML shown above (when removed).
Alters the file TKGAMESETTINGS.MBIN
Note: Make a backup of your current settings file before use!

Vehicle Control - P L ; ’ Keys :link:

Requires: Alt-Vehicle + KeyP Disabled
Makes arrow keys the default vehicle control as a mod instead of manual edit. This will auto generate the TKGAMESETTINGS.MXML shown above (when removed).
Alters the file TKGAMESETTINGS.MBIN
Note: Make a backup of your current settings file before use!

Installation

Look for the location your game files are installed, then make sure to create a MODS (case sensitive) folder inside PCBANKS if not present already.
Note: Do NOT use the imposter MODS folder already present alongside PCBANKS.
Remove or rename the DISABLEMODS.txt inside PCBANKS. This will now show a warning for using mods, when launching the game.

Warning

Using mods, is at your own risk! When the game releases an update, it is likely for mods to break. I can not be held responsible; you are free to question me

2 Likes

@Lexiand I have updated the mods and manual files to Worlds (5.01.1).
Please let me know if there are any issues.

4 Likes

Hello Thanks Mod is working with no issues.

Thanks again

3 Likes