Skip to content

Commit 6db18ca

Browse files
authored
0.7.5.1 hotfix (#501)
* replace leftover vxf * check for old framework * Update script_version.hpp * Update CHANGELOG.md
1 parent e305472 commit 6db18ca

4 files changed

Lines changed: 27 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
**0.7.5.1**
2+
3+
- Fixed: MFD interactions using old framework variable
4+
15
**0.7.5**
26

37
- Added: Slewable Landing light and Search light, controls via keybind and interaction on collective

addons/main/XEH_postInit.sqf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@
66
[vehicle ACE_player] call vtx_uh60_ui_fnc_setKeybindText;
77
[vehicle ACE_player, vtx_uh60_ui_helpEnabled] call vtx_uh60_ui_fnc_showHelp;
88
}, true] call CBA_fnc_addPlayerEventHandler;
9+
10+
// Framework vxf to hct check
11+
if (isClass (configFile >> "CfgPatches" >> "vxf_core")) then {
12+
diag_log "vxf_core should not be loaded. Please remove old Hatchet Interaction Framework (vxf) and update to new version (hct)";
13+
};

addons/main/script_version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#define MAJOR 0
22
#define MINOR 7
33
#define PATCHLVL 5
4-
#define BUILD 0
4+
#define BUILD 1
55
#define RELEASENAME HATCHET-ARMA-2.20
66
#define BRANCH MAIN
77
#define BUILDHASH ea0e3438

