AutoHotkey


#1

You can get AutoHotkey from www.autohotkey.com for free.Use this script with AHK to ease bunny hopping:CODE *Space::Loop{GetKeyState, state, Space, Pif State = U; The button has been released, so stop the loop.break; Otherwise:Send, {Space}Sleep, 1; i.e. 30 ms delay between clicks. Adjust this value as needed.}returnYou can change “Space” to whatever you want to hold down to jump. The names of the buttons are in AHK Help file under “Key List (Keyboard, Mouse, Joystick)” The third “Space” must be set to what you have binded jumping to in Half-Life 2.


#2

QUOTE *NumpadMult::Pause, ToggleNumpadMult <= All key do you wantAdd this in AutoHotKey.ini to pause the script in game :D[Edit] : replace the “return” of end of scriptQUOTE *NumpadSub::Loop{GetKeyState, state, Space, Pif State = U; The button has been released, so stop the loop.break; Otherwise:Send, {Space}Sleep, 30 ; i.e. 30 ms delay between clicks. Adjust this value as needed.}*NumpadMult::pause, Togglereturn


#3

Does know a script that works with the latest version? (version 1.0.36.03)


#4

I’ve not tried the latest version, but I think the best thing to do is to use an older version or wait till they fix it (if there is a bug).


#5

Could you link me to an older version? I’m having a hard time finding an older version that works. :frowning:


#6

I’ll give the one I’m using when I get home. Meanwhile, at work, I’m going to test the latest version if I have a chance.EDIT: OK, it gives the same error message as before, so my guess is it’s going to be fixed in the next version…


#7

OK, here is the 1.0.27.00 installer:AutoHotkeyEDIT: Seems like the whole hosting service provider was shut down. Just ask if you need to download it.


#8

Thanks dude. Now I can stop punishing my keyboard. :smiley:


#9

btw, is it allowed to use such a script for speedrunning??using a script like that while playing a multiplayer game is cheating, as some kicks taught me. and you must not cheat while speedrunning i think…


#10

#11

AHK is not considered a cheat by SDA. Check out Spider-Waffle’s run for Opposing Force, which uses scripts and is in SDA. It’s one of the greatest speed runs I’ve ever seen.


#12

Hi, after a year of playing other games than hl2 I got back to this site :wink: and realized that the script doesn’t work with the new Version of Autohotkey and created a new one:CODE SetKeydelay, 30*Space::Send, {Space}returnIt’s much shorter than the old one and is quite cute


#13

im quite cute


#14

it wud have been cuter if i logged in <_<


#15

To me it seems like it has a pause in the beginning just like when you hold space in a text field. :wink:


#16

hm this pause doesnt exist with the 1st script?maybe this here terminates the delay:CODE [HKEY_USERS.Default\Control Panel\Keyboard]“InitialKeyboardIndicators”="2"“KeyboardDelay”="0"“KeyboardSpeed”=“31”


#17

I think it’s better to have that delay as it’s easier to type.


#18

IIIIII tttttthinngk I know what you mean :wink:


#19

QUOTE CODE SetKeydelay, 30*Space::Send, {Space}returnI’m totally lost when you guys talk about scripts/codes, but the “30” indicates the 30ms between “pushing” the space-button right?if I’m right about this then:30ms should be changed for 1ms because if it’s on 30ms you can’t do the “speedy-up-ladder” trick (as seen on canals_03).(trick is: pushing AHK+crawl+up on ladder = Fly up ladder…)


#20

could someone hook me up with an Lalt jump script? havnt been playing hl2 for a long time now and i cant remember how to make one.