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 ... 104, 105, 106 ... 118, 119, 120  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
help
Guest





PostPosted: Sun Mar 09, 2008 8:00 am    Post subject: scripts Reply with quote

i copyed and paste scripts to .ahk file and they dont work. what am i donig wrong.
Back to top
AZA
Guest





PostPosted: Sun Mar 09, 2008 9:44 pm    Post subject: QuickSwitch Reply with quote

Hi guys, I'v been working on some BF2 Macros for awhile now and have almost finished what will be my first public release.

Here is a list of the current features

* Full Gui interface
* Save and load functions
* Custom timing options for all macros
* Links to player stats
* Ability to change graphic settings outside of BF2
* Ability to turn on and off all macros via custom hotkeys
* User customizable hotkeys for all macros
* Help interface

List of macros included

* Weapon quick switch

User customizable weapon selection, AUTOFIRE options and RECOIL CORRECTION for both primary and secondary weapons.

* Kit throw

Customizable timing options for different kits , ability to hold kit until key is released, toggle for switching back to primary weapon.

* Medic auto revive
* C4 Jump
* All rose commands
* Command spot
* Paste from clipboard
* Unlock FPS and set custom timing
* Turn HUD on/off
* Show FPS counter

There may well be more features in the release!!

[img]http://www.postyourimage.com/view_image.php?img_id=nAtrqvEY85Anok1205095041[/img]
Back to top
AZA
Guest





PostPosted: Sun Mar 09, 2008 9:50 pm    Post subject: QuickSwitch Reply with quote

Sorry my bad, heres the picture.

Back to top
Alekoz



Joined: 17 Jun 2007
Posts: 157

PostPosted: Mon Mar 10, 2008 3:11 pm    Post subject: Reply with quote

nice Smile
i have something similar but dont have so many features
i dont think ill ever release it though...made it for my clan only Very Happy
_________________
My BF2 Scripts
Back to top
View user's profile Send private message
guestguest
Guest





PostPosted: Sat Mar 22, 2008 5:20 pm    Post subject: Reply with quote

@AZA: nice toolset! Where can we download it?
Back to top
AZA



Joined: 10 Mar 2008
Posts: 158
Location: USA

PostPosted: Sat Mar 22, 2008 5:56 pm    Post subject: Reply with quote

guestguest wrote:
@AZA: nice toolset! Where can we download it?


Download here :
http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
gazro2000



Joined: 24 Nov 2007
Posts: 4

PostPosted: Tue Mar 25, 2008 1:21 am    Post subject: Prone/zoom/recoil for Support role. Reply with quote

Trying to get this script to be prone/zoom/no-recoil for the support role. I want it to work all in one movement from the left mouse button going straight into fire. It is turned on and off via the home key beeps once for on three times for off, mid mouse chucks two ammo bags. Please could someone assist me as its driving me mad.

Many thanks Gary


#Persistent
#InstallKeybdHook
$LButton::
;
SendInput {z down}
Sleep 60
Loop
{
Sleep 24
GetKeyState, szButtonState, LButton, P
if szButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 24
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, 1, uint,0, int,1 )
}
return

#Persistent
#InstallKeybdHook
$mbutton::
Send, {5 down}
Sleep 60
Send, {5 up}
Sleep 600
MouseClick, Left, , , , , D
sleep 600
MouseClick, Left, , , , , U
sleep 600
MouseClick, Left, , , , , D
sleep 600
MouseClick, Left, , , , , U
sleep 600
; MouseClick, Left, , , , , D
; sleep 600
; MouseClick, Left, , , , , U
; sleep 600
Send, {3 down}
Sleep 40
Send, {3 up}
return
exit


#Persistent
#InstallKeybdHook
onoff = 0

$Home::
if (!onoff)
{
onoff:=1

Hotkey,$LButton, on

SoundBeep, 500, 100
}
else
{

Hotkey,$LButton, Off

SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
onoff:=0
}
return
Back to top
View user's profile Send private message
necroKoala
Guest





PostPosted: Tue Mar 25, 2008 11:30 pm    Post subject: Reply with quote

Hey guys I've been trying this script from Alekoz (thanks!) and was wondering if there is a way to have the crosshairs change color when the script is on/off or even show the frame rate ...it's just that sometimes you forget if it's on or off and a visual aid would be cool. If you can assist that would be great Smile

;======================================================
;Anti Recoil Switch by Alekoz
;======================================================
;
;"=" : Toggles the script On/Off
;"F12" : Switches between 2 anti recoil sets
;"F11" : Sets the anti recoil to 0 again
;"ScrollLock" : Exits the script

#NoEnv
#InstallKeybdHook
#InstallMouseHook
Dev = 0

Hotkey,$F11, Off
Hotkey,$F12, Off
Hotkey,$LButton, Off
Hotkey,$^LButton, Off

;removed so you can test it outside bf2
;SetTimer, KeepRunning
;return
;
;KeepRunning:
;
; WinGet, szProcessName, ProcessName, A
; if szProcessName = bf2.exe
; {
; Suspend, off
; }
; else
; {
; Suspend, on
; }
;return


MouseEvent(a_xpos, a_ypos)
{
DllCall("mouse_event", uint,1, int,a_xpos, int,a_ypos, uint,0, int,0 )
}

$Scrolllock::
ExitApp

