mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add new setting to module
This commit is contained in:
parent
37ffdab2ca
commit
c0fd26f706
@ -59,6 +59,58 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
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 = CSTRING(modes_free);
|
||||||
|
value = 2;
|
||||||
|
};
|
||||||
|
class internal {
|
||||||
|
name = CSTRING(modes_internal);
|
||||||
|
value = 3;
|
||||||
|
};
|
||||||
|
class external {
|
||||||
|
name = CSTRING(modes_external);
|
||||||
|
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 {
|
class ModuleDescription {
|
||||||
description = CSTRING(Settings_Description);
|
description = CSTRING(Settings_Description);
|
||||||
|
@ -22,3 +22,5 @@ if !(_activated) exitWith {};
|
|||||||
[_logic, QGVAR(enabledSystem), "spectatorSystem"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(enabledSystem), "spectatorSystem"] call EFUNC(common,readSettingFromModule);
|
||||||
[_logic, QGVAR(filterUnits), "spectatorUnits"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(filterUnits), "spectatorUnits"] call EFUNC(common,readSettingFromModule);
|
||||||
[_logic, QGVAR(filterSides), "spectatorSides"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(filterSides), "spectatorSides"] call EFUNC(common,readSettingFromModule);
|
||||||
|
[_logic, QGVAR(restrictModes), "cameraModes"] call EFUNC(common,readSettingFromModule);
|
||||||
|
[_logic, QGVAR(restrictVisions), "visionModes"] call EFUNC(common,readSettingFromModule);
|
||||||
|
Loading…
Reference in New Issue
Block a user