Jump to content

Masc Skript For Ch Pro Pedals


No replies to this topic

#1 Jason Red Death

    Member

  • PipPip
  • Wrath
  • Wrath
  • 40 posts

Posted 20 June 2015 - 03:57 AM

I just created a small script to map MASC functions on the left and right break-pedal fully pressed. The idea is to use the sliding function of the pedals for throttle-control and the break-pedals for MASC. To avoid that MASC is activated unintentional this script only activates MASC if break-pedals are fully pressed.
You have to add CMS Controls to Control manager and the assumption is that the Pedals are the first device and Break pedals are not set as centered. Then you just have to map LALT to B1 and B2 (or to i to B1 and B2 and map the key i to MASC in MWO).
Hope you enjoy this skript as much as I do ....

script
// MWO: Map MASC to Left and Right Brake Pedal fully pressed
// assuming the Pro Pedals are Joystick 1 (JS1) if not adapt
// add CMS Controls to Control manager and map LALT to B1 and to B2
if ([JS1.a2 > 250]) Then
cms.b1 = true;
else
cms.b1 = false;
endif

if ([JS1.a1 > 250]) Then
cms.b2 = true;
else
cms.b2=false;
endif
endScript



PS: Sorry, forgot "script" and "endscript" when copying to posting. Now it should work

If you have questions, please let me know

Of course you can also use it to maybe map break to SPC for jump jets

Edited by Jason Red Death, 28 June 2015 - 01:48 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users