mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
68 lines
2.3 KiB
C++
68 lines
2.3 KiB
C++
class CfgVehicles {
|
|
class ACE_Module;
|
|
class GVAR(moduleSettings): ACE_Module {
|
|
scope = 2;
|
|
displayName = CSTRING(Settings_DisplayName);
|
|
icon = PATHTOF(UI\Icon_Module_Spectator_ca.paa);
|
|
category = "ACE";
|
|
function = QFUNC(moduleSpectatorSettings);
|
|
isGlobal = 1;
|
|
author = ECSTRING(common,ACETeam);
|
|
class Arguments {
|
|
class spectatorSystem {
|
|
displayName = CSTRING(system_DisplayName);
|
|
description = CSTRING(system_Description);
|
|
typeName = "BOOL";
|
|
defaultValue = 0;
|
|
};
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
class spectatorSides {
|
|
displayName = CSTRING(sides_DisplayName);
|
|
description = CSTRING(sides_Description);
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class none {
|
|
name = "$STR_Special_None";
|
|
value = 0;
|
|
default = 1;
|
|
};
|
|
class player {
|
|
name = CSTRING(sides_player);
|
|
value = 1;
|
|
};
|
|
class friendly {
|
|
name = CSTRING(sides_friendly);
|
|
value = 2;
|
|
};
|
|
class all {
|
|
name = CSTRING(sides_all);
|
|
value = 3;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = CSTRING(Settings_Description);
|
|
};
|
|
};
|
|
};
|