Custom Keybinding and Alternative Vehicle Control

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.

<?xml version="1.0" encoding="utf-8"?>
<Data template="TkGameSettings">
	<Property name="LanguageSetting" value="default" />
	<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>
</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.

<?xml version="1.0" encoding="utf-8"?>
<Data template="TkGameSettings">
	<Property name="LanguageSetting" value="default" />
	<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>
</Data>

Mods Echoes 4.43

Downloads

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

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

3 Likes

8 posts were merged into an existing topic: Keybinding

That was insanely fast and efficient, you really are a wizard, this has fixed multiplayer in my house completely, thank you so much!!!

3 Likes