Skip to content

Commit d729ff7

Browse files
committed
All-In-One Command Menu v1.2.0
1 parent 531c5db commit d729ff7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+945
-88
lines changed

Leopard20-All-In-One-Command-Menu-b095570/addons/AIO_AIMENU/Functions/CopyMyStance.sqf

Lines changed: 0 additions & 24 deletions
This file was deleted.

Leopard20-All-In-One-Command-Menu-b095570/.github/ISSUE_TEMPLATE/bug_report.md renamed to Leopard20-All-In-One-Command-Menu-e0b04d3/.github/ISSUE_TEMPLATE/bug_report.md

File renamed without changes.

Leopard20-All-In-One-Command-Menu-b095570/.github/ISSUE_TEMPLATE/feature_request.md renamed to Leopard20-All-In-One-Command-Menu-e0b04d3/.github/ISSUE_TEMPLATE/feature_request.md

File renamed without changes.
File renamed without changes.
File renamed without changes.

Leopard20-All-In-One-Command-Menu-b095570/addons/AIO_AIMENU/AIMenu.sqf renamed to Leopard20-All-In-One-Command-Menu-e0b04d3/addons/AIO_AIMENU/AIMenu.sqf

File renamed without changes.
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
class CfgSounds
2+
{
3+
sounds[] = {};
4+
5+
class AIO_say_due_North_ENG
6+
{
7+
name = "AIO_say_due_North";
8+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass2\bearing000.ogg", 1, 1};
9+
titles[] = {0,""};
10+
};
11+
12+
class AIO_say_due_West_ENG
13+
{
14+
name = "AIO_say_due_West";
15+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass2\bearing270.ogg", 1, 1};
16+
titles[] = {0,""};
17+
};
18+
19+
class AIO_say_due_South_ENG
20+
{
21+
name = "AIO_say_due_South";
22+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass2\bearing180.ogg", 1, 1};
23+
titles[] = {0,""};
24+
};
25+
26+
class AIO_say_due_East_ENG
27+
{
28+
name = "AIO_say_due_East";
29+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass2\bearing090.ogg", 1, 1};
30+
titles[] = {0,""};
31+
};
32+
33+
class AIO_say_due_NorthWest_ENG
34+
{
35+
name = "AIO_say_due_NorthWest";
36+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass1\northWest_2.ogg", 1, 1};
37+
titles[] = {0,""};
38+
};
39+
40+
class AIO_say_due_NorthEast_ENG
41+
{
42+
name = "AIO_say_due_NorthEast";
43+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass1\northEast_2.ogg", 1, 1};
44+
titles[] = {0,""};
45+
};
46+
47+
class AIO_say_due_SouthEast_ENG
48+
{
49+
name = "AIO_say_due_SouthEast";
50+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass1\southEast_2.ogg", 1, 1};
51+
titles[] = {0,""};
52+
};
53+
54+
class AIO_say_due_SouthWest_ENG
55+
{
56+
name = "AIO_say_due_SouthWest";
57+
sound[] = {"A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\DirectionCompass1\southWest_2.ogg", 1, 1};
58+
titles[] = {0,""};
59+
};
60+
class AIO_say_due_North_PER
61+
{
62+
name = "AIO_say_due_North";
63+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass2\bearing000.ogg", 1, 1};
64+
titles[] = {0,""};
65+
};
66+
67+
class AIO_say_due_West_PER
68+
{
69+
name = "AIO_say_due_West";
70+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass2\bearing270.ogg", 1, 1};
71+
titles[] = {0,""};
72+
};
73+
74+
class AIO_say_due_South_PER
75+
{
76+
name = "AIO_say_due_South";
77+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass2\bearing180.ogg", 1, 1};
78+
titles[] = {0,""};
79+
};
80+
81+
class AIO_say_due_East_PER
82+
{
83+
name = "AIO_say_due_East";
84+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass2\bearing090.ogg", 1, 1};
85+
titles[] = {0,""};
86+
};
87+
88+
class AIO_say_due_NorthWest_PER
89+
{
90+
name = "AIO_say_due_NorthWest";
91+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass1\northWest_2.ogg", 1, 1};
92+
titles[] = {0,""};
93+
};
94+
95+
class AIO_say_due_NorthEast_PER
96+
{
97+
name = "AIO_say_due_NorthEast";
98+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass1\northEast_2.ogg", 1, 1};
99+
titles[] = {0,""};
100+
};
101+
102+
class AIO_say_due_SouthEast_PER
103+
{
104+
name = "AIO_say_due_SouthEast";
105+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass1\southEast_2.ogg", 1, 1};
106+
titles[] = {0,""};
107+
};
108+
109+
class AIO_say_due_SouthWest_PER
110+
{
111+
name = "AIO_say_due_SouthWest";
112+
sound[] = {"A3\Dubbing_Radio_F\data\PER\Male01PER\RadioProtocolPER\Normal\DirectionCompass1\southWest_2.ogg", 1, 1};
113+
titles[] = {0,""};
114+
};
115+
}
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
class AIO_stanceSubMenu {
2+
title="Unit Stance";
3+
access=0;
4+
atomic=0;
5+
vocabulary="";
6+
contexsensitive=1;
7+
class Items {
8+
class Reset {
9+
title="Reset";
10+
shortcuts[]={11};
11+
show="1";
12+
enable="1";
13+
command=-5;
14+
class Params
15+
{
16+
expression = "[(groupSelectedUnits player), 0] execVM ""AIO_AIMENU\switchStance.sqf"" ";
17+
};
18+
speechId=0;
19+
};
20+
class Auto {
21+
title="Auto";
22+
shortcuts[]={2};
23+
show="1";
24+
enable="1";
25+
command="CMD_POS_AUTO";
26+
speechId=0;
27+
};
28+
class CopyMyStance {
29+
title="Copy My Stance";
30+
shortcuts[]={3};
31+
show="1";
32+
enable="1";
33+
command=-5;
34+
class Params
35+
{
36+
expression = "if (AIO_copy_my_stance) then {AIO_copy_my_stance = false} else {[] spawn AIO_copy_my_stance_fnc}";
37+
};
38+
speechId=0;
39+
};
40+
class StandUp {
41+
title="Stand /\";
42+
shortcuts[]={};
43+
show="1";
44+
enable="1";
45+
command=-5;
46+
class Params
47+
{
48+
expression = "[(groupSelectedUnits player), 1] execVM ""AIO_AIMENU\switchStance.sqf"" ";
49+
};
50+
speechId=0;
51+
};
52+
class Stand {
53+
title="Stand --";
54+
shortcuts[]={4};
55+
show="1";
56+
enable="1";
57+
command="CMD_POS_UP";
58+
speechId=0;
59+
};
60+
class StandDown {
61+
title="Stand \/";
62+
shortcuts[]={};
63+
show="1";
64+
enable="1";
65+
command=-5;
66+
class Params
67+
{
68+
expression = "[(groupSelectedUnits player), 3] execVM ""AIO_AIMENU\switchStance.sqf"" ";
69+
};
70+
speechId=0;
71+
};
72+
class Breaker1 {
73+
title="";
74+
shortcuts[]={};
75+
show="1";
76+
enable="0";
77+
command=-5;
78+
eventHandler="";
79+
speechId=0;
80+
};
81+
class CrouchUp {
82+
title="Crouch /\";
83+
shortcuts[]={};
84+
show="1";
85+
enable="1";
86+
command=-5;
87+
class Params
88+
{
89+
expression = "[(groupSelectedUnits player), 4] execVM ""AIO_AIMENU\switchStance.sqf"" ";
90+
};
91+
speechId=0;
92+
};
93+
class Crouch {
94+
title="Crouch --";
95+
shortcuts[]={5};
96+
show="1";
97+
enable="1";
98+
command="CMD_POS_MIDDLE";
99+
speechId=0;
100+
};
101+
class CrouchDown {
102+
title="Crouch \/";
103+
shortcuts[]={};
104+
show="1";
105+
enable="1";
106+
command=-5;
107+
class Params
108+
{
109+
expression = "[(groupSelectedUnits player), 6] execVM ""AIO_AIMENU\switchStance.sqf"" ";
110+
};
111+
speechId=0;
112+
};
113+
class Breaker2 {
114+
title="";
115+
shortcuts[]={};
116+
show="1";
117+
enable="0";
118+
command=-5;
119+
eventHandler="";
120+
speechId=0;
121+
};
122+
class ProneUp {
123+
title="Prone /\";
124+
shortcuts[]={};
125+
show="1";
126+
enable="1";
127+
command=-5;
128+
class Params
129+
{
130+
expression = "[(groupSelectedUnits player), 7] execVM ""AIO_AIMENU\switchStance.sqf"" ";
131+
};
132+
speechId=0;
133+
};
134+
class Prone {
135+
title="Prone --";
136+
shortcuts[]={6};
137+
show="1";
138+
enable="1";
139+
command="CMD_POS_DOWN";
140+
speechId=0;
141+
};
142+
};
143+
};

