Tomb Raider has many Quick Time Events (QTE’s). One of the easiest to fix is replacing button mashing, i.e. repeatedly pressing one or two buttons, with a single key press. If you struggle with pressing one button quickly and repeatedly, you can use an AutoHotKey script to do it for you. If you have not used AutoHotKey before, have a look at our introduction and installation guide here.

Lara Croft Hand Up

 

Copy the below text into either a new .ahk file and run or into your standard file and reload. The script will only activate if scroll lock is on. If you now hold the X key on the keyboard, it will repeatedly hit E twice every second until you release the X. Just pressing the X on the keyboard once will mash it four times. This script is particularly useful for opening crates and doors with Lara’s climbing axe.

There is also a few instances of a quick time event that prompts you to press the left then the right arrow key repeatedly. This can also be reduced to holding a single button. The script  allows you to press or hold one button, the V key in this instance, that will trigger a series of alternating presses. Remap which key you press by changing the x and v in the above scripts to any key on the keyboard.

#SingleInstance Force
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;#Warn ; Recommended for catching common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

$X:: ;$ prevents the hotkey from triggering itself by Send {x} below in the loop
freq:=30 ;delay between key presses
if getkeystate(“ScrollLock”,”T”) ;Check if scrolllock is toggled on, if it is then do the keyspam loop
{
Loop
{
if getkeystate(“X”,”P”)=0 ;Check if {x} is pressed, if not then break loop
break
Send {e} ;
Sleep %freq% ;
Send {e} ;
Sleep %freq%
Send {e}
Sleep %freq%
Send {e}
}
}
else ;if scroll lock isnt toggled on, then press “x”, for “x” button to have its normal function
Send {x}
return
$v:: ;$ prevents the hotkey from triggering itself by Send {v} below in the loop
freq:=30 ;delay between key presses
if getkeystate(“ScrollLock”,”T”) ;Check if scrolllock is toggled on, if it is then do the keyspam loop
{
Loop
{
if getkeystate(“v”,”P”)=0 ;Check if {v} is pressed, if not then break loop
break
Send {Left} ;
Sleep %freq% ;
Send {Right} ;
Sleep %freq%
Send {Left}
Sleep %freq%
Send {Right}
}
}
else ;if scroll lock isnt toggled on, then press “v”, for “v” button to have its normal function
Send {v}
return

If  you have any more useful scripts for Tomb Raider or suggestions for features you would like to add with a script, let us know in the comments. Read our Tomb Raider review with an accessibility analysis here and an alternative method using Glovepie here.

 


Comment

  1. Paul 23/03/2013 at 3:43 pm - Reply

    i CAN’t get this to work – I copied the text into the editor, chose run script but nothing happens in-game.

    • Chris Ellis 25/03/2013 at 1:51 pm Reply

      Hi Paul,
      I’ve checked the code in the post again and its running on my system with no problems. Could you check if it runs for you out of the game? In other words if you run the script in AutoHotKey and open a notepad document and see if type x do you get four x’s.

      The other possibility is scroll lock – could you check that you have it on?

Leave a Reply