2015-06-29 02:34:21 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class ACE_Module;
|
2015-07-17 15:02:38 +00:00
|
|
|
class GVAR(moduleSettings): ACE_Module {
|
2015-06-29 02:34:21 +00:00
|
|
|
scope = 2;
|
2015-07-17 15:02:38 +00:00
|
|
|
displayName = CSTRING(Settings_DisplayName);
|
2015-06-29 02:34:21 +00:00
|
|
|
icon = PATHTOF(UI\Icon_Module_Spectator_ca.paa);
|
2015-07-17 15:02:38 +00:00
|
|
|
category = "ACE";
|
|
|
|
function = QFUNC(moduleSpectatorSettings);
|
|
|
|
isGlobal = 1;
|
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-06-29 02:34:21 +00:00
|
|
|
class Arguments {
|
2015-07-17 15:02:38 +00:00
|
|
|
class spectatorSystem {
|
|
|
|
displayName = CSTRING(system_DisplayName);
|
|
|
|
description = CSTRING(system_Description);
|
2015-06-29 02:34:21 +00:00
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 0;
|
|
|
|
};
|
2015-07-17 15:02:38 +00:00
|
|
|
class spectatorUnits {
|
|
|
|
displayName = CSTRING(units_DisplayName);
|
|
|
|
description = CSTRING(units_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class none {
|
|
|
|
name = "$STR_Special_None";
|
|
|
|
value = 0;
|
|
|
|
default = 1;
|
|
|
|
};
|
|
|
|
class players {
|
|
|
|
name = CSTRING(units_players);
|
|
|
|
value = 1;
|
|
|
|
};
|
|
|
|
class all {
|
|
|
|
name = CSTRING(units_all);
|
|
|
|
value = 2;
|
|
|
|
};
|
|
|
|
};
|
2015-07-05 11:26:58 +00:00
|
|
|
};
|
2015-07-17 15:02:38 +00:00
|
|
|
class spectatorSides {
|
|
|
|
displayName = CSTRING(sides_DisplayName);
|
|
|
|
description = CSTRING(sides_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class player {
|
|
|
|
name = CSTRING(sides_player);
|
2015-07-17 17:40:49 +00:00
|
|
|
value = 0;
|
|
|
|
default = 1;
|
2015-07-17 15:02:38 +00:00
|
|
|
};
|
|
|
|
class friendly {
|
|
|
|
name = CSTRING(sides_friendly);
|
2015-07-17 17:40:49 +00:00
|
|
|
value = 1;
|
2015-07-17 15:02:38 +00:00
|
|
|
};
|
|
|
|
class all {
|
|
|
|
name = CSTRING(sides_all);
|
2015-07-17 17:40:49 +00:00
|
|
|
value = 2;
|
2015-07-17 15:02:38 +00:00
|
|
|
};
|
|
|
|
};
|
2015-06-29 02:34:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription {
|
2015-07-17 15:02:38 +00:00
|
|
|
description = CSTRING(Settings_Description);
|
2015-06-29 02:34:21 +00:00
|
|
|
};
|
|
|
|
};
|
2015-07-05 11:26:58 +00:00
|
|
|
};
|