PDA

View Full Version : POV hat as a Mouse



MichaelCHProd
21st January 2004, 05:02 AM
After I posted this in another thread I tought someone else might be looking for it. I use it in BF 1942 but you could use it in any game that lets you use the mouse to look around.



SCRIPT

// Move the POV off center and change the mouse to absolute
IF( JS1.B25 OR JS1.B26 OR JS1.B27 OR JS1.B28 OR JS1.B29 OR JS1.B30 OR JS1.B31 OR JS1.B32 ) THEN
XRELATIVE = FALSE; //Makes the mouse X axis absolute
YRELATIVE = FALSE; //Makes the mouse Y axis absolute
ELSE
cms.a1 = 128; //Makes the mouse X axis stop
cms.a2 = 128; //Makes the mouse Y axis stop
ENDIF

//If the mouse is absolute then the POV will move it.
IF( NOT XRELATIVE ) THEN
IF( js1.b32 or js1.b25 or js1.b26 ) THEN
cms.a2 = 72;
ENDIF
IF( js1.b26 or js1.b27 or js1.b28 ) THEN
cms.a1 = 184;
ENDIF
IF( js1.b28 or js1.b29 or js1.b30 ) THEN
cms.a2 = 184;
ENDIF
IF( js1.b30 or js1.b31 or js1.b32 ) THEN
cms.a1 = 72;
ENDIF
ENDIF

ENDSCRIPT

Phantom II
9th February 2004, 06:16 AM
MichaelCHProd,

Please excuse my "NEWBIE" ignorance, but what do I do with the script you have provided? Copy and paste to....CM Editor I guess? Then what?

Please do not be afraid to insult my intelligence.

Thanks.

MichaelCHProd
9th February 2004, 06:59 PM
No sweat brother, God knows no one here is "All Knowing"... well ok Bob (http://home.att.net/~stickworks/) is but then he is not really human so it's all good. :D


Step 2
ftp://ftp.chproducts.com/pub/Postings/Step8.jpg



You can now save the map and then download it for game play. I hope this did not confuse you or take four hours to open the thread up. B)

Phantom II
9th February 2004, 09:18 PM
The thread was EASY to open and I printed it up too.

I guess the CM Editor demo shown here works for any script (minus the mouse part) I would find on this board? Is this how I would go about pasting/ using any particualr script I would be interested in?

BTW, how do you get/ make those pics of the Control Manager menu screens as shown above? They are a great visual tool! "A picture is worth a thousand words" as they say.

MichaelCHProd
9th February 2004, 10:12 PM
I guess the CM Editor demo shown here works for any script (minus the mouse part) I would find on this board? Is this how I would go about pasting/ using any particualr script I would be interested in?[/b]

Yep...easy huh ;)



BTW, how do you get/ make those pics of the Control Manager menu screens as shown above? [/b]

Take a screenshot with the PrintScreen Key and then do a quick paste and edit in Paint Shop Pro.

Krasnapolski
22nd February 2004, 10:53 AM
Oh Man ! ive spent 35 hours and most of my nerves to figure this out with 3rd party software.

You just became my personal hero :drunk:

MichaelCHProd
22nd February 2004, 10:57 PM
I aim to please. ;)

If you have any questions PLEASE post them. If I don't get it you can bet one of the Uber Scripters (Fever, Revvin, JNOV, etc.) around here sure will. :cheers:

You never know maybe even Bob Church will get you before we do. :D