mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
26 lines
1.0 KiB
C++
26 lines
1.0 KiB
C++
class CfgVehicles {
|
|
class ACE_Module;
|
|
class GVAR(ModuleSettings) : ACE_Module {
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
category = "ACE";
|
|
function = QUOTE(DFUNC(initModule));
|
|
displayName = "View Distance Limiter";
|
|
scope = 2;
|
|
isGlobal = 1;
|
|
//icon = ""; // needs an icon
|
|
class Arguments {
|
|
class moduleViewDistanceLimit {
|
|
displayName = "View Distance Limit";
|
|
description = "Sets the limit for how high clients can raise their view distance (<= 10000)";
|
|
typeName = "NUMBER";
|
|
defaultValue = 10000;
|
|
};
|
|
class moduleTerrainGridLimit {
|
|
displayName = "Terrain Grid Limit";
|
|
description = "Sets the limit for how high clients can raise their terrain grid (<= 50)";
|
|
typeName = "NUMBER";
|
|
defaultValue = 50; // range is 3.125 - 50 Reference: https://community.bistudio.com/wiki/setTerrainGrid
|
|
};
|
|
};
|
|
};
|
|
}; |