Author: Champ-1
Author Website:

Requirements: No addons required

Version: 1.13

Short description: A view distance script with a couple f new features.

Date: 2017-02-10 10:00

Comments: (4)


CH View Distance Script


So I have finally overcome my fear of dialog controls and made this script. It's very similar to TAW View Distance Script by Tonic (that's what inspired me after all), but with a couple new features:
- objects view distance and sync view distance options for every situation;
- all settings are saved to profile;
- ability to limit maximum view distance and objects view distance for the mission.

Installation / Usage:
1- Place "CHVD" folder in your mission folder.
2- Add this code to description.ext file in your mission folder:
#include "CHVD\dialog.hpp"
class CfgFunctions
    #include "CHVD\CfgFunctions.hpp"
3. (Optional) Add these commands to init.sqf file in your mission folder if you wish to limit some functionality:
CHVD_allowNoGrass = true; // Set 'false' if you want to disable "None" option for terrain (default: true)
CHVD_maxView = 2500; // Set maximum view distance (default: 12000)
CHVD_maxObj = 2500; // Set maximimum object view distance (default: 12000)

New hotkeys feature requires CBA A3 Addon. Though you can still run this script / addon without it, but hotkeys aren't going to work.
Recommended and/or optional addons and mods to use with CH View Distance Script:
- Community Base addons A3

Media: has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Youtube channel

Version 1.0 notes:
I guess this script in a decent shape, so I added mod compability and released addon version.
Notice: Using any previous version of this script simultaneously with CH View Distance Addon may cause errors.

There is also an addon version of this addon, you can find it here:
- CH View Distance Addon

Future plans:

Steam Workshop:
- Subscribe

- added: new CBA keybindings for changing terrain quality
- added: one more terrain quality value for finer control
- changed: reduced time hints displaying on the screen when changing view distance with hotkeys
- changed: better looking hints
- fixed: addon and script version conflicting on rare occasion
- fixed: terrain quality listbox not working on rare occasion

- hotfix: broken sliders and some minor fixes

- added: CBA Keybindings compatibility. You can adjust addon/script hotkeys in "controls" menu
- added: ability to increase / decrease view distance by 500m with hotkeys
- added: French translation by norx_aengell

- added: new dynamic synchronization of object view distance, including the method based on current FOV
- added: beta version of the German translation (please leave feedback. I'm neither know German, nor can test it in game)
- changed: UI reworked to fit new dynamic options

- fixed: error showing up after 1.44 update

- added: Russian localization
- changed: UI to fit any localized text in the future

- fixed: object view distance not updating after checking "sync" checkbox
- fixed: boats not using proper view distance (now they use "in car" view distance)

- added: support of UAV and UGV units (as suggested by EasyEB)

- fixed: obscured text with different interface sizes (thanks Law-Giver for suggestion)
- fixed: missing font error
- fixed: spelling mistake
- changed: default input focus is now set to slider instead of textbox to prevent accidental typing

- fixed: settings not loading on mission start
- added: variable to disable addon when both script and addon are running

- added: interactive textboxes to input view distance and terrain grid values directly
- changed: reworked 'onSliderChange' function

- fixed: postInit error
- fixed: minor code fixes
- changed: updated UI style to match default Arma 3 style
- changed: object view distance now can't be set higher than view distance
- changed: "terrain" buttons replaced with listbox (feedback needed on this one)

- beta release

Forum topic:
- BI forums

Enable javascript to be able to download from Armaholic please!

Tags: Distance,   View,   View Distance