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 QuickSwitch - Battlefield 2 Macros
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  

What do you think of this program?
It's bad ass, keep up the good work.
50%
 50%  [ 1 ]
It's ok
50%
 50%  [ 1 ]
I don't like it
0%
 0%  [ 0 ]
You suck, stop wasting your time.
0%
 0%  [ 0 ]
Total Votes : 2

Author Message
dyn.txr
Guest





PostPosted: Thu May 08, 2008 2:10 pm    Post subject: Reply with quote

AZA wrote:

No Problem,

Code:
;#######################################################
; TEAMWEEDNZ SCROLLWHEEL FIX   BY AZA
;#######################################################

v_Version_Number = 0.1

;#######################################################
; PROGRAM SETUP SECTION
;#######################################################

#Persistent
#NoEnv
#SingleInstance Ignore
#InstallKeybdHook
#InstallMouseHook

$*WheelDown:: GoSub WEAPON_SCROLL
$*WheelUp:: GoSub WEAPON_SCROLL

SetTimer KEEP_RUNNING, 3000

RETURN
;##################################################


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


;##################################################
WEAPON_SCROLL:
   GetKeyState WDS, WheelDown, P
   GetKeyState WUS, WheelUp, P
   If WDS or WUS = D
   Sleep 250
   MOUSE_PRESS(Left)
RETURN
;##################################################


;##################################################
MOUSE_PRESS(BUTTON)
{
   MouseClick %BUTTON%, , , 1, 0, D
   Sleep 45
   MouseClick %BUTTON%, , , 1, 0, U
}
RETURN
;##################################################




thank you very much Smile
Back to top
Ecosse
Guest





PostPosted: Sat May 10, 2008 1:19 pm    Post subject: Reply with quote

Hey AZA this program is superb! Made my 1 on 1 encounters much more fun Twisted Evil Is there any negative factors to using this program such as lag, glitches etc? Looking forward to 0.8!
Back to top
enzenauer



Joined: 04 May 2008
Posts: 4

PostPosted: Sat May 10, 2008 2:04 pm    Post subject: Reply with quote

It seems that I lagg a bit when using the Hotkeys, any ideas why?
Back to top
View user's profile Send private message
AZA



Joined: 10 Mar 2008
Posts: 74
Location: USA

PostPosted: Sat May 10, 2008 2:33 pm    Post subject: Reply with quote

Ecosse wrote:
Hey AZA this program is superb! Made my 1 on 1 encounters much more fun Twisted Evil Is there any negative factors to using this program such as lag, glitches etc? Looking forward to 0.8!


I'm glad you like it Smile

There should be no lag or glitch type issues created in battlefield as long as you pc is not to slow and has a good amount of ram. If anything being able to unlock the frame rates should help smooth out game play a bit. I find that BF2 runs smoother when i unlock the frame rates. My desktop will hit 270 FPS when i unlock it. it also worth noting that setting the GSDefaultLatencyCompensation and GSInterpolationTime values in your usersettings.ini to better match your ping will really help with lag and hit detection. I may add some options for setting them in the future. As for 0.8, I expect to have it ready to release in the next few days. I found a number of bugs in 0.7 that need to be worked out. Work on 0.8 has been a bit slow because iv been working on version 1.0 as well. That doesn't mean there wont be a version 0.9, I'm just getting a head start on it. 1.0 will be a complete re-write of the whole program, I don't plan on keeping any of the code from the previous versions.
_________________
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
AZA



Joined: 10 Mar 2008
Posts: 74
Location: USA

PostPosted: Sat May 10, 2008 2:39 pm    Post subject: Reply with quote

enzenauer wrote:
It seems that I lagg a bit when using the Hotkeys, any ideas why?


I'll need a bit more information to help you out. 1) which macros? 2) Your PC's Specs? 3) Your FPS 4) Do you have a sister and is she hot? Cool
_________________
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
Ecosse
Guest





PostPosted: Sat May 10, 2008 6:12 pm    Post subject: Reply with quote

A guide and explanation on how to set the weapons up would be very helpful. EG recoil, deviation and autofire and how to use them in game effectively. Can some users maybe post there setup here too?

Thanks.
Back to top
Alekoz



Joined: 17 Jun 2007
Posts: 133

PostPosted: Sun May 11, 2008 1:51 am    Post subject: Reply with quote

Ecosse wrote:
A guide and explanation on how to set the weapons up would be very helpful. EG recoil, deviation and autofire and how to use them in game effectively. Can some users maybe post there setup here too?

Thanks.


would make no sense
because its different on every pc
some users have bigger screens than others which means they need to use different recoil setting
and with autofire...it depends again on the pc and internet speed on how you set the delay times
just try to find whats best for you
_________________
My BF2 Scripts
Back to top
View user's profile Send private message
AZA



Joined: 10 Mar 2008
Posts: 74
Location: USA

PostPosted: Sun May 11, 2008 2:35 am    Post subject: Reply with quote

