Jump to content
The simFlight Network Forums

TFDi MD11 - a lot of FSUIPC control sets don't work!


Recommended Posts

Posted

Many of the control sets in FSUIPC do not work!

For example, all of these don't work!

Landing_Light_Switch_Left_Up#OVHD_LTS_LDG_L_SW_RIGHT_BUTTON_DOWN#90258 (>L:CEVENT)

Landing_Light_Switch_Right_Down_#OVHD_LTS_LDG_R_SW_RIGHT_BUTTON_DOWN#90260 (>L:CEVENT)

Landing_Light_Switch_Right_Down__#OVHD_LTS_LDG_R_SW_Right_BUTTON_DOWN#90259 (>L:CEVENT)

Landing_Lights_Left_Switch_Down__#OVHD_LTS_LDG_L_SW_LEFT_BUTTON_DOWN#90257 (>L:CEVENT)

Left_Runway_Turnoff_Light_Button_Press_#OVHD_LTS_RWY_TURNOFF_L_BT_LEFT_BUTTON_DOWN#90263 (>L:CEVENT)

Left_Runway_Turnoff_Light_Button_Release#OVHD_LTS_RWY_TURNOFF_L_BT_LEFT_BUTTON_UP#90264 (>L:CEVENT)

Nose_Gear_Light_Switch_Down#OVHD_LTS_NOSE_SW_RIGHT_BUTTON_DOWN#90262 (>L:CEVENT)

Nose_Gear_Light_Switch_Up#OVHD_LTS_NOSE_SW_LEFT_BUTTON_DOWN#90261 (>L:CEVENT)

Posted

This is because they are using custom control numbers above 84232. which is the maximum that is mapped (and can therefore be used) by default. To allow for higher numbers, you need to set the following ini parameter in the [General] section of your FSUIPC7.ini file:
    MaxCustomControlNumber=96323

Your FSUIPC7.log file will tell you what numbers are mapped and can therefore be used:

Quote

    35468 Mapping custom control numbers 69632 - 96323 (maximum defined by ini parameter MaxCustomControlNumber, defaults to 84232 when not present)

John

Posted
10 hours ago, SMN204 said:

And this...?

OBS_CKTBKR_LT_KB_WHEEL_UP 98304
OBS_CKTBKR_LT_KB_WHEEL_DOWN 98305

Isn't it obvious? 98304 and 98305 are more than the MaxCustomControlNumber set as 96323. Set that parameter the the maximum custom control number that you are using.

 

Posted

Sorry - I think I got this wrong...

On 11/16/2024 at 9:46 PM, SMN204 said:

Landing_Light_Switch_Left_Up#OVHD_LTS_LDG_L_SW_RIGHT_BUTTON_DOWN#90258 (>L:CEVENT)

Landing_Light_Switch_Right_Down_#OVHD_LTS_LDG_R_SW_RIGHT_BUTTON_DOWN#90260 (>L:CEVENT)

Landing_Light_Switch_Right_Down__#OVHD_LTS_LDG_R_SW_Right_BUTTON_DOWN#90259 (>L:CEVENT)

Landing_Lights_Left_Switch_Down__#OVHD_LTS_LDG_L_SW_LEFT_BUTTON_DOWN#90257 (>L:CEVENT)

Left_Runway_Turnoff_Light_Button_Press_#OVHD_LTS_RWY_TURNOFF_L_BT_LEFT_BUTTON_DOWN#90263 (>L:CEVENT)

Left_Runway_Turnoff_Light_Button_Release#OVHD_LTS_RWY_TURNOFF_L_BT_LEFT_BUTTON_UP#90264 (>L:CEVENT)

Nose_Gear_Light_Switch_Down#OVHD_LTS_NOSE_SW_RIGHT_BUTTON_DOWN#90262 (>L:CEVENT)

Nose_Gear_Light_Switch_Up#OVHD_LTS_NOSE_SW_LEFT_BUTTON_DOWN#90261 (>L:CEVENT)

 Custom control numbers are those used in assignments when selecting the "<Custom Control>" entry in the FSUIPC assignments drop-downs.

Those presets are incorrectly specified, and looks like the description was mistakenly used as the preset name.  e,g, the preset Landing_Light_Switch_Left_Up uses "OVHD_LTS_LDG_L_SW_RIGHT_BUTTON_DOWN#90258 (>L:CEVENT)" which is actually the preset definition, not the calc code. I think these have been added incorrectly, and should be:

