AutoHotkey Community

It is currently May 27th, 2012, 8:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1913 posts ]  Go to page Previous  1 ... 38, 39, 40, 41, 42, 43, 44 ... 128  Next
Author Message
PostPosted: December 14th, 2006, 5:10 pm 
Jake wrote:
I need a little help tweaking this script, it seems to work sometimes with spec-ops kit but not others???? need some help to tweak it.

Ive used Battlerecord for verifying the results...




;This macro is for doing the roll and proning
;d = right
;a = left
;Space = prone


$Tab::

{
GetKeyState, State, Tab, P
if state = D

Send {d down}
Sleep 200
Send {Space down}
Sleep 80
Send {d up}
Sleep 40
Send {a down}
Sleep 40
Send {Space up}
Sleep 80
Send {a up}
Sleep 20

}




--------------------------------------------------------------
I use the Space bar for going prone, if you want to help me tweak it change this to the key you use for prone...
Thanks in advanced




I wrote this post a long time ago and i still haven't received an answer. Would anyone be so kind as to give a helping hand, my intention is to make this script do the Prone rolling effect, if anyone has this allready enable on a script would be nice if u could share it, if not some advice would be great full...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 14th, 2006, 10:46 pm 
does any one know how to make ur hit box registration better cause i compete in the game alot and there are serveral teams that get perfect i mean perfect hit registration in all servers which i know is not there skill please help if can


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2006, 12:07 am 
Ok, posted throttle remapping question in the Ask For Help forum

http://www.autohotkey.com/forum/topic14929.html



@Batman. No. AHK just sends mouse, key and joystick commands, what you are asking for is in the game code for the models and not changable in bf2 (not unless you want to make your own mod and play it on your own server).


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2006, 2:11 am 
Batman wrote:
does any one know how to make ur hit box registration better cause i compete in the game alot and there are serveral teams that get perfect i mean perfect hit registration in all servers which i know is not there skill please help if can


AIM?

No seriously, I bet these guys dont have "perfect hit registration on all servers" - try playing in Japan with ping 300 ;)

If you really wanna fool around with your netsettings, try this:
C:\Programme\EA GAMES\Battlefield 2\mods\bf2\Settings\Usersettings.con
Edit the numbers, maybe it helps.

A tutorial for one of the commands (GSDefaultLatencyCompensation) is given here:
http://forums.bf2s.com/viewtopic.php?id=20030&p=1
and here:
http://bf2tracker.com/thread.php?threadid=10250

The other commands are still unducomented I guess.

have fun ;)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2006, 5:03 am 
no i have heard they have altered stuf in the .con settings u gave me but to that i have no clue


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2006, 8:45 pm 
Offline

Joined: December 11th, 2006, 4:54 pm
Posts: 5
I wonder if there´s a scrift for turbo left click om mousebutton 1 for example?
I there is a script for that a would like to know how i use it.?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2006, 11:32 pm 
Offline

Joined: September 3rd, 2006, 5:34 am
Posts: 601
Location: Iowa, U.S.
Wow yes there is. A ascript has been re-posted 5 times like that. Look back before posting

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 15th, 2006, 11:57 pm 
Offline

Joined: December 11th, 2006, 4:54 pm
Posts: 5
Sorry! Found one. But have do i use it? i looked at the Quick-start Tutorial i dont understand have do use the script, maybe someone can explain?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2006, 12:50 am 
Offline

Joined: September 3rd, 2006, 5:34 am
Posts: 601
Location: Iowa, U.S.
No comment.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2006, 5:51 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
If you didn't find your answer in the Tutorial, maybe you'll find it somewhere else in the documentation. If you only need to know how to run a script, all you do is double-click it and it should show up in the tray (if you have AutoHotkey installed, of course).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2006, 9:15 am 
Offline

Joined: December 11th, 2006, 3:24 pm
Posts: 2
Rogo wrote:
@ goofy, try $MButton, its in the help file under keylist


No, can`t get it to work with that


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2006, 10:07 am 
Offline

Joined: October 14th, 2006, 8:46 am
Posts: 18
vac wrote:
Sorry! Found one. But have do i use it? i looked at the Quick-start Tutorial i dont understand have do use the script, maybe someone can explain?


Here...

1. Download and install the Autohotkey software.
2. Right click on desktop
3. Choose: New > Autohotkey Script, call it autofire.
4. Right click and edit the autofire you just created.
5. Copy & then paste the code below into autofire.
6. Double click on autofire to run the script.*
7. Run your game.
8. Enjoy.
* Press Shift key AND right mouse button to quit the script
Code:
;;;;;;
;; Autofire + Aim Correction
;;;;;;
;;
;; Pressing the left mouse button causes an "automatic fire effect"
;; to happen by sending mouse up/down events at regular intervals
;; Also, correction to recoil deviation is done during that interval by
;; lowering the gun a bit.
;;
;; This is good for semi-automatic guns, i.e. pistols and M16.
;;
;; Works well with automatic guns too.  Play with the intervals for
;; holding down fire while on a machine gun to prevent overheating.
;;
;; Usage:
;;    - In game, press left mouse button for automatic fire
;;    - Press Shift key AND left mouse button to enable/disable automatic fire
;;    - Press Shift key AND right mouse button to quit the script
;;;;;;

#NoEnv
SendMode Input

_auto := true

~LButton::autofire()
+LButton::_auto := ! _auto
+RButton::ExitApp

autofire()
{
  global _auto
  if _auto
  {
    Loop
    {
      if GetKeyState("LButton", "P")
      {
        SendInput {LButton DownTemp}
        Sleep 85
        mouseXY(0, 6)
        SendInput {LButton Up}
        Sleep 45
      }
      else
        break
    } ;; loop
  } ;; if
} ;; autofire()

mouseXY(x,y)
{
    DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}

;;;;;;
;;; End script
;;;;;;


Cheers


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2006, 10:53 am 
Offline

Joined: October 14th, 2006, 8:46 am
Posts: 18
John W Booth wrote:
which file should i edit to do this is all I need to know?
Lil help plz
can figure out da rest


Have a look at this post.

Should give you an idea.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: multi key toggle for bf2
PostPosted: December 16th, 2006, 8:41 pm 
Offline

Joined: August 31st, 2006, 1:37 pm
Posts: 24
Hi Guys.
Just a little help needed. I want to be able to toggle through the seats in a jeep, apc etc, using just one key (k). I have this code here but it is not working.

sequence = f1f2f3
seatswitch := 1

$k::
StringMid tool, sequence, %seatswitch%, 1
Send %tool%
seatswitch++
If (seatswitch > StrLen(sequence))
seatswitch := 1
Return

Any idea why it is not working?
Thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 16th, 2006, 8:43 pm 
Offline

Joined: August 31st, 2006, 1:37 pm
Posts: 24
Goofy wrote:
I got this macro to work on the LButton but i want it to work when i press down the mouse weel button so i can use LButton as ordinary trigger.
I have to change the first row but i dont know to what.


$LButton::
; Pistol - 9
; G36E (burst fire) - 6
; G36E (single shot) - 4

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



Change any reference from LButton to Mbutton.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1913 posts ]  Go to page Previous  1 ... 38, 39, 40, 41, 42, 43, 44 ... 128  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 11 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