Alekoz wrote:
Ecosse wrote:
A guide and explanation on how to set the weapons up would be very helpful. EG recoil, deviation and autofire and how to use them in game effectively. Can some users maybe post there setup here too?

Thanks.


would make no sense
because its different on every pc
some users have bigger screens than others which means they need to use different recoil setting
and with autofire...it depends again on the pc and internet speed on how you set the delay times
just try to find whats best for you


@ Alekoz, These are all true.

@ Ecosse, My best advice for setting it up is to start a local server (so no Bots are killing you), go lay prone on the ground facing a wall at about your average engagement distance, zoom and shot the wall a few times without moving the mouse. Then you can use the bullet impact marks to adjust the recoil amount until you are getting the best bullet grouping. The recoil amount for the pistol and primary weapon are different so do it for both guns. With autofire its best to set this by ear. It is very depended on speed of your PC and frame rate. Just hold down the mouse button and spray off a clip, decrease the autofire number until you have found the lowest number you can use without skipping shots. Remember the faster you shot the more recoil you will incur. As for using these in game, it's all up to you how to incorporate them into your play style.
_________________
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
Ecosse
Guest





PostPosted: Sun May 11, 2008 8:47 pm    Post subject: Reply with quote

Thanks guys, some top advice there. I'll get practising Exclamation
Back to top
Spazz123
Guest





PostPosted: Mon May 12, 2008 3:50 am    Post subject: Reply with quote

anyone notice the glitch of it not allowing you to chat in text and only way it goess away is if you push escape and then it minimizes bf2
Back to top
AZA



Joined: 10 Mar 2008
Posts: 74
Location: USA

PostPosted: Mon May 12, 2008 4:30 am    Post subject: Reply with quote

Spazz123 wrote:
anyone notice the glitch of it not allowing you to chat in text and only way it goess away is if you push escape and then it minimizes bf2


I haven't seen this glitch myself. Could you give me some more information? Are you using the default chat keys? Could you post or PM me your bf2 keys.ini and settings.ini files? I know you made a post on this awhile back but i haven't been able to duplicate this problem myself. If you can get back to me quickly i should be able to fix this issue in time for the 0.8 release. Oh if it's saving your bf2 password in the settings.ini make sure to remove it before posting, You don't want everyone to know your password.
_________________
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
spazz123
Guest





PostPosted: Mon May 12, 2008 6:02 am    Post subject: Reply with quote

well its like this

ill be flying or even fighting and since i use vista i cant use voip
so im forced to chat well i push k or l or even j depending on what chat im using and somtimes i get where ill type nothing will be typed and i can exit the chat. then i have to push escape
and it minimizes bf2 then i bring it back up and then i can tyyype again it happens alot Sad

heres my key config


TEAMWEED NEW ZEALAND BATTLE MACROS

[Keys]
Forward=uparrow
Back=downarrow
Left=leftarrow
Right=rightarrow
Jump=Rctrl
Duck=delete
Run=rshift
Prone=end
Team Commands=q
Squad Commands=t
Exit Vehicle=enter
Mouse Look=e
Console=~
Zoom=Right
Talk to Squad=j
Talk to Team=k
Talk to All=l



i use arrow keys for movement and the keys in that area ^^ i know i should use wasd but ive been using arrows since unreal tournament 1 was out
Back to top
AZA



Joined: 10 Mar 2008
Posts: 74
Location: USA

PostPosted: Mon May 12, 2008 6:16 am    Post subject: Reply with quote

spazz123 wrote:
well its like this

ill be flying or even fighting and since i use vista i cant use voip
so im forced to chat well i push k or l or even j depending on what chat im using and somtimes i get where ill type nothing will be typed and i can exit the chat. then i have to push escape
and it minimizes bf2 then i bring it back up and then i can tyyype again it happens alot Sad


Thanks for the fast response. Your key config looks pretty normal, I wonder if maybe its a vista issue? I hear that some AHK stuff works a little differently under vista. Anyway i'll go throw BF2 on my vista laptop and see if i can duplicate the problem. In the mean time you could use the disable macros key (F7) to disable the macros before you chat. 0.8 Is ready for release now but i'm holding off until i have a chance to look into this issue for you.
_________________
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
AZA



Joined: 10 Mar 2008
Posts: 74
Location: USA

PostPosted: Mon May 12, 2008 6:27 am    Post subject: Reply with quote

@ Spazz123, could you post the hotkeys section of your settings.ini as well. It will help me track down the problem.
_________________
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
AZA



Joined: 10 Mar 2008
Posts: 74
Location: USA

PostPosted: Mon May 12, 2008 9:09 am    Post subject: QuickSwitch & Vista Reply with quote

Well i guess there aren't many people using my program and vista because i found some pretty major bugs! should be an easy fix though. I'll try and catch them all in 0.8. On the plus side i see the GUI looks cooler in vista. Cool

@ Spazz123, I haven't been able to duplicate your problem yet. Do you get an error box when it minimizes?
_________________
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
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, 4, 5, 6, 7, 8, 9, 10  Next
Page 8 of 10

 
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