Working Crouch Toggle Script

General discussion of the Project Reality: BF2 modification.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Working Crouch Toggle Script

Post by Mats391 »

Westr7 wrote:The questions are: does it work in 1.0?
Does punkbuster go nuts?
Do admins allow it?

Thanks.
Yes
No
Yes, atleast i never encountered anyone that cared :D
Image

Mineral: TIL that Wire-guided missiles actually use wire
Ushiri
Posts: 63
Joined: 2008-01-04 14:59

Re: Working Crouch Toggle Script

Post by Ushiri »

smgunsftw wrote:After hours of searching, I've finally found a working crouch-toggle key for Project Reality and BF2. This should help others who suffer fatigue in their fingers due to holding down the crouch key for an extended period of time. Note that this script also works for all other games and applications.

This is something I really gets into next version of PR, I wanted this for so looong. it?s so sweird that it hasnt been implented allready so I made a suggestion for next version of PR about it before I saw this thread. It seems that it must have been a design choose not to implement it...but I dont know.
Celestial1
Posts: 1124
Joined: 2007-08-07 19:14

Re: Working Crouch Toggle Script

Post by Celestial1 »

Ushiri wrote:This is something I really gets into next version of PR, I wanted this for so looong. it?s so sweird that it hasnt been implented allready so I made a suggestion for next version of PR about it before I saw this thread. It seems that it must have been a design choose not to implement it...but I dont know.
It's hacky and not particularly customizable.
Westr7
Posts: 5
Joined: 2013-08-20 03:23

Re: Working Crouch Toggle Script

Post by Westr7 »

Mats391 wrote:Yes
No
Yes, atleast i never encountered anyone that cared :D
Thanks Mats. I'm going to redo my keys first and try that and if that doesn't work, I'll try the autoscript. Thanks.
smgunsftw
Posts: 242
Joined: 2012-10-26 21:43

Re: Working Crouch Toggle Script

Post by smgunsftw »

I know this sounds weird and ironic, but I'm having troubles using the script in 1.0. Works like a charm in vBF2 and all other BF2 mods though. The script had worked fine in 0.98, but is no longer working for me in 1.0. Were there any changers to punkbuster or the PRLauncher that might have caused this error?
LeMe
Posts: 43
Joined: 2013-10-24 09:58

Re: Working Crouch Toggle Script

Post by LeMe »

Can you use it on 1.1.6?
Does punkbuster go crazy?
Do admins get angry?
Is it safe?
tom_echo
Posts: 23
Joined: 2013-03-30 07:01

Re: Working Crouch Toggle Script

Post by tom_echo »

I just use a keyboard macro. Works just fine.
JohnnyPissoff
Posts: 1358
Joined: 2006-07-26 14:06

Re: Working Crouch Toggle Script

Post by JohnnyPissoff »

Well after all isn't the finger fatigue a perfect simulation of thigh fatigue in "reality"? Unless of course you're strong legged like some lumber jack...or in relation to finger use in PR; a guitar player that uses his "pinky" finger as in 7th, 9th, and Augmented Chords? I mean I can keep in the crouch finger position almost indefinitely thanks to stylizing Jimi Hendrix chords in my youth....dig?
Cassius
Posts: 3958
Joined: 2008-04-14 17:37

Re: Working Crouch Toggle Script

Post by Cassius »

Fatigue in their fingers?
|TG|cap_Kilgore
Image
Brainlaag
Posts: 3923
Joined: 2009-09-20 12:36

Re: Working Crouch Toggle Script

Post by Brainlaag »

Cassius wrote:Fatigue in their fingers?
It's annoying to hold down buttons for extended periods of time, I tend to toggle all my keys if possible.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Working Crouch Toggle Script

Post by LITOralis.nMd »

So, this script now only works outside of PR.
IF I alt tab to desktop and press control, it works.
IF I alt tab back into PR, it doesn't work.

WTF?
Cid
Posts: 18
Joined: 2007-10-15 11:22

Re: Working Crouch Toggle Script

Post by Cid »

Up of the topic
[R-COM]LITOralis.nMd wrote:So, this script now only works outside of PR.
IF I alt tab to desktop and press control, it works.
IF I alt tab back into PR, it doesn't work.

WTF?
Is any one of you able to use Autohotkey in PR?
My scripts work everywhere, but in PR
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Working Crouch Toggle Script

Post by Mats391 »

Cid wrote:Up of the topic



Is any one of you able to use Autohotkey in PR?
My scripts work everywhere, but in PR
The AHK scripts i use only work in PR and nowhere else and it is intended to be that way :)
What scripts are you trying to use?
Cid
Posts: 18
Joined: 2007-10-15 11:22

Re: Working Crouch Toggle Script

Post by Cid »

I was doing tests to map macros and duplicate keys on joystick, and, seeing that it didn't worked at all, I tried something simple, to check if I could use AHK in PR, like remapping left click on the key u :

Code: Select all

u::
Send {LButton}
return
-yes, I've reloaded the script to test it
-no, it's not the first time I use AHK

I got click inputs on windows, but I got 'u' inputs in PR (tested in console)

EDIT :
The AHK scripts i use only work in PR and nowhere else and it is intended to be that way
Should I set the PR specific parts to the PR process?
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Working Crouch Toggle Script

Post by Mats391 »

Cid wrote:I was doing tests to map macros and duplicate keys on joystick, and, seeing that it didn't worked at all, I tried something simple, to check if I could use AHK in PR, like remapping left click on the key u :

Code: Select all

u::
Send {LButton}
return
-yes, I've reloaded the script to test it
-no, it's not the first time I use AHK

I got click inputs on windows, but I got 'u' inputs in PR (tested in console)

EDIT :

Should I set the PR specific parts to the PR process?
Overwriting keys does not work from what i remember. You could experiment with different input modes. For mapping joystick buttons overwriting shouldnt be needed either.
I have the script suspend itself when PR is not active.
Cid
Posts: 18
Joined: 2007-10-15 11:22

Re: Working Crouch Toggle Script

Post by Cid »

For mapping joystick buttons overwriting shouldnt be needed either.
2 reasons for me. First to duplicate the mumble key for squad leaders channel on joystick (can't set an alt key for it in pr mumble setting) and second, to create a "spot" key on the joystick, for ennemy aircrafts (q down - click - q up)
Cid
Posts: 18
Joined: 2007-10-15 11:22

Re: Working Crouch Toggle Script

Post by Cid »

Found another way for it, using directly a profile manager software for my joystick :)
Post Reply

Return to “PR:BF2 General Discussion”