Author: Champ-1
Author Website:

Requirements: No addons required

Version: 1.12

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

Date: 2017-01-18 20:09
Submitted by: Champ-1


Comments: (3)
Rating:



 



CH View Distance Script

by
Champ-1


Description:
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:



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


Notes:
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


Changelog:
v1.12
- hotfix: broken sliders and some minor fixes

v1.11
- 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

v1.10
- 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

v1.07
- fixed: error showing up after 1.44 update

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

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

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

v1.02
- 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

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

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

v0.91
- 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)

v0.9
- beta release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Distance,   View,   View Distance