addons/uh60_mfd/config/interaction.hpp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,22 @@ class eicas {
6868
class tac {
6969
condition = MAINPAGE(MFD_PAGE_INDEX,MFD_PAGE_TAC);
7070
MFD_BTN(MFD_15,QUOTE(FLIR)) buttonUp= QUOTE([ARR_4((_this select 0), MFD_PAGE_INDEX, MFD_PAGE_FLIR, true)] call vtx_uh60_mfd_fnc_switchPage); };
71-
MFD_BTN(MFD_4,QUOTE(Center mode)) buttonUp=QUOTE([ARR_2(vxf_vehicle,USERMFDV_TAC_CENTER)] call vtx_uh60_mfd_fnc_cycleUserMFDValue;); };
72-
MFD_BTN(MFD_20,QUOTE(Zoom out)) buttonUp="[vxf_vehicle,'zoom', -1] call vtx_uh60_mfd_fnc_interaction_tac;"; };
73-
MFD_BTN(MFD_21,QUOTE(Zoom in)) buttonUp="[vxf_vehicle,'zoom', 1] call vtx_uh60_mfd_fnc_interaction_tac;"; };
74-
// MFD_BTN(MFD_24,QUOTE(Orientation)) buttonUp="[vxf_vehicle,55] call vtx_uh60_mfd_fnc_cycleUserMFDValue;"; };
71+
MFD_BTN(MFD_4,QUOTE(Center mode)) buttonUp=QUOTE([ARR_2(hct_vehicle,USERMFDV_TAC_CENTER)] call vtx_uh60_mfd_fnc_cycleUserMFDValue;); };
72+
MFD_BTN(MFD_20,QUOTE(Zoom out)) buttonUp="[hct_vehicle,'zoom', -1] call vtx_uh60_mfd_fnc_interaction_tac;"; };
73+
MFD_BTN(MFD_21,QUOTE(Zoom in)) buttonUp="[hct_vehicle,'zoom', 1] call vtx_uh60_mfd_fnc_interaction_tac;"; };
74+
// MFD_BTN(MFD_24,QUOTE(Orientation)) buttonUp="[hct_vehicle,55] call vtx_uh60_mfd_fnc_cycleUserMFDValue;"; };
7575
class mainPage {
7676
condition = USERVAL_EQ(MFD_PAGE_INDEX,MFD_PAGE_TAC);
7777
class RegularRightPanel {
7878
condition = USERVAL_EQ(USERMFDV_CAS,0);
7979
MFD_BTN(MFD_7,QUOTE(Map Mode))
8080
buttonUp= QUOTE([ARR_4((_this select 0), MFD_PAGE_INDEX, TAC_MODE_MAPCONF, true)] call vtx_uh60_mfd_fnc_switchPage);
8181
};
82-
MFD_BTN(MFD_11,QUOTE(Map movement)) buttonUp=QUOTE([ARR_2(vxf_vehicle,USERMFDV_TAC_MOVE)] call vtx_uh60_mfd_fnc_cycleUserMFDValue;); };
82+
MFD_BTN(MFD_11,QUOTE(Map movement)) buttonUp=QUOTE([ARR_2(hct_vehicle,USERMFDV_TAC_MOVE)] call vtx_uh60_mfd_fnc_cycleUserMFDValue;); };
8383
};
8484
class CASOverlayOpen {
8585
condition = USERVAL_GT(USERMFDV_CAS,0);
86-
MFD_BTN(MFD_9,QUOTE(Hide CAS Display)) buttonUp="[vxf_vehicle,'false', true] call vtx_uh60_cas_fnc_updateOverlayList;"; };
86+
MFD_BTN(MFD_9,QUOTE(Hide CAS Display)) buttonUp="[hct_vehicle,'false', true] call vtx_uh60_cas_fnc_updateOverlayList;"; };
8787
};
8888
};
8989
@@ -109,15 +109,15 @@ class tac {
109109
110110
class jvmf {
111111
condition= USERVAL_EQ(MFD_PAGE_INDEX,MFD_PAGE_JVMF);
112-
MFD_BTN(MFD_20,QUOTE(Del Message)) buttonUp="[vxf_vehicle] call vtx_uh60_jvmf_fnc_deleteMessage;"; };
112+
MFD_BTN(MFD_20,QUOTE(Del Message)) buttonUp="[hct_vehicle] call vtx_uh60_jvmf_fnc_deleteMessage;"; };
113113
MFD_BTN(MFD_24,QUOTE(New message)) buttonUp="createDialog 'vtx_uh60_jvmf_writeDialog';"; };
114-
MFD_BTN(MFD_23,QUOTE(Prev MSG)) buttonUp="[vxf_vehicle,'cycle', -1] call vtx_uh60_jvmf_fnc_mfdInteraction;"; };
115-
MFD_BTN(MFD_22,QUOTE(Next MSG)) buttonUp="[vxf_vehicle,'cycle', 1] call vtx_uh60_jvmf_fnc_mfdInteraction;"; };
116-
MFD_BTN(MFD_21,QUOTE(Sel Waypt)) buttonUp="[vxf_vehicle,'waypt'] call vtx_uh60_jvmf_fnc_mfdInteraction;"; };
117-
MFD_BTN(MFD_3,QUOTE(ACK)) buttonUp="[vxf_vehicle, 'ACK'] call vtx_uh60_jvmf_fnc_reply"; };
118-
MFD_BTN(MFD_4,QUOTE(WILCO)) buttonUp="[vxf_vehicle, 'WILCO'] call vtx_uh60_jvmf_fnc_reply"; };
119-
MFD_BTN(MFD_5,QUOTE(HAVECO)) buttonUp="[vxf_vehicle, 'HAVECO'] call vtx_uh60_jvmf_fnc_reply"; };
120-
MFD_BTN(MFD_6,QUOTE(CANTCO)) buttonUp="[vxf_vehicle, 'CANTCO'] call vtx_uh60_jvmf_fnc_reply"; };
114+
MFD_BTN(MFD_23,QUOTE(Prev MSG)) buttonUp="[hct_vehicle,'cycle', -1] call vtx_uh60_jvmf_fnc_mfdInteraction;"; };
115+
MFD_BTN(MFD_22,QUOTE(Next MSG)) buttonUp="[hct_vehicle,'cycle', 1] call vtx_uh60_jvmf_fnc_mfdInteraction;"; };
116+
MFD_BTN(MFD_21,QUOTE(Sel Waypt)) buttonUp="[hct_vehicle,'waypt'] call vtx_uh60_jvmf_fnc_mfdInteraction;"; };
117+
MFD_BTN(MFD_3,QUOTE(ACK)) buttonUp="[hct_vehicle, 'ACK'] call vtx_uh60_jvmf_fnc_reply"; };
118+
MFD_BTN(MFD_4,QUOTE(WILCO)) buttonUp="[hct_vehicle, 'WILCO'] call vtx_uh60_jvmf_fnc_reply"; };
119+
MFD_BTN(MFD_5,QUOTE(HAVECO)) buttonUp="[hct_vehicle, 'HAVECO'] call vtx_uh60_jvmf_fnc_reply"; };
120+
MFD_BTN(MFD_6,QUOTE(CANTCO)) buttonUp="[hct_vehicle, 'CANTCO'] call vtx_uh60_jvmf_fnc_reply"; };
121121
MFD_BTN(MFD_15,QUOTE(IVHMS)) buttonUp= QUOTE([ARR_4((_this select 0), MFD_PAGE_INDEX, MFD_PAGE_IVHMS, true)] call vtx_uh60_mfd_fnc_switchPage); };
122122
};
123123
@@ -225,12 +225,12 @@ class nd {
225225
226226
class RegularRightPanel {
227227
condition= USERVAL_EQ(USERMFDV_CAS,0);
228-
MFD_BTN(MFD_9,QUOTE(Next Waypoint)) buttonUp="[vxf_vehicle,""cycle"", 1] call vtx_uh60_fms_fnc_interaction_waypoint;"; };
229-
MFD_BTN(MFD_10,QUOTE(Previous Waypoint)) buttonUp="[vxf_vehicle,""cycle"", -1] call vtx_uh60_fms_fnc_interaction_waypoint;"; };
228+
MFD_BTN(MFD_9,QUOTE(Next Waypoint)) buttonUp="[hct_vehicle,""cycle"", 1] call vtx_uh60_fms_fnc_interaction_waypoint;"; };
229+
MFD_BTN(MFD_10,QUOTE(Previous Waypoint)) buttonUp="[hct_vehicle,""cycle"", -1] call vtx_uh60_fms_fnc_interaction_waypoint;"; };
230230
};
231231
class CASOverlayOpen {
232232
condition= USERVAL_GT(USERMFDV_CAS,0); // HELP TODO
233-
MFD_BTN(MFD_9,QUOTE(Hide CAS Display)) buttonUp="[vxf_vehicle,'false', true] call vtx_uh60_cas_fnc_updateOverlayList;"; };
233+
MFD_BTN(MFD_9,QUOTE(Hide CAS Display)) buttonUp="[hct_vehicle,'false', true] call vtx_uh60_cas_fnc_updateOverlayList;"; };
234234
};
235235
MFD_BTN(MFD_15,QUOTE(IVHMS)) buttonUp= QUOTE([ARR_4((_this select 0), MFD_PAGE_INDEX, MFD_PAGE_IVHMS, true)] call vtx_uh60_mfd_fnc_switchPage); };
236236
};

0 commit comments

Comments
 (0)