mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
85c5fbabe9
* Fix incorrect function input for spectator hiding * Remove locations tab from spectator - Doesn't add much value, adds complexity and the implementation is half baked. Would rather add back in at a later date (if at all) with a better implementation. - I have an idea to replace the locations tab with a meta tab so users can toggle things like projectile drawing via the UI and are not forced to use a hotkey. Might also be a good place to display the extended controls.
89 lines
2.9 KiB
C++
89 lines
2.9 KiB
C++
class CfgVehicles {
|
|
class ACE_Module;
|
|
class GVAR(moduleSettings): ACE_Module {
|
|
scope = 2;
|
|
displayName = CSTRING(Settings_DisplayName);
|
|
icon = QPATHTOF(data\Icon_Module_Spectator_ca.paa);
|
|
category = "ACE";
|
|
function = QFUNC(moduleSpectatorSettings);
|
|
isGlobal = 1;
|
|
author = ECSTRING(common,ACETeam);
|
|
class Arguments {
|
|
class enableAI {
|
|
displayName = CSTRING(ai_DisplayName);
|
|
description = CSTRING(ai_Description);
|
|
typeName = "BOOL";
|
|
defaultValue = 0;
|
|
};
|
|
class cameraModes {
|
|
displayName = CSTRING(modes_DisplayName);
|
|
description = CSTRING(modes_Description);
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class all {
|
|
name = CSTRING(modes_all);
|
|
value = 0;
|
|
default = 1;
|
|
};
|
|
class unit {
|
|
name = CSTRING(modes_unit);
|
|
value = 1;
|
|
};
|
|
class free {
|
|
name = "$STR_A3_Spectator_free_camera_tooltip";
|
|
value = 2;
|
|
};
|
|
class internal {
|
|
name = "$STR_A3_Spectator_1pp_camera_tooltip";
|
|
value = 3;
|
|
};
|
|
class external {
|
|
name = "$STR_A3_Spectator_3pp_camera_tooltip";
|
|
value = 4;
|
|
};
|
|
};
|
|
};
|
|
class visionModes {
|
|
displayName = CSTRING(visions_DisplayName);
|
|
description = CSTRING(visions_Description);
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class all {
|
|
name = CSTRING(modes_all);
|
|
value = 0;
|
|
default = 1;
|
|
};
|
|
class nv {
|
|
name = CSTRING(visions_nv);
|
|
value = 1;
|
|
};
|
|
class ti {
|
|
name = CSTRING(visions_ti);
|
|
value = 2;
|
|
};
|
|
class none {
|
|
name = "$STR_Special_None";
|
|
value = 3;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = CSTRING(Settings_Description);
|
|
};
|
|
};
|
|
class VirtualMan_F;
|
|
class GVAR(virtual): VirtualMan_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
displayName = CSTRING(DisplayName);
|
|
scope = 2;
|
|
scopeArsenal = 0;
|
|
scopeCurator = 0;
|
|
|
|
weapons[] = {};
|
|
|
|
delete ACE_Actions;
|
|
delete ACE_SelfActions;
|
|
};
|
|
};
|