How to Customize Mafia 2 Controls Using AutoHotKey

By   /   6 years ago

Let’s consider an age old situation, that you are an old hardcore FPS fan from the days of Wolfenstein and Doom, using ASD and RMB for movement.
You still use the same configuration and are pretty disappointed with Mafia 2, not offering any option to map keys of your choice.
What can be done to have you playing with your native FPS controls ? AutoHotKey has the answer.

You can pretty much map any key for the game using application by following the guide below.

Step 1
Create a text file and name it ‘Mafia 2.ahk’.

Step 2

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#InstallMouseHook
#InstallKeybdHook

#IfWinActive ahk_class Mafia II
RButton::Up

Paste the above code in this text file and save the file.

Step 3
Install AutoHotKey application and double click this script file you just created.

RMB has been mapped to forward in Mafia II.

You can read the AutoHotKey Quick Start Tutorial to work out all the possibilities.

Featured Videos

Join the Conversation

Hot Right Now

Video Game Villains

Top 10 Invincible Video Game Villains Who Just Won’t Die, No Matter …

We all are accustomed with video game villains and the story usually concludes with the fall of...

by   /   1 week ago
Panasonic 3DO

Top-10 Retro Consoles You Never Knew Existed

Video gaming has come a long way! While we are well-acquainted with the likes of Xbox Scorpio and...

by   /   1 week ago
Insanely Priced Retro-Games

Top-10 Insanely Priced Retro Games

It goes without saying that video gaming is a luxury and an expensive hobby. While most of the...

by   /   1 week ago
Video Games Past

Why Some Video Games Should Let Go of Their Past

We all have favorite video games franchises that we so dearly love the way they are and yet we also...

by   /   3 weeks ago
Suicide Squad Reviews

The Best Worst Suicide Squad Reviews to Make You Forget Batman vs Supe…

Suicide Squad reviews are beginning to pour in and things are… looking not so good! Similar to...

by   /   3 weeks ago
Load More