Author Topic: GV Control with CH Pro-Throttle Mini-stick  (Read 570 times)

Offline Blagard

  • Nickel Member
  • ***
  • Posts: 731
GV Control with CH Pro-Throttle Mini-stick
« on: May 28, 2011, 09:28:11 PM »
I finally found a use for the CH mini-stick. Prior to the GV updates I had it as a mouse to move the curzer off screen, but don't need to anymore.

I set the the push/pull axis as a key press each way. So you can assign W and S to it (in the CH Control manager)
I then set the sideways axis as an analog axis and made it a CH Device 4 (in the CH Control manager)


In Aces High I mapped the GV mode 2 rudder axis to the new CH Device 4

That was it - Now I can drive a GV entirely from the Mini-stick. Forward, back, left and right.


As I also found a way to drive a GV entirely from the rudder pedals - I am just trying to see which suits me best. But if you have the throttle and no CH pedals (or a different make of pedals) this might be a useful option. If you want any more detail, just ask.
« Last Edit: May 28, 2011, 09:38:45 PM by Blagard »

Offline Ack-Ack

  • Radioactive Member
  • *******
  • Posts: 25260
      • FlameWarriors
Re: GV Control with CH Pro-Throttle Mini-stick
« Reply #1 on: May 29, 2011, 08:06:08 PM »
It's quite easy to use the mini-stick on the throttle to control GVs.  Just use a basic script that allows you to bind keys and that's all there is to it.

Here is the script that will allow you to program the WASD keys to your mini-stick.

Quote
// CMS Script File
//
//     Game Title: Aces High II
//     Written By: Ack-Ack
//           Date: 08/07/06
//
script

%define up [js2.a2 < 128 - 40]
%define down [js2.a2 > 128 + 40]
%define left [js2.a1 < 128 - 40]
%define right [js2.a1 > 128 + 40]


// %define up [msy < 128 - db]
// %define down [msy > 128 + db]
// %define left [msx < 128 - db]
// %define right [msx > 128 + db]

%define up_key cms.b1
%define upright_key cms.b2
%define right_key cms.b3
%define downright_key cms.b4
%define down_key cms.b5
%define downleft_key cms.b6
%define left_key cms.b7
%define upleft_key cms.b8

// Test for up
if (up and not left and not right) then
up_key = TRUE;
else
up_key = FALSE;
endif

// Test for up and right
if (up and right) then
upright_key = TRUE;
else
upright_key = FALSE;
endif

// Test for right
if (right and not up and not down) then
right_key = TRUE;
else
right_key = FALSE;
endif

// Test for down and right
if (down and right) then
downright_key = TRUE;
else
downright_key = FALSE;
endif

// Test for down
if (down and not left and not right) then
down_key = TRUE;
else
down_key = FALSE;
endif

// Test for down and left
if (down and left) then
downleft_key = TRUE;
else
downleft_key = FALSE;
endif

// Test for left
if (left and not up and not down) then
left_key = TRUE;
else
left_key = FALSE;
endif

// Test for up and left
if (up and left) then
upleft_key = TRUE;
else
upleft_key = FALSE;
endif


//

endScript

In Control Manager, click on the CMS Control tab and program the WASD commands in B1 through B8, tailoring to suite.

ack-ack
"If Jesus came back as an airplane, he would be a P-38." - WW2 P-38 pilot
Elite Top Aces +1 Mexican Official Squadron Song

Offline zack1234

  • Plutonium Member
  • *******
  • Posts: 13217
Re: GV Control with CH Pro-Throttle Mini-stick
« Reply #2 on: May 30, 2011, 04:27:57 AM »
Hurrah!

can this be cut and pasted in?
There are no pies stored in this plane overnight

                          
The GFC
Pipz lived in the Wilderness near Ontario

Offline Blagard

  • Nickel Member
  • ***
  • Posts: 731
Re: GV Control with CH Pro-Throttle Mini-stick
« Reply #3 on: May 30, 2011, 05:51:19 AM »
It's quite easy to use the mini-stick on the throttle to control GVs.  Just use a basic script that allows you to bind keys and that's all there is to it.
Here is the script that will allow you to program the WASD keys to your mini-stick.
In Control Manager, click on the CMS Control tab and program the WASD commands in B1 through B8, tailoring to suite.

ack-ack
That looks like a script to make it an eightway hat (you only need 4 for GV), great for views


You don't even need to write a scipt file for 4 way!
Just uncheck the dx mode for the axis. Set increment to 1 and  on inc / dec set S and W
Thats it!

You can do the same to the with A D or keep the axis for finer control.

It seems that not everyone is aware of the special function of 1 increment which makes the axis a keypress until released. And on a centred axis like the mini-stick that means you can set a  key for increased axis value and a key for decreased axis value. Why sciprt when the boxes are already there in CH Manager?

EDIT: Screen shots added:

« Last Edit: May 30, 2011, 07:56:48 AM by Blagard »

Offline Blagard

  • Nickel Member
  • ***
  • Posts: 731
Re: GV Control with CH Pro-Throttle Mini-stick
« Reply #4 on: May 30, 2011, 06:08:17 AM »
Hurrah!

can this be cut and pasted in?

RE: Ack Acks script file. Yes. Well copy and paste anyway!
« Last Edit: May 30, 2011, 08:39:10 AM by Blagard »

Offline Blagard

  • Nickel Member
  • ***
  • Posts: 731
Re: GV Control with CH Pro-Throttle Mini-stick
« Reply #5 on: May 30, 2011, 06:03:03 PM »
It's quite easy to use the mini-stick on the throttle to control GVs.  Just use a basic script that allows you to bind keys and that's all there is to it.

Here is the script that will allow you to program the WASD keys to your mini-stick.

In Control Manager, click on the CMS Control tab and program the WASD commands in B1 through B8, tailoring to suite.

ack-ack

There was a typo in that script - For CH Control Manager 4.2 - A space was required after the 40 in the following lines corrected as shown below

%define up [js2.a2 < 128 - 40 ]
%define down [js2.a2 > 128 + 40 ]
%define left [js2.a1 < 128 - 40 ]
%define right [js2.a1 > 128 + 40 ]