AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BF2 MACROS (SUMMARY) - post all working macros here please
Goto page Previous  1, 2, 3 ... 109, 110, 111 ... 119, 120, 121  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Wed Jun 04, 2008 9:13 pm    Post subject: Reply with quote

whitedragon551 wrote:
I cant get this script to work:

Code:
n::
Sleep, 500
SetKeyDelay, 50, 50
Send, A
Send, w
Return


Im using the default keys. I want it to go prone and then shoot. My prone key is Z and my shoot key is the left mouse button.


Your script doesn't even include the correct keys! Whats up with that?

Code:
n::
Send {z Down}
Sleep 40
Send {z Up}
Sleep 300 ; may need to change this im just guessing the number
Send {LButton Down}
Sleep 20
Send {LButton Up}
RETURN


thats just off the top of my head, If you want to fire more than 1 shot add a loop after the sleep 300 e.g

Code:
Loop 3 ; change for number of shots
{
Send {LButton Down}
Sleep 20
Send {LButton Up}
Sleep 50 ; Change for speed of shots
}
RETURN


Hope that helps.
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
whitedragon551



Joined: 04 Jun 2008
Posts: 17
Location: USA

PostPosted: Wed Jun 04, 2008 10:08 pm    Post subject: Reply with quote

I took that script from the first page. I never fixed it or have tried my own yet. Im not very good at programming. I had a little VB class in high school, but that was about 3 years ago.
Back to top
View user's profile Send private message Visit poster's website
SFORTZA



Joined: 05 Jun 2008
Posts: 3

PostPosted: Thu Jun 05, 2008 12:49 pm    Post subject: N0oB NEED HELP PLZ Reply with quote

hi all,

How I can use all these file .ahz IN BF2 ?
More details plz ...
tnx all
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 05, 2008 1:14 pm    Post subject: Re: N0oB NEED HELP PLZ Reply with quote

SFORTZA wrote:
hi all,

How I can use all these file .ahz IN BF2 ?
More details plz ...
tnx all


how about some reading before you post : http://www.autohotkey.com/docs/Tutorial.htm

and its .ahk not .ahz
Back to top
SFORTZA



Joined: 05 Jun 2008
Posts: 3

PostPosted: Thu Jun 05, 2008 1:21 pm    Post subject: Reply with quote

NOT ANSWER IF YOU DO NOT HAVE A DETAILED ANSWER
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 05, 2008 4:07 pm    Post subject: Reply with quote

SFORTZA wrote:
NOT ANSWER IF YOU DO NOT HAVE A DETAILED ANSWER


all details are in the link stupid
Back to top
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Thu Jun 05, 2008 9:27 pm    Post subject: Reply with quote

whitedragon551 wrote:
I cant get this script to work:

Code:
n::
Sleep, 500
SetKeyDelay, 50, 50
Send, A
Send, w
Return


Im using the default keys. I want it to go prone and then shoot. My prone key is Z and my shoot key is the left mouse button.


TRY THIS:

Code:
;#######################################################
; TEAMWEEDNZ PRONE SHOOT MACROS   BY AZA
;#######################################################

v_Version_Number = 0.1

;#######################################################
; PROGRAM SETUP SECTION
;#######################################################
#Persistent
#NoEnv
#SingleInstance Ignore
#InstallKeybdHook
#InstallMouseHook

v_PSKey = n

HotKey *%v_PSKey%, PRONE_SHOOT, On UseErrorLevel

SetTimer KEEP_RUNNING, 3000
RETURN
;##################################################


;##################################################
KEEP_RUNNING:
   WinGet , szProcessName, ProcessName, A
   If szProcessName =  BF2.exe
      Suspend Off
   Else
      Suspend On
RETURN
;##################################################


;##################################################
PRONE_SHOOT:
   Send {z Down}
   Sleep 40
   Send {z Up}
   Sleep 600
   Loop 3
   {
      Send {LButton Down}
      Sleep 40
      Send {LButton Up}
      Sleep 50
   }
RETURN
;##################################################


Its a little sloppy with the timings but it works most the time. It takes along time to go fully prone in BF2 so you will find you can go prone and press the mouse button faster than the macro can do it for you. I really don't see the point in this macro at all myself.
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
Alekoz



Joined: 17 Jun 2007
Posts: 157

PostPosted: Thu Jun 05, 2008 9:34 pm    Post subject: Reply with quote

AZA wrote:

Its a little sloppy with the timings but it works most the time. It takes along time to go fully prone in BF2 so you will find you can go prone and press the mouse button faster than the macro can do it for you. I really don't see the point in this macro at all myself.


i dont see a point in any movement macro at all.you can do EVERYTHING faster with your fingers Very Happy
_________________
My BF2 Scripts
Back to top
View user's profile Send private message
whitedragon551



Joined: 04 Jun 2008
Posts: 17
Location: USA

PostPosted: Thu Jun 05, 2008 9:46 pm    Post subject: Reply with quote

Isnt that hook going to get picked up by punkbuster?
_________________
Back to top
View user's profile Send private message Visit poster's website
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Thu Jun 05, 2008 9:56 pm    Post subject: Reply with quote

whitedragon551 wrote:
Isnt that hook going to get picked up by punkbuster?


Without the hooks BF2 wont get the key strokes. PB is currently only picking up some compiled scripts that use certain code portions.
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
whitedragon551



Joined: 04 Jun 2008
Posts: 17
Location: USA

PostPosted: Thu Jun 05, 2008 10:23 pm    Post subject: Reply with quote

Oh well I just tried it and it didnt work.
_________________
Back to top
View user's profile Send private message Visit poster's website
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Thu Jun 05, 2008 10:27 pm    Post subject: Reply with quote

whitedragon551 wrote:
Oh well I just tried it and it didnt work.


works fine for me and one of my beta testers. You really need to post more info other than doesn't work if you want to get a fix. If you have MSN messenger add me so we can chat.
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
blah! alex
Guest





PostPosted: Fri Jun 06, 2008 12:09 am    Post subject: difficuilt server Reply with quote

i think my team mates have sussed me out about using macros is there any way i can get them to stop thinking this
Back to top
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Fri Jun 06, 2008 12:19 am    Post subject: Re: difficuilt server Reply with quote

blah! alex wrote:
i think my team mates have sussed me out about using macros is there any way i can get them to stop thinking this


It really depends on the macros you use, some macros are less obvious than others. If you use autofire macros then anyone with half a brain will spot them. If your playing somewhere that macros are not allowed then you are cheating. If your clan / team mates dont allow the use of macros then you are betraying there trust. So the answer is simple.....

Stop using them! lol
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
whitedragon551



Joined: 04 Jun 2008
Posts: 17
Location: USA

PostPosted: Fri Jun 06, 2008 4:50 am    Post subject: Reply with quote

AZA wrote:
whitedragon551 wrote:
Oh well I just tried it and it didnt work.


works fine for me and one of my beta testers. You really need to post more info other than doesn't work if you want to get a fix. If you have MSN messenger add me so we can chat.


I have xFire and steam. I was in game and had the macro running and when I pressed the n key to go prone and shoot it never did.
_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 109, 110, 111 ... 119, 120, 121  Next
Page 110 of 121

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group