hello, i am newbie in this ahk comunity and i want to make animated clantag on CS:GO.
i made this:
bind "kp_down" "+forward;cl_clanid [clantag id]"
bind "kp_up" "+moveleft;cl_clanid [clantag id]"
bind "kp_left" "+back;cl_clanid [clantag id]"
bind "kp_right" "+moveright;cl_clanid [clantag id]"
and i want to make automatic after 1 second press arrow down, arrow up, arrow left, arrow right.
Animated ClanTag Automatic CS:GO
Re: Animated ClanTag Automatic CS:GO
Been a while since I did some AHK scripts for games.
And I only use them in SP (Single Player) games.
First of, AHK is a keyboard script (More or less) and doesn't automatically work in the game's executable the way you have set it up.
First off (And with what I remember):
Another thing, I have not checked your actually script will work if you do what I suggested over. I don't play CS, so I don't use Valve's Console Commands.
Good luck!
hugin
And I only use them in SP (Single Player) games.
First of, AHK is a keyboard script (More or less) and doesn't automatically work in the game's executable the way you have set it up.
First off (And with what I remember):
- You need to read up on the AHK scripting. (Only way to learn)
- Then you need to use Window Spy (Or Scripts made by AHK members), to find the game's ahk_class, ahk_exe etc.
- Then you need to implementing that into your AHK script the correct way so the script register when the .Exe is active. Otherwise it will work all the time. (Read up on this to learn)
- You also need the script to open the console before using your commands. Otherwise you will not do anything in the game at all
- It is a reason you don't have got any response yet. This is Atypical for wanting help without actually trying to learn AHK scripting. No offence
- So, if this is something you really want to learn, do it. As it also gives you a peek into the world of scripting & possibly programming. And it is awesome!
- A spray clan tag is innocent enough, but be aware, using this in MP games can get you in trouble, even though I don't know how Valve and.. Is it called Overwatch in CS? React to keyboard scripts like this. Fair warning given.
Code: Select all
bind "kp_down" "+forward;cl_clanid [clantag id]"
bind "kp_up" "+moveleft;cl_clanid [clantag id]"
bind "kp_left" "+back;cl_clanid [clantag id]"
bind "kp_right" "+moveright;cl_clanid [clantag id]"
Good luck!
hugin
Re: Animated ClanTag Automatic CS:GO
This will press those keys in the same order with a 1 second delay. The End key will exit.
Code: Select all
Loop
{
SendInput NumpadDown
Sleep 1000
SendInput NumpadUp
Sleep 1000
SendInput NumpadLeft
Sleep 1000
SendInput NumpadRight
Sleep 1000
}
End::ExitApp
Re: Animated ClanTag Automatic CS:GO
Laggin:
Thank you
That will still not open console to get the commands executed.
Whst OP have sent us is a .cfg script, and not anything that work directly besides knowing what to "sendinput" (etc) to console when AHK has opened console.
One thing I don't understand, is what he has, is a working script anyway. So why bother with using AHK on top of that?
Don't make sense.
OP?
Thank you
That will still not open console to get the commands executed.
Whst OP have sent us is a .cfg script, and not anything that work directly besides knowing what to "sendinput" (etc) to console when AHK has opened console.
One thing I don't understand, is what he has, is a working script anyway. So why bother with using AHK on top of that?
Don't make sense.
OP?