I've written a bunch of norecoil and rapid fire scripts (and other cheaty stuff) for a variety of games whenever I get
bored of them so figured I'll just write a generic one, for "all" shooters so, here is another weekend project, GrrfM
I've written a bunch of norecoil and rapid fire scripts (and other cheaty stuff) for a variety of games whenever I get
bored of them so figured I'll just write a generic one, for "all" shooters so, here is another weekend project, GrrfM
Hi! I get an error when running this script:
Line Text: Global active := array()
Error: This line does not contain a recognized action.
I'm a first time user of ahk so don't be harsh on me:D
No need to fret
You just need to dl the latest version of ahk which supports that command, something higher or equal to v1.1.14.02.
Thanks a lot! Work like a charm with my Gewehr43 in H&G but I can't seem to make it work with my Machinepistole34. It shoots 1 bullet per click only.(even if I hold the LMclick for more seconds)
Just checked it with my B.A.R. and it works so I don't know what's the problem with Machinepistole34. Will check one more time later.
Thanks again for the wonderful script! Now I know what I will learn in the nearest future!
Just checked it with my B.A.R. and it works so I don't know what's the problem with Machinepistole34. Will check one more time later.
Thanks again for the wonderful script! Now I know what I will learn in the nearest future!
I think either you aren't ticking the rapid fire checkbox, the rapidfire type is "off" or "burst" with value of 1.
If you aren't ticking the rapid fire with an automatic fire weapon then, due to my slacky scripting, it turns the weapon into single fire weapon rather than using the weapon's real automatic fire.
I'll try to fix that soonish since it is a pretty terrible failure on my part.
Forgot to press the toggle key It works fine with everything now! My bad!
Forgot to press the toggle key It works fine with everything now! My bad!
Glad to see you're getting good use out of it
Thanks for this, but the game is sh*t.
It gets repetitive pretty fast I agree but, as a game it's great and in small doses rather enjoyable as well.
Regarding the script though, you can use it for anything from runescape to BF4.
Just add another gameName.ini with the minimum info to the Data folder and correct the 0 values while in game.
- I can't seem to get the Insert GUI to work.
- After making a new config in the Data folder and selecting it under Game in the GUI, under the weapons option it says "Select a game first..." If I delete the new config, and re-open the script, choose 'Heroes and Generals' as my game, I can then choose the weapons.
I'm using Autohotkey v1.16.05 and am on Windows 8.1 64bit.
Thanks
- I can't seem to get the Insert GUI to work.
- After making a new config in the Data folder and selecting it under Game in the GUI, under the weapons option it says "Select a game first..." If I delete the new config, and re-open the script, choose 'Heroes and Generals' as my game, I can then choose the weapons.
I'm using Autohotkey v1.16.05 and am on Windows 8.1 64bit.
Thanks
I noticed some iffyness in the script with multiple games.
I'll fix that and update it to use a much much smoother antirecoil I wrote some time ago.
As for the "config" screen not showing, sadly there isn't much I can do about that since some games render over other windows.
One option would be to use windowed mode while you're updating the values of each weapon and then switching back to full screen when playing (when you won't need to tinker with the values).
Sorry for the inconvenience!
im getting error "error" is not a valid key name? also what is the toggle key? is it Rctrl?
Updated the script in the first post. Now handles multiple games properly.
Been busy so didn't have time to add the smoother antirecoil but it's coming!
im getting error "error" is not a valid key name? also what is the toggle key? is it Rctrl?
The toggle key is just a generic on/off button so you can turn the rapidfire/no-recoil off while you're in menus or such.
"RCtrl" is a comfy button for me to toggle it on and off, you could replace it with "^space" or whatever feels good for you, given it's using ahk syntax.
My best guess for the error is that you haven't defined a toggleKey in your game's .ini since "ERROR" is the result you get when you try to read an non-existing ini value.
Though if not, could you copy pasta your "[GameInfo]" section here?
Just noticed I had forgotten to add "toggleKey" to the bfbc2 .ini file so that's why you were missing it too
ok i got everything working, now which part of code do i need to change in order to swap keys 1,2,3 to 7,8,9 so i can use 1-3 in game? is it in the .ini or the actual code for the gui?
The weapon slot keys are defined in the .ini file in the [GameInfo] section.
Just change the text after "wep1=" to the key you want to use.
Edit:
Had forgotten to use curly snake for the wep keys which which caused the keys to be intercepted.
Fixed that now and you can use the same weapon swapping keys as you use in game, as it was intended.