ACE3/addons/viewdistance/CfgVehicles.hpp

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
};
};
};
};