View Full Version : MFP Green/Red Mode Selection by Script
rainhilf
8th March 2009, 03:47 PM
Is it possible, to select the MFP-Modes by programming-script, like it is possible for the normal modes 1-4 ?
When i need to switch quickly, it would be easier to use programmed buttons on my hotas, then to use these little two switches on the upper right corner of the MFP itself.
Thanks for any answers
Bob Church
8th March 2009, 09:57 PM
Hi rainhilf,
Not really. It's controlled by the hardware. The question was asked on this thread (http://www.ch-hangar.com/forum/showthread.php?p=38250) too. It might be some help.
Best regards,
- Bob
The StickWorks
http://www.stickworks.com
sobeach
8th March 2009, 10:36 PM
Hi Rainhilf
I think I asked the same question today and got the reply referred to by Bob. It will take a while to understand what he said. What about just using unshifted for green and shifted for red buttons so you get 50 buttons but only have to take your hands off the PT one time?
rainhilf
13th March 2009, 09:06 PM
Hi Bob, Hi Sobeach
Thank you for your answers,
Bob, i understand your explanation to sobeach, but i have the same intention
as he has to control left/right MFD in Falcon4.
So i need switching functionality nearly for the whole MFP.
Your solution means a lot of scripting, therefore you can use the LED`s.
I decided to use Mode1/Mode2 on the Fighterstick and programmed it to the POV on the Fighterstick.
My solution don`t uses the coloured LED`s, but i don`t really need them.
SEQUENCE
WAIT( JS1.B31 );
CURRENTMODE = 0; //Mode 1
ENDSEQUENCE
SEQUENCE
WAIT( JS1.B27 );
CURRENTMODE = 1; //Mode 2
ENDSEQUENCE
I programmed the MFP buttons only in Green Mode, and do not use the Red Mode,
the left MFD is programmed to Green-Mode1, the right MFD to Green-Mode 2,
Additionally I used some of the MFP Buttons for additional functionality in shifted Mode, regardless i am actually in Mode1 or Mode2.
Therefore i programmed the necessary key to the shifted function in both modes(Green-Mode1 and Green-Mode2.
So i have three independent modes on each MFP button, Mode1, Mode2 and
shifted(of course i could have used Mode3/Mode4 on the MFP, but i preferred SHIFTED Mode to save (switching-)buttons on the Fighterstick.
I think, only using the shifted function for the right MFD for example has the disadvantage, that the shifted button on the Fighterstick has to be pressed the whole time during the use of the right MFD.
For future versions of the MFP it would be really great to have a feature to switch Red/Green by script, but not essentially necessary.
Sobeach, if your are interested, i can send you my whole script.
It is not completely finished yet, but you could use it as a template for further programming
Regards
Rainer
Bob Church
13th March 2009, 10:46 PM
Hi RainHilf,
Glad to hear you found a workaround! WRT to holding the shift, you're right. If you're using the shift elsewhere, it's a problem but if not you could set a toggle with one button, send the toggled button to a CMS button, and then mark the CMS button as the SHIFT button, just tap it to swap modes, but that won't work if you need SHIFT elsewhere. I'll have to have a look to see if I can control Red/Green in software. I can't control the LEDs, but R/G may be a software thing, I can't actually recall the details on how I set that up. Maybe a "MFPREDMODE" and "MFPGREENMODE" variable could be set up.
Anyway, sounds like you're set! Thanks for posting!
Best regards,
- Bob
The StickWorks
http://www.stickworks.com
sobeach
14th March 2009, 02:53 AM
I think I understand what you did but I went the simple way and programed the MFP just in green mode and programed each button in unshifted and shifted. This gives me the left panel in unshifted mode and the right panel in shifted mode. I think this should work (but I have said that before and been wrong).
Are you programing for F4AF? I am looking at Gunny's profile and Ziggy's profile that I downloaded in the profile section and have not yet decided which one to use. When I finish an assignment I have for work next week I am going to give this more thought. What are you doing for your profile?
sobeach
14th March 2009, 02:56 AM
Hi RainHilf,
Go ahead and send me your script as that is the only way I am going to understand how to program the CH products.
thanks.
skuperstein@bsfllp.com
sobeach
14th March 2009, 04:14 PM
Hi RainHilf,
Here is my MPD for F4AF using the shift and unshifted key. It needs to be expanded about 20% for the keys to fit properly. It is based on Gunny's profile.
Sobeach
rainhilf
22nd March 2009, 10:34 PM
Hi Bob,
nice to hear, that you will do further investigation to the Green/Red -Mode
feature.
Perhaps, we will see changes in the future.
Despite these little problems, I think that it is a very good product, which greatly improves sim-experience.
===========================
Hi Sobeach,
I just sent you my profile.
Please keep in mind, that it is not completely finished yet, as i am still learning F4, and have to add several functions not implemented for now.
The MFP-layout is a 50- button layout, i mainly use it for MFD and ICP-functions.
I do not use Red-Mode functionality, instead i use the general Modes 1 + 2
and the shifted functions( if necessary)
The switching function for Modes 1 + 2 are programmed to the POV-Switch
on the Fighterstick.
Most of the other functions are programmed to the stick, throttle and pedals.
Hope it helps you to delevop and improve your own program-layout.
Regards
Rainer
Powered by vBulletin® Version 4.1.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.