AutoHotkey Community

It is currently May 24th, 2012, 8:39 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1913 posts ]  Go to page Previous  1 ... 58, 59, 60, 61, 62, 63, 64 ... 128  Next
Author Message
PostPosted: March 18th, 2007, 2:03 pm 
Offline

Joined: March 10th, 2007, 1:31 pm
Posts: 10
Hey, thx SoWhat. Of course, I use the these hooks in my script, but I will check yours.

btw what's best sendmode for bf2, sendevent/sendinput/sendplay? I saw some guys using sendinput, but most do not. Nobody was using sendplay what should be (taking manual into account) the best choice...


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: THEIF
PostPosted: March 18th, 2007, 3:16 pm 
Offline

Joined: January 18th, 2006, 3:35 pm
Posts: 28
Fortran wrote:
Why dont u write something better then...or how about you make the minor changes needed to have hard bank left and right ?....oh you can't ? I rest my case.


I just looked @ which way the mouse axis was going and told it to run function Lefthardbank or Righthardbank..... And I don't have bf2142.... But people are praising your script and asking for hence the PM, since I did not keep it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: ???
PostPosted: March 19th, 2007, 2:54 am 
Offline

Joined: March 19th, 2007, 2:49 am
Posts: 2
Is it possible to make a AHK that selects your spawn point on karkand and automatically spawns you at the main uncap on us side???????


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: ???
PostPosted: March 19th, 2007, 6:48 pm 
Offline

Joined: January 18th, 2006, 3:35 pm
Posts: 28
nu7 wrote:
Is it possible to make a AHK that selects your spawn point on karkand and automatically spawns you at the main uncap on us side???????


Yes, I've got my spawn selected on 2142 some I'm sure it is use DLL


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 20th, 2007, 1:14 am 
Offline

Joined: March 19th, 2007, 2:49 am
Posts: 2
it would be really nice if someone can do it :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2007, 4:13 am 
Is it possible for someone to do a .ahk script for me ?
I would like it if i could use the F key to switch just between handgun and rifle. And if i hold down the F key it will do a loop on the handgun then press it again to go back to rifle.
Thanx Guys
I have tried to do it but i have a bit of a learning disability thats all.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2007, 8:20 am 
Here is one.
http://www.autohotkey.com/forum/post-70108.html#70108

Code:
togglePistolRifle()
{
   static g_Pistol
   if(1 == mod(g_Pistol,2))
   {
      ; Switching to Rifle
      Send, {3 down}
      Sleep 50
      Send, {3 up}
   }
   else
   {
      ; Switching to Pistol
      Send, {2 down}
      Sleep 50
      Send, {2 up}
   }
   g_Pistol += 1

}

toggleF2PistolF3Rifle()
{
   static g_Pistol
   if(1 == mod(g_Pistol,2))
   {
      ; Switching to Rifle
      Send, {f3 down}
      Sleep 50
      Send, {f3 up}
   }
   else
   {
      ; Switching to Pistol
      Send, {f2 down}
      Sleep 50
      Send, {f2 up}
   }
   g_Pistol += 1

}

;
; Toggle between pistol/rifle when you press the middle mouse button
;
$MButton:: ;;change mbutton to F key and it might work as you wish

   togglePistolRifle()        ; Default keybinds 2 and 3
   ;toggleF2PistolF3Rifle() ; F2 and F3

return


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 23rd, 2007, 12:34 pm 
WOW!! thanx SoWhat i will try it out tonite :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 23rd, 2007, 2:52 pm 
I test it whit F key and it work just as you hope, thanks belongs to :arrow: Harmor


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 23rd, 2007, 3:41 pm 
At the actual point of time, is AHK detected by Punkbuster? What will happen if? Only a Kick? Or will it Ban my CD-Key???


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 23rd, 2007, 7:58 pm 
Nothing. Its just an external *.exe that doenst manipulate gamedatas or files.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 23rd, 2007, 11:19 pm 
Offline

Joined: January 18th, 2006, 3:35 pm
Posts: 28
No EA, has mandated that macros are legal and PB does not kick or ban for AHK.....


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Dummy's help?
PostPosted: March 25th, 2007, 12:01 am 
I have been hearing about this macro stuff for some time now. Could someone please explain to me how and were or what I have to do to instal / set this up? I have no idea on these script things or were I have to type them.

Thanks.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2007, 12:04 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
See the documentation for AutoHotkey, particularly the quick-start tutorial. The download page is also on the main site.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 25th, 2007, 1:43 pm 
Hey all,
first sorry for my bad english ^^

im a total newbie wth autohotkeys and scripts.I need a script für Battlefield 2 for the tv rocket!!!
I thinks so that i only must klick the left mouse button to shot and then hold any button on the keyboard to simulate the leftklicks...hmm a sample Shoot-HOLD L and i only must move the mouse to guide the missle is this possible??


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1913 posts ]  Go to page Previous  1 ... 58, 59, 60, 61, 62, 63, 64 ... 128  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Scratch and 22 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group