Quote

OVHD_LTS_LDG_L_SW_RIGHT_BUTTON_DOWN#90258 (>L:CEVENT)
OVHD_LTS_LDG_R_SW_RIGHT_BUTTON_DOWN#90260 (>L:CEVENT)
OVHD_LTS_LDG_R_SW_Right_BUTTON_DOWN#90259 (>L:CEVENT)
OVHD_LTS_LDG_L_SW_LEFT_BUTTON_DOWN#90257 (>L:CEVENT)
OVHD_LTS_RWY_TURNOFF_L_BT_LEFT_BUTTON_DOWN#90263 (>L:CEVENT)
OVHD_LTS_RWY_TURNOFF_L_BT_LEFT_BUTTON_UP#90264 (>L:CEVENT)
OVHD_LTS_NOSE_SW_RIGHT_BUTTON_DOWN#90262 (>L:CEVENT)
OVHD_LTS_NOSE_SW_LEFT_BUTTON_DOWN#90261 (>L:CEVENT)

 

John

Posted
3 hours ago, John Dowson said:

I think these have been added incorrectly, and should be:

Yes!

In event.txt c hubhop many assignments are incorrectly specified .
I did roughly like this in myevents.txt and it works!

LDG_LT_L_Down#90258 (>L:CEVENT)
LDG_LT_L_Up#90257 (>L:CEVENT)
LDG_LT_R_Down#90260 (>L:CEVENT)
LDG_LT_R_R_Up#90259 (>L:CEVENT)

 

Posted
1 minute ago, SMN204 said:

In event.txt c hubhop many assignments are incorrectly specified .
I did roughly like this in myevents.txt and it works!

LDG_LT_L_Down#90258 (>L:CEVENT)
LDG_LT_L_Up#90257 (>L:CEVENT)
LDG_LT_R_Down#90260 (>L:CEVENT)
LDG_LT_R_R_Up#90259 (>L:CEVENT)

Yes - you should update these in HubHop, or at least report as erroneous,

Posted

One more question.
The “Master Cautuon” from my “myevents.txt” is assigned to button A25
Master_Caution_Press#86110 (>L:CEVENT)
Master_Caution_Depress#86111 (>L:CEVENT)
When assigned, everything works fine.
But after a while it stops working!
In the log instead of the code:
86110 (>L:CEVENT)
I see this code:
2 (>L:var_masterCautionLatching).
So that's why it stops working.
I assign it again - it works and then “86110 (>L:CEVENT)” is replaced
automatically to “2 (>L:var_masterCautionLatching)”  I see this in FSUIPC7.log

  2017265 Button changed: bRef=0, Joy=1 (A), Btn=25, Pressed
  2017265 [Buttons.TFDi Design MD-11F GE CF6-80c] 157=PA,25,CPMaster_Caution_Press,0
  2017265  [DEBUG]: Calculator code sent: 2 (>L:var_masterCautionLatching)
  2017468 Button changed: bRef=0, Joy=1 (A), Btn=25, Released
  2017468 [Buttons.TFDi Design MD-11F GE CF6-80c] 158=UA,25,CPMaster_Caution_Depress,0
  2017468  [DEBUG]: Calculator code sent: 86111 (>L:CEVENT)

Master Caution.png

Posted

This is because you are using a preset name already defined in the events.txt file:

Quote

//Black Square/Duke/Warning
Master_Caution_Press#2 (>L:var_masterCautionLatching)
Master_Warning_Press#2 (>L:var_masterWarningLatching)

Please give your presets a unique name. As most presets are aircraft dependent, its a good idea to prefix the preset name with the aircraft name, e.g.

TFDi_MD11_Master_Caution_Press#86110 (>L:CEVENT)
TFDi_MD11_Master_Caution_Depress#86111 (>L:CEVENT)

I should maybe add a check to make sure the name is unique when loading the presets...

John

Posted

 

2 hours ago, John Dowson said:

This is because you are using a preset name already defined in the events.txt file

Oh, that's the reason !!!
 

 

2 hours ago, John Dowson said:

I should maybe add a check to make sure the name is unique when loading the presets...

👍

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.