2015-05-08 14:07:57 +00:00
|
|
|
class CfgVehicles {
|
2015-05-09 11:05:36 +00:00
|
|
|
class ACE_Module;
|
|
|
|
class GVAR(ModuleSettings) : ACE_Module {
|
2015-05-08 14:07:57 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
|
|
category = "ACE";
|
2015-05-09 11:05:36 +00:00
|
|
|
function = QUOTE(DFUNC(initModule));
|
2015-05-08 16:30:28 +00:00
|
|
|
displayName = "View Distance Limiter";
|
2015-05-08 14:07:57 +00:00
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
|
|
|
//icon = ""; // needs an icon
|
|
|
|
class Arguments {
|
2015-05-14 19:36:12 +00:00
|
|
|
class moduleViewDistanceEnabled {
|
|
|
|
displayName = "Enable ACE viewdistance";
|
|
|
|
description = "Enables ACE viewdistance";
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
2015-05-08 16:30:28 +00:00
|
|
|
class moduleViewDistanceLimit {
|
2015-05-09 10:36:11 +00:00
|
|
|
displayName = "View Distance Limit";
|
2015-05-10 10:00:19 +00:00
|
|
|
description = "Sets the limit for how high clients can raise their view distance (<= 10000)";
|
2015-05-09 12:51:23 +00:00
|
|
|
typeName = "NUMBER";
|
|
|
|
defaultValue = 10000;
|
2015-05-08 14:07:57 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|