Jump to content
  • 0

Minigame quickfix


clay301

Question

This is a little script for AutoHotkey, wich maps the mouse to your keyboard

and makes the hacking minigame less annoying.

 

Download and install a copy of AHK

 

Save the following code as keymouse.ahk and run it.

Then start AP and play until you find some computer to hack.

Now use the cursorkeys to move the 2nd codepiece around.

If it moves to fast or to slow, cancel the minigame (should be NUMPAD DEL now)

and ALT-TAB out of the game. Rightclick the AHK icon in your systray (the green "H")

and exit the script. Open it in an editor, go to line 13 and change the x var.

A higher value means faster movement, but could cause the codepiece to skip fields.

Do this until you find a number that fits your setup.

I'm running AP in 1280x1024 and 5 seems to work.

 

So, i didn't had much time to test it, esp. how it works with the lockpicking,

but i hope it will be helpful(and sorry for my bad english).

 

Here it comes:

 

;
; AutoHotkey Version: 1.x
; Language:	   English
; Platform:	   Win9x/NT
; Author:		 Clay301
;
; Script Function:
;	Maps Mousemovement to Cursorkeys
;

#NoEnv
SendMode Input
x=5;Pixels to move with each press of cursorkey

Numpad0::LButton
NumpadDot::RButton

Left::  MouseMove, -x,  0,, R
Up::	MouseMove,  0, -x,, R
Right:: MouseMove,  x,  0,, R
Down::  MouseMove,  0,  x,, R

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Good stuff! ;)

 

Anyone want to try this out? I'm fine with hacking, but let's see how it works for those not happy.

Link to comment
Share on other sites

×
×
  • Create New...