From 7fe73c2c8084183a5d6d4b45edfdfebeb3df7ab8 Mon Sep 17 00:00:00 2001 From: SAM Date: Thu, 14 May 2015 17:11:52 +0200 Subject: [PATCH] Added Object View Distance Coefficient setting --- addons/viewdistance/ACE_Settings.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addons/viewdistance/ACE_Settings.hpp b/addons/viewdistance/ACE_Settings.hpp index 91ac257c01..0fff9f0daf 100644 --- a/addons/viewdistance/ACE_Settings.hpp +++ b/addons/viewdistance/ACE_Settings.hpp @@ -29,6 +29,14 @@ class ACE_Settings { displayName = "View Distance Limit"; description = "Limit for client's view distance set here and can overridden by module"; }; + class GVAR(objectViewDistanceCoeff) { + typeName = "SCALAR"; + isClientSettable = 1; + value = 0; // index. Actual coefficient is given by functions/fnc_returnObjectCoeff.sqf + values[] = {"Off","Low","Medium","High"}; + displayName = "Dynamic Object View Distance"; + description = "Sets the object view distance as a coefficient of the view distance."; + }; }; // To do: include string table style displayName & description. \ No newline at end of file