Jump to content

Recommended Posts

Posted (edited)

Hello all.

 

Some of you know i am creating a mi-8 helios profile, and that force me to create all the key commands needed for all the switches and buttons of the cockpit, even the undefined yet.

 

Doing that, and revising the keyboard/default.lua and clickabledata.lua, i found several errors and duplicity of some commands. I am going to prepare a list of those in a different thread.

 

Another thing i found is the imposibility to assign key command to the breakers switches from the number 75. I made a picture to show you wich ones dont work when i assign a key:

 

E3Xce0Q.jpg

 

The green ones works perfect, i just asign a new key combinations on the keyboard/default.lua and the keys work on the game and active the switch on the cockpit, but the red ones ( from number 75) dont move. it seems they dont have any input from keyboard. Any ideas about that?

Edited by Capt Zeen
Posted (edited)

Hi Capt Zeen,

 

Thank you for your helios profiles.

 

Please put the fallowing lines in your "default.lua" keyboard and joystick and you will have the group 5(cb 73 thru 78 in your image) cb switches working. You can generalize for the rest of non-working cb.

 

 

{down = cb_start_cmd + 42, up = cb_start_cmd + 42, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, value_up = 0, name = "CB Fuelmeter SWITCH#", category = "#Electrical Systems"},

{down = cb_start_cmd + 42, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, name = "CB Fuelmeter ON#", category = "#Electrical Systems"},

{down = cb_start_cmd + 42, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 0, name = "CB Fuelmeter OFF#", category = "#Electrical Systems"},

 

{down = cb_start_cmd + 43, up = cb_start_cmd + 43, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, value_up = 0, name = "CB Center tank SWITCH#", category = "#Electrical Systems"},

{down = cb_start_cmd + 43, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, name = "CB Center tank ON#", category = "#Electrical Systems"},

{down = cb_start_cmd + 43, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 0, name = "CB Center tank OFF#", category = "#Electrical Systems"},

 

{down = cb_start_cmd + 44, up = cb_start_cmd + 44, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, value_up = 0, name = "CB Left pump SWITCH#", category = "#Electrical Systems"},

{down = cb_start_cmd + 44, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, name = "CB Left pump ON#", category = "#Electrical Systems"},

{down = cb_start_cmd + 44, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 0, name = "CB Left pump OFF#", category = "#Electrical Systems"},

 

{down = cb_start_cmd + 45, up = cb_start_cmd + 45, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, value_up = 0, name = "CB Right pump SWITCH#", category = "#Electrical Systems"},

{down = cb_start_cmd + 45, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, name = "CB Right pump ON#", category = "#Electrical Systems"},

{down = cb_start_cmd + 45, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 0, name = "CB Right pump OFF#", category = "#Electrical Systems"},

 

{down = cb_start_cmd + 46, up = cb_start_cmd + 46, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, value_up = 0, name = "CB T-819 SWITCH#", category = "#Electrical Systems"},

{down = cb_start_cmd + 46, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, name = "CB T-819 ON#", category = "#Electrical Systems"},

{down = cb_start_cmd + 46, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 0, name = "CB T-819 OFF#", category = "#Electrical Systems"},

 

{down = cb_start_cmd + 47, up = cb_start_cmd + 47, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, value_up = 0, name = "CB SPUU-52 SWITCH#", category = "#Electrical Systems"},

{down = cb_start_cmd + 47, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 1, name = "CB SPUU-52 ON#", category = "#Electrical Systems"},

{down = cb_start_cmd + 47, cockpit_device_id = devices.ELEC_INTERFACE, value_down = 0, name = "CB SPUU-52 OFF#", category = "#Electrical Systems"},

Edited by MyG
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...