$=::
Hotkey,$F11, toggle
Hotkey,$F12, toggle
Hotkey,$LButton, toggle
Hotkey,$^LButton, toggle
SoundBeep, 500, 100
return

$F11::
Dev = 0
return


$F12::
if Dev = 0
goto Set1
if Dev = 2
goto Set2

Set1:
Dev = 2
return

Set2:
Dev = 5
return


$LButton::
Loop
{
Sleep 90
GetKeyState, LButtonState, LButton, P
if LButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 20
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, Dev, uint,0, int,0 )
}

$^LButton::
Loop
{
Sleep 90
GetKeyState, LButtonState, LButton, P
if LButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 20
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, Dev, uint,0, int,0 )
}


;======================================================
;END OF SCRIPT
;======================================================
Back to top
AZA



Joined: 10 Mar 2008
Posts: 158
Location: USA

PostPosted: Wed Mar 26, 2008 1:02 am    Post subject: Reply with quote

necroKoala wrote:
Hey guys I've been trying this script from Alekoz (thanks!) and was wondering if there is a way to have the crosshairs change color when the script is on/off or even show the frame rate ...it's just that sometimes you forget if it's on or off and a visual aid would be cool. If you can assist that would be great Smile



You cant change the cross hair color, autohotkey cant do an overlay in D3D apps. You could add sounds to tell you when you turn it on and off with SoundBeep [, Frequency, Duration]. you could have the frame rate turn on and off if you need a visual marker on screen. there are lots of scripts posted for turning on and off the frame marker. you could also try out my quickswitch program. (theres a link a few post up) it implements autofire in a different manor that you may find useful.
Back to top
View user's profile Send private message MSN Messenger
necroKoala
Guest





PostPosted: Wed Mar 26, 2008 1:48 am    Post subject: Reply with quote

AZA wrote:
necroKoala wrote:
Hey guys I've been trying this script from Alekoz (thanks!) and was wondering if there is a way to have the crosshairs change color when the script is on/off or even show the frame rate ...it's just that sometimes you forget if it's on or off and a visual aid would be cool. If you can assist that would be great Smile



You cant change the cross hair color, autohotkey cant do an overlay in D3D apps. You could add sounds to tell you when you turn it on and off with SoundBeep [, Frequency, Duration]. you could have the frame rate turn on and off if you need a visual marker on screen. there are lots of scripts posted for turning on and off the frame marker. you could also try out my quickswitch program. (theres a link a few post up) it implements autofire in a different manor that you may find useful.


Great thanks mate Laughing
Back to top
flicker
Guest





PostPosted: Fri Mar 28, 2008 2:02 am    Post subject: Reply with quote

slomz wrote:
mattman59 wrote:
slomz wrote:
Alright well I myself am a good player, I just have gotten bored of the same old stuff so I have spiced things up a little bit by having some fun.

And this is the tv missile script that works well for me.

Code:
#InstallKeybdHook
#InstallMouseHook
SetKeyDelay, 20
SetMouseDelay, 20

$MButton::

Loop
{
Loop
{

 Sleep, 100
 GetKeyState, state, MButton, P
 if MButton state = D 
 break
 }
 send, {F2 down}
 sleep 100
 send, {F2 up}
 sleep 100
 Send, {MouseClick, right, D}
 sleep 50
 Send, {MouseClick, right, U}
 sleep 40
 Send, {MouseClick, left, D}
 sleep 40
 Send, {MouseClick, left, U}
 Sleep 40
 Send, {MouseClick, left, D}
 sleep 40
 Send, {MouseClick, left, U}
 sleep 40
 Send, {MouseClick, left, D}
 sleep 40
 Send, {MouseClick, left, U}

 return
 }


What does this script do when run? Also what keys do you use to run it.


I said what it does. It is a tv missile script. Prewss the middle mouse button while flying attack helicopter alone and it switches to gunner and fires a missile and makes 10 left clicks for u so just guide the mouse.



Sorry I am new to macros don't know much, where in the con file would I enter this?
Back to top
LxzErOxP
Guest





PostPosted: Fri Mar 28, 2008 9:11 am    Post subject: WTF... Reply with quote

OK i see all this code but where do i put it all...
like for all of them....
plz help
Back to top
Alekoz



Joined: 17 Jun 2007
Posts: 157

PostPosted: Fri Mar 28, 2008 7:52 pm    Post subject: Reply with quote

would be nice if people actually read the Quick-start Tutorial for once... Rolling Eyes
_________________
My BF2 Scripts
Back to top
View user's profile Send private message
LxzErOxP
Guest





PostPosted: Sat Mar 29, 2008 10:08 am    Post subject: lol Reply with quote

lol yea ay hehehe my bad i didnt get it tho (thats my pro excuse...STEAL IT AND U WILL DIE)
anywayz... yea i found out how to do it

p.s. you scripts are mad ive been using them only on single player tho\

thansx for the macros heaps
Back to top
slomz



Joined: 03 Sep 2006
Posts: 608
Location: Iowa, U.S.

PostPosted: Sun Mar 30, 2008 1:50 am    Post subject: Reply with quote

Does that tv missile script still work? I made that like, almost 2 years ago. I'm surprised if it does still.
_________________
Back to top
View user's profile Send private message AIM Address
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 ... 104, 105, 106 ... 118, 119, 120  Next
Page 105 of 120

 
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