DCS-Skunkworks / dcs-bios

Data export tool for DCS.
https://dcsbios.com/
GNU General Public License v3.0
281 stars 62 forks source link

Add 3 cover buttons that on the AH-64D Collective #914

Closed AmirLavi2 closed 1 month ago

AmirLavi2 commented 1 month ago

Version

Aircraft

AH-64D

Control

HOTAS_PLT

Description

i added this to the code, and it works. you can add something like that :

--Collective AH_64D:defineToggleSwitch("PLT_FLIGHT_CHOP_BTN_GUARD_CVR", 23, 3064, 558, "PLT Collective", "Pilot CHOP BTN Pushbutton Cover, OPEN/CLOSE") AH_64D:defineToggleSwitch("PLT_FLIGHT_EMERGENCY_JETTISON_SW_GUARD_CVR", 23, 3049, 549, "PLT Collective", "Pilot EMERGENCY JETTISON Pushbutton Cover, OPEN/CLOSE") AH_64D:defineToggleSwitch("PLT_FLIGHT_BUCS_TRIGGER_GUARD_CVR", 23, 3067, 561, "PLT Collective", "Pilot BUCS TRIGGER Pushbutton Cover, OPEN/CLOSE")

Screenshots

No response

Additional context

No response

AmirLavi2 commented 1 month ago

..with CPG:

--Collective AH_64D:defineToggleSwitch("PLT_FLIGHT_CHOP_BTN_GUARD_CVR", 23, 3064, 558, "PLT Collective", "Pilot CHOP BTN Pushbutton Cover, OPEN/CLOSE") AH_64D:defineToggleSwitch("CPG_FLIGHT_CHOP_BTN_GUARD_CVR", 24, 3064, 600, "CPG Collective", "Gunner CHOP BTN Pushbutton Cover, OPEN/CLOSE") AH_64D:defineToggleSwitch("PLT_FLIGHT_EMERGENCY_JETTISON_SW_GUARD_CVR", 23, 3049, 549, "PLT Collective", "Pilot EMERGENCY JETTISON Pushbutton Cover, OPEN/CLOSE") AH_64D:defineToggleSwitch("CPG_FLIGHT_EMERGENCY_JETTISON_SW_GUARD_CVR", 24, 3049, 591, "CPG Collective", "Gunner EMERGENCY JETTISON Pushbutton Cover, OPEN/CLOSE") AH_64D:defineToggleSwitch("PLT_FLIGHT_BUCS_TRIGGER_GUARD_CVR", 23, 3067, 561, "PLT Collective", "Pilot BUCS TRIGGER Pushbutton Cover, OPEN/CLOSE") AH_64D:defineToggleSwitch("CPG_FLIGHT_BUCS_TRIGGER_GUARD_CVR", 24, 3067, 603, "CPG Collective", "Gunner BUCS TRIGGER Pushbutton Cover, OPEN/CLOSE")

charliefoxtwo commented 1 month ago

Looks like a majority of the collective controls should be addable. The cyclic controls appear unlikely though (I know that wasn't mentioned in the feature request, just figured I'd document).