Wiki 1558 Posted October 15, 2019 Hello, is there a mod to automatically adjust the view distance and object distance, whether we're on foot or in a vehicle? When playing KOTH, there is such an option, but didn't see it anywhere else. Could be quite useful, does anybody know? Thanks Share this post Link to post Share on other sites
stanhope 411 Posted October 15, 2019 I know there's scripts that do it: CHVD by Champ-1 Share this post Link to post Share on other sites
HBAOplus 14 Posted October 15, 2019 https://steamcommunity.com/sharedfiles/filedetails/?id=1544955993 You may check this out. Share this post Link to post Share on other sites
Wiki 1558 Posted October 18, 2019 On 10/15/2019 at 1:10 PM, HBAOplus said: https://steamcommunity.com/sharedfiles/filedetails/?id=1544955993 You may check this out. Thx but not exactly what I was looking for Share this post Link to post Share on other sites
dave_beastttt 135 Posted October 18, 2019 5 minutes ago, Wiki said: Thx but not exactly what I was looking for Would something like this work? while {alive player} do { if ((vehicle player) isEqualTo player) then { setViewDistance 1000; } else { setViewDistance 2000; }; uiSleep 10; }; 2 Share this post Link to post Share on other sites
stanhope 411 Posted October 18, 2019 http://www.armaholic.com/page.php?id=27390 ^what I talked about in my previous comment Share this post Link to post Share on other sites
nkenny 1057 Posted October 18, 2019 I think ACE3 has one, configurable via a nifty CBA interface . https://ace3mod.com/wiki/feature/viewdistance.html Share this post Link to post Share on other sites
pierremgi 4886 Posted October 20, 2019 On 10/18/2019 at 4:06 AM, dave_beastttt said: Would something like this work? while {alive player} do { if ((vehicle player) isEqualTo player) then { setViewDistance 1000; } else { setViewDistance 2000; }; uiSleep 10; }; Don't forget the respawn (so temp dead) case. I' d rather write in initplayerLocal.sqf: 0 = [] spawn { setViewDistance 2000; while {true} do { waitUntil {uiSleep 3; isNull objectParent player}; setViewDistance 1000; waitUntil {uiSleep 3; !isNull objectParent player}; setViewDistance 2000; }; }; 1 Share this post Link to post Share on other sites
haleks 8212 Posted October 20, 2019 Wouldn't it be more practical and optimal to have the viewDistance scaled on the camera's altitude (we need to account for remote units too), with a cap on objectViewDistance? Share this post Link to post Share on other sites