CartoonrBOY
Member
Discussion thread for [EFFECT] No FOG.
After reviewing seeweeduk's advice, I've revised this mod.
This will give you no fog, and a view distance fixed at 3km. Changes to the view distance can only be adjusted in the PBO so be mindful of other players FPS when setting the range.
1. Unpack your Mission.PBO.
2. Create a folder called custom and place it into your Mission.PBO root folder.
3. Find the init.sqf.
Find this line:
Code:
//Start Dynamic Weather
execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
Code:
//Start Dynamic Weather
[] execVM "custom\DynamicWeatherEffects.sqf";
4. Find:
Code:
// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500
dayz_MapArea = 14000; // Default = 10000
dayz_minpos = -1;
dayz_maxpos = 16000;
Add at the bottom of the DayZ Epoch config section:
Code:
setViewDistance 3000;
setTerrainGrid 20;
5. Unpack your dayz_code.PBO. This can be found at: C:\Program Files (x86)\Steam\SteamApps\common\arma 2 operation arrowhead\@Dayz\Addons\dayz_code
6. Find the DynamicWeatherEffects.sqf.
Edit this line:
Code:
// Fog intensity never exceeds this value. Must be between 0 and 1 and greater than or equal to _minimumFog
// (0 = no fog, 1 = pea soup). (Suggested value: 0.8).
_maximumFog = 0.5;
Code:
// Fog intensity never exceeds this value. Must be between 0 and 1 and greater than or equal to _minimumFog
// (0 = no fog, 1 = pea soup). (Suggested value: 0.8).
_maximumFog = 0;
8. Repack your Mission.PBO.
This will reduce the fog and provide a 3km view distance.
FAQ: The fog can be adjusted in the DynamicWEatherEffects.sqf.
FAQ: The view distance can be increased by adjusting the setViewDistance ****; parameter in the init.sqf, however it will affect every players view distance.
I was pointed toward another thread by FriendlyPA using a mod by Maca134 and GeekGarage. which allows the player to set the view distance by right clicking the Binoculars/Range Finders within the game. The change then only affects that player which is a much better solution.
I have tried several times to make this work but as yet cannot report success.
Last edited: