ACE3/addons/missileguidance/XEH_postInit.sqf

41 lines
1.5 KiB
Plaintext
Raw Normal View History

2016-05-30 16:37:03 +00:00
#include "script_component.hpp"
2024-08-30 06:25:43 +00:00
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
2016-05-30 16:37:03 +00:00
[QGVAR(handoff), LINKFUNC(handleHandoff)] call CBA_fnc_addEventHandler;
2024-08-30 06:12:55 +00:00
["ACE3 Weapons", QGVAR(cycleFireMode), LLSTRING(CycleFireMode), {
2024-08-30 06:25:43 +00:00
[] call FUNC(cycleAttackProfileKeyDown)
2021-05-08 08:49:07 +00:00
}, {
},
2024-08-30 06:25:43 +00:00
[DIK_TAB, [false, true, false]], false] call CBA_fnc_addKeybind; //Ctrl+Tab Key
2024-05-28 02:47:18 +00:00
// Each MCLOS argument is the vector which acceleration will be applied
2024-08-30 06:12:55 +00:00
["ACE3 Weapons", QGVAR(mclosUp), LLSTRING(mclosUp), {
2024-08-30 06:25:43 +00:00
[[0, 0, 1], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
}, {
2024-08-30 06:25:43 +00:00
[[0, 0, -1], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
},
2024-08-30 06:25:43 +00:00
[DIK_NUMPAD8, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 8
2024-08-30 06:12:55 +00:00
["ACE3 Weapons", QGVAR(mclosDown), LLSTRING(mclosDown), {
2024-08-30 06:25:43 +00:00
[[0, 0, -1], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
}, {
2024-08-30 06:25:43 +00:00
[[0, 0, 1], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
},
2024-08-30 06:25:43 +00:00
[DIK_NUMPAD2, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 2
2024-05-28 02:47:18 +00:00
2024-08-30 06:12:55 +00:00
["ACE3 Weapons", QGVAR(mclosLeft), LLSTRING(mclosLeft), {
2024-08-30 06:25:43 +00:00
[[1, 0, 0], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
}, {
2024-08-30 06:25:43 +00:00
[[-1, 0, 0], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
},
2024-08-30 06:25:43 +00:00
[DIK_NUMPAD6, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 6
2024-05-28 02:47:18 +00:00
2024-08-30 06:12:55 +00:00
["ACE3 Weapons", QGVAR(mclosRight), LLSTRING(mclosRight), {
2024-08-30 06:25:43 +00:00
[[-1, 0, 0], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
}, {
2024-08-30 06:25:43 +00:00
[[1, 0, 0], ACE_player] call FUNC(mclosButtonPressed)
2024-05-28 02:47:18 +00:00
},
2024-08-30 06:25:43 +00:00
[DIK_NUMPAD4, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 4