Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missileguidance - fix MCLOS direction error #10813

Merged
merged 4 commits into from
Mar 20, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions addons/missileguidance/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,34 @@
}, [DIK_TAB, [false, true, false]], false] call CBA_fnc_addKeybind; //Ctrl+Tab Key

// Each MCLOS argument is the vector which acceleration will be applied
["ACE3 Weapons", QGVAR(mclosUp), LLSTRING(mclosUp), {
["ACE3 Weapons", QGVAR(mclos_joystickUp), LLSTRING(mclosUp), {
[[0, 0, 1], ACE_player] call FUNC(MCLOS_buttonPressed)
}, {
[[0, 0, -1], ACE_player] call FUNC(MCLOS_buttonPressed)
},
[DIK_NUMPAD8, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 8

["ACE3 Weapons", QGVAR(mclosDown), LLSTRING(mclosDown), {
["ACE3 Weapons", QGVAR(mclos_joystickDown), LLSTRING(mclosDown), {
[[0, 0, -1], ACE_player] call FUNC(MCLOS_buttonPressed)
}, {
[[0, 0, 1], ACE_player] call FUNC(MCLOS_buttonPressed)
},
[DIK_NUMPAD2, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 2

["ACE3 Weapons", QGVAR(mclosLeft), LLSTRING(mclosLeft), {
[[1, 0, 0], ACE_player] call FUNC(MCLOS_buttonPressed)
}, {
[[-1, 0, 0], ACE_player] call FUNC(MCLOS_buttonPressed)
},
[DIK_NUMPAD6, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 6

["ACE3 Weapons", QGVAR(mclosRight), LLSTRING(mclosRight), {
["ACE3 Weapons", QGVAR(mclos_joystickLeft), LLSTRING(mclosLeft), {
[[-1, 0, 0], ACE_player] call FUNC(MCLOS_buttonPressed)
}, {
[[1, 0, 0], ACE_player] call FUNC(MCLOS_buttonPressed)
},
[DIK_NUMPAD4, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 4

["ACE3 Weapons", QGVAR(mclos_joystickRight), LLSTRING(mclosRight), {
[[1, 0, 0], ACE_player] call FUNC(MCLOS_buttonPressed)
}, {
[[-1, 0, 0], ACE_player] call FUNC(MCLOS_buttonPressed)
},
[DIK_NUMPAD6, [false, false, false]], false, 0] call CBA_fnc_addKeybind; // Numpad 6

if (!hasInterface) exitWith {};

["ace_settingsInitialized", {
Expand Down