Street Fighter V

Street Fighter V

View Stats:
Help me fix my autohotkey script please!
Hey, I need some help with fixing the following AutoHotKey script. For those who don't know what this is, it is a program that helps you remap the keys you are using through a script.

Here it is (big thank you to several people who are experts on the topic and recommended it for me, credit goes to them for writing this).

#IfWinActive StreetFighterV ;=================== ;----light punch---- l::g ;----medium punch---- k::h ;----hard punch---- j::j ;----3 punches---- h::k ;=================== ;=================== ;----light kick---- u::b ;----medium kick---- i::n ;----hard kick---- o::m ;----3 kicks---- p::, ;=================== ;=================== ;----throw---- e:: Send {g down}{b down} KeyWait, e Send {g up}{b up} return ;=================== ;----Vskill---- r:: Send {h down}{n down} KeyWait, r Send {h up}{n up} return ;=================== ;----Vtrigger---- Space:: Send {j down}{m down} KeyWait, Space Send {j up}{m up} return

So the goal is to have JKL buttons as LP/MP/HP and UIO buttons to work as LK/MK/HK, and it works flawlessly.

However the multiple key buttons, such as having...
throw on E
V skill on R
V trigger on SPACE

... are broken, and I don't know why. Each of them perform a normal punch/kick move, because I left the throw/v skill/v trigger empty in control options. However, if I try to set the desired key there, for example E on throw, the game deletes one of the other controls (for example light punch gets a " - " mark, as it is set to nothing).
< >
Showing 1-8 of 8 comments
mrobson83 Jul 4, 2016 @ 8:24am 
Here's my script as an example. I use 7 as HP, 8 as MP, and 9 as LP. I then use 4 as HK, 5 as MK, and 6 as LK. 1 is my V-trigger, 2 is my V-skill, and 3 is my throw. These work perfectly for me. Feel free to tweak my script to fit your set-up.

Numpad9::g
Numpad8::h
Numpad7::j
NumpadAdd::k
Numpad6::b
Numpad5::n
Numpad4::m
NumpadEnter::,
Numpad1::
Send {j down}
Send {m down}
Send {j up}
Send {m up}
Numpad2::
Send {h down}
Send {n down}
Send {h up}
Send {n up}
Numpad3::
Send {g down}
Send {b down}
Send {g up}
Send {b up}

I didn't bother with comment lines or spacing the individual assignments out in the script.
Well since I did not write my scipt, only replaced individual command keys, I'm no expert to know for example if my having this format:

;----Vtrigger----
Space::
Send {j down}{m down}
KeyWait, Space
Send {j up}{m up}

Is any different from this format:

;----Vtrigger----
Space::
Send
{j down}
{m down}
KeyWait, Space
Send {j up}{m up}

And if changing it like this would make a difference or not.

Again, the problem is that the double keys that should act like pressing 2 keys by using a 3rd new one, simply doesn't function as they should, and in controller settings (ingame) using these keys (E,R,Space) with the script written in @OP, deletes previously set keys in the controller settings.

1. So I'm in the controller settings, ingame.
2. I set up JKL as punches, UIO as kicks, they work as they should after testing.
3. I try to set up E,R, Space.
4. E goes for throw. I go down to throw, press E.
5. Game deletes the key from light punch ( that is on keyboard, J for me), replaces it to throw.
6. Now with pressing E my character does a light punch.
7. This is the problem I try to fix and I don't know how.

As a templorary fix I use H and P for throw and V skill, because I don't really need 3K/3P on a single button, however I do need these.

As much as I appriciate your answer it didn't help me at all.
Yanhe_ Mar 29, 2017 @ 11:42pm 
try using this
#IfWinActive StreetFighterV

***::w ; Up
***::s ; Down
***::a ; Left
***::d ; Right

***::g ; LP
***::h ; MP
***::j ; HP
***::k ; LP+MP+HP

***::b ; LK
***::n ; MK
***::m ; HK
***::, ; LK+MK+HK

***:: ; Throw
SendInput {g down}{b down}
KeyWait, ***
SendInput {g up}{b up}
Return

***:: ; V-Skill
SendInput {h down}{n down}
KeyWait, ***
SendInput {h up}{n up}
Return

***:: ; V-Trigger
SendInput {j down}{m down}
KeyWait, ***
SendInput {j up}{m up}
Return

Return

replace the *** with whatever key i want
if it dont work then go to https://autohotkey.com/docs/KeyList.htm for the right keys

here is ur version of the key set



#IfWinActive StreetFighterV

j::g ; LP
k::h ; MP
l::j ; HP
h::k ; LP+MP+HP

u::b ; LK
i::n ; MK
o::m ; HK
y::, ; LK+MK+HK

e:: ; Throw
SendInput {g down}{b down}
KeyWait, e
SendInput {g up}{b up}
Return

r:: ; V-Skill
SendInput {h down}{n down}
KeyWait, r
SendInput {h up}{n up}
Return

Space:: ; V-Trigger
SendInput {j down}{m down}
KeyWait, Space
SendInput {j up}{m up}
Return

