 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
AZA
Joined: 10 Mar 2008 Posts: 139 Location: USA
|
Posted: Fri Apr 18, 2008 10:43 am Post subject: Re: display frame rate when macro on |
|
|
| Arrrgh wrote: |
So let me get this straight your variable looks at the value fpstoggle and sees for example a 0 and replces it with a 1 then next time it runs it replaces 1 with 0
btw i tried your code it didnt work, for me the console key for me is `
excuse me for being a bit thick but i am an old git and i need to understand stuff b4 messing with it |
Yep you got the variable idea right. if your having a problem with the menu not opening i suggest changing the key, the ` key is the ~ key BTW, hold shift down to get the correct character. I also had this problem on my desktop i changed the key to RALT to fix the problem. Any non-standard key is good to use as long as its not one that repeats when you hold it down. e.g home, end, control ect. P.S. END is the other default key for the console, I would suggest using that.
You should sign up so you can PM with questions. _________________ Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706 |
|
| Back to top |
|
 |
Ray Guest
|
Posted: Fri May 02, 2008 1:52 pm Post subject: TV Cross Hair Change |
|
|
| Hello.. can some one please help me out with, or write me a macro or script that allows the cross hair to be black instead of off white when in tv missile mode in the chopper. It blends in with the tv missile screen and is hard to see sometimes. So I just need a way to make the cross hair a different color, sounds hard..but i would really appreciate it. thanks..this is for BF2 btw. |
|
| Back to top |
|
 |
dave1 Guest
|
Posted: Fri May 02, 2008 8:19 pm Post subject: |
|
|
| nobody is going to help you if you act like that |
|
| Back to top |
|
 |
Ray Guest
|
Posted: Sat May 03, 2008 7:46 am Post subject: |
|
|
| lol what are you talking about? Like I was rude or something. |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Sat May 03, 2008 8:20 am Post subject: |
|
|
i´m not an game expert, but
maybe you could use GDI to draw something on the screen when BF is active. try out if you can draw something with this script http://www.autohotkey.com/forum/topic7378.html. If it´s possible, than it will be no problem. |
|
| Back to top |
|
 |
Ray Guest
|
Posted: Wed May 07, 2008 2:48 am Post subject: |
|
|
| Well that would be possible, but this is a moving cross hair..so unless the drawing moved with it then it's no good. |
|
| Back to top |
|
 |
Ray Guest
|
Posted: Wed May 07, 2008 2:49 am Post subject: |
|
|
| And i did try that script and I can draw on the screen when in bf2 yes. |
|
| Back to top |
|
 |
Ken Guest
|
Posted: Tue May 13, 2008 11:06 am Post subject: |
|
|
| can someone make a script please that goes to prone with space and if you press it again it stands up using ctrl? |
|
| Back to top |
|
 |
FAke Guest
|
Posted: Wed May 14, 2008 5:37 pm Post subject: |
|
|
| Muzza.Wood wrote: | Hey diabolic
I would say you have to put in another TOGGLE. Just like F12 is doing. OR
I use 4 to switch to nades and the F to switch back to previous weapon. So 4 would toggle Hotkey off then F would turn it back on.
Have added what I think would work to your script but it is not tested.
| 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 'p' key to enable/disable automatic fire
;; - Press 'numlock' key to suspend the script
;;;;;;
#NoEnv
SendMode Input
Hotkey, ~LButton, on
~4::
Hotkey, ~LButton, off ;; ADDED
~F:: ;; Change to what ever key you use to change back to gun.
Hotkey, ~LButton, on ;; ADDED
~F12::
Hotkey, ~LButton, toggle
If toggle != 1
{
toggle := 1 ; Will beep once if it is set to on
SoundBeep
}
else
{
toggle := 0 ; Will beep twice if it is set to off
SoundBeep
SoundBeep
}
_auto := true
~LButton::autofire()
~^LButton::autofire()
Code:
numlock::suspend
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)
}
return
;;;;;;
;;; End script |
As for all the PB questions. Answer to all is
Auto Hotkey will not get you kicked/banned by PB!!!
Hope that helps.
./muzza |
Hmmm I used that script, but I never hear beep when I set it on and no beeps when set it off. I got Vista. Autofire did not works. No-recoil - did not works...Why? |
|
| Back to top |
|
 |
FAke Guest
|
Posted: Wed May 14, 2008 5:39 pm Post subject: |
|
|
Can someone give me no-recoil and autofire which works on Vista in BF2?
Thanks. |
|
| Back to top |
|
 |
AZA
Joined: 10 Mar 2008 Posts: 139 Location: USA
|
|
| Back to top |
|
 |
FAke Guest
|
|
| Back to top |
|
 |
sxrt Guest
|
Posted: Thu May 15, 2008 3:18 pm Post subject: |
|
|
| Ken wrote: | | can someone make a script please that goes to prone with space and if you press it again it stands up using ctrl? |
i need this script too..can someone please make one  |
|
| Back to top |
|
 |
Guest
|
Posted: Sat May 17, 2008 10:05 pm Post subject: |
|
|
| Where do u enter this stuff? |
|
| Back to top |
|
 |
FAke Guest
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|