Leopard20-All-In-One-Command-Menu-b095570/addons/AIO_AIMENU/Functions/Assemble.sqf renamed to Leopard20-All-In-One-Command-Menu-e0b04d3/addons/AIO_AIMENU/Functions/Assemble.sqf

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,30 @@ AIO_staticAssemble_Fnc = {
44
_units = _this select 0;
55
_pos = _this select 1;
66
_dir = getDir player;
7-
if (_dir <= 22.5 OR _dir >= 337.5) then {_dirChat = "North."};
8-
if (_dir > 22.5 AND _dir <= 67.5) then {_dirChat = "North-East."};
9-
if (_dir > 292.5 AND _dir < 337.5) then {_dirChat = "North-West."};
10-
if (_dir > 67.5 AND _dir <= 112.5) then {_dirChat = "East."};
11-
if (_dir > 112.5 AND _dir <= 157.5) then {_dirChat = "South-East."};
12-
if (_dir > 157.5 AND _dir <= 202.5) then {_dirChat = "South."};
13-
if (_dir > 202.5 AND _dir <= 247.5) then {_dirChat = "South-West."};
14-
if (_dir > 247.5 AND _dir <= 292.5) then {_dirChat = "West."};
15-
_chat = format ["Assemble that weapon towards %1", _dirChat];
16-
player groupChat _chat;
7+
if (_dir <= 22.5 OR _dir >= 337.5) then {_dirChat = "North"};
8+
if (_dir > 22.5 AND _dir <= 67.5) then {_dirChat = "NorthEast"};
9+
if (_dir > 292.5 AND _dir < 337.5) then {_dirChat = "NorthWest"};
10+
if (_dir > 67.5 AND _dir <= 112.5) then {_dirChat = "East"};
11+
if (_dir > 112.5 AND _dir <= 157.5) then {_dirChat = "SouthEast"};
12+
if (_dir > 157.5 AND _dir <= 202.5) then {_dirChat = "South"};
13+
if (_dir > 202.5 AND _dir <= 247.5) then {_dirChat = "SouthWest"};
14+
if (_dir > 247.5 AND _dir <= 292.5) then {_dirChat = "West"};
15+
if (AIO_useVoiceChat) then {
16+
_dirChat spawn {
17+
private _dummy = "#particlesource" createVehicleLocal ASLToAGL getPosWorld player;
18+
player groupRadio "SentAssemble";
19+
_chat = format ["Assemble that weapon towards %1", _this];
20+
player groupChat _chat;
21+
_faction = faction player;
22+
_useDir = false;
23+
_lang = "";
24+
if (_faction isEqualTo "BLU_F" OR _faction isEqualTo "BLU_F_T" OR _faction isEqualTo "BLU_CTRG_F") then {_lang = "ENG"; _useDir = true};
25+
if (_faction isEqualTo "OPF_F") then {_lang = "PER"; _useDir = true};
26+
if (_useDir) then {_dummy say2D (format ["AIO_say_due_%1_%2", _this, _lang])};
27+
sleep 1.5;
28+
deleteVehicle _dummy;
29+
};
30+
};
1731
if (count _units == 2) then {
1832
_unit1 = _units select 0;
1933
_unit2 = _units select 1;

0 commit comments

Comments
 (0)