Return

sry about the p and ; it didnt work when i try using it maybe the p might work but not so sure about the ;
Last edited by Yanhe_; Mar 29, 2017 @ 11:44pm
juxstepin Mar 30, 2017 @ 12:26am 
Be sure to avoid posting the combo scripts so people think you actually play and not just press 3 keys the whole match.
Black Oozaru Mar 30, 2017 @ 5:57am 
The ex.dp you hold during block strings and combos too hauhaua. Sorry cant hold it, i fought so many scripters and macro users that i cant take it serious.
gotico gordo Mar 21, 2019 @ 4:18pm 
Originally posted by ❖╫×Aa×╫❖:
try using this
#IfWinActive StreetFighterV

***::w ; Up
***::s ; Down
***::a ; Left
***::d ; Right

***::g ; LP
***::h ; MP
***::j ; HP
***::k ; LP+MP+HP

***::b ; LK
***::n ; MK
***::m ; HK
***::, ; LK+MK+HK

***:: ; Throw
SendInput {g down}{b down}
KeyWait, ***
SendInput {g up}{b up}
Return

***:: ; V-Skill
SendInput {h down}{n down}
KeyWait, ***
SendInput {h up}{n up}
Return

***:: ; V-Trigger
SendInput {j down}{m down}
KeyWait, ***
SendInput {j up}{m up}
Return

Return

replace the *** with whatever key i want
if it dont work then go to https://autohotkey.com/docs/KeyList.htm for the right keys

here is ur version of the key set



#IfWinActive StreetFighterV

j::g ; LP
k::h ; MP
l::j ; HP
h::k ; LP+MP+HP

u::b ; LK
i::n ; MK
o::m ; HK
y::, ; LK+MK+HK

e:: ; Throw
SendInput {g down}{b down}
KeyWait, e
SendInput {g up}{b up}
Return

r:: ; V-Skill
SendInput {h down}{n down}
KeyWait, r
SendInput {h up}{n up}
Return

Space:: ; V-Trigger
SendInput {j down}{m down}
KeyWait, Space
SendInput {j up}{m up}
Return

Return

sry about the p and ; it didnt work when i try using it maybe the p might work but not so sure about the ;


this means that i can just ignore the UP, DOWN, LEFT, RIGHT inputs on the script and just change them ingame?
i wanna use

A = left
S= down
D= right
SPACE = up

i know this is old, but i just got into the game and i its quite frustrating to map the keyboard ingame
Last edited by gotico gordo; Mar 21, 2019 @ 4:19pm
Originally posted by Scott Summers:
Originally posted by ❖╫×Aa×╫❖:
try using this
#IfWinActive StreetFighterV

***::w ; Up
***::s ; Down
***::a ; Left
***::d ; Right

***::g ; LP
***::h ; MP
***::j ; HP
***::k ; LP+MP+HP

***::b ; LK
***::n ; MK
***::m ; HK
***::, ; LK+MK+HK

***:: ; Throw
SendInput {g down}{b down}
KeyWait, ***
SendInput {g up}{b up}
Return

***:: ; V-Skill
SendInput {h down}{n down}
KeyWait, ***
SendInput {h up}{n up}
Return

***:: ; V-Trigger
SendInput {j down}{m down}
KeyWait, ***
SendInput {j up}{m up}
Return

Return

replace the *** with whatever key i want
if it dont work then go to https://autohotkey.com/docs/KeyList.htm for the right keys

here is ur version of the key set



#IfWinActive StreetFighterV

j::g ; LP
k::h ; MP
l::j ; HP
h::k ; LP+MP+HP

u::b ; LK
i::n ; MK
o::m ; HK
y::, ; LK+MK+HK

e:: ; Throw
SendInput {g down}{b down}
KeyWait, e
SendInput {g up}{b up}
Return

r:: ; V-Skill
SendInput {h down}{n down}
KeyWait, r
SendInput {h up}{n up}
Return

Space:: ; V-Trigger
SendInput {j down}{m down}
KeyWait, Space
SendInput {j up}{m up}
Return

Return

sry about the p and ; it didnt work when i try using it maybe the p might work but not so sure about the ;


this means that i can just ignore the UP, DOWN, LEFT, RIGHT inputs on the script and just change them ingame?
i wanna use

A = left
S= down
D= right
SPACE = up

i know this is old, but i just got into the game and i its quite frustrating to map the keyboard ingame
Yes, just leave the lines of code out that you don't want to use.
gotico gordo Mar 22, 2019 @ 7:43am 
Originally posted by David // PSN: Waveshaper__:
Originally posted by Scott Summers:


this means that i can just ignore the UP, DOWN, LEFT, RIGHT inputs on the script and just change them ingame?
i wanna use

A = left
S= down
D= right
SPACE = up

i know this is old, but i just got into the game and i its quite frustrating to map the keyboard ingame
Yes, just leave the lines of code out that you don't want to use.


gotcha, it worked over here, thks for the info
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Jul 4, 2016 @ 7:46am
Posts: 8