[EFFECT] No FOG

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";
Edit it to:
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;
To:
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;
7. Copy the new DynamicWeatherEffects.sqf into your custom folder within your Mission.PBO.

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:
what exactly does

setTerrainGrid 20;

do?

I'm not sure. I think it has something to do with the grass draw distance.

Going to be adding this to my server later on. Looks like it would save a lot of FPS

Kewl Triage. It's possible to adjust many of the weather settings in the DynamicWEatherEffects.sqf. I like maximum weather on my server. It's a shame it doesn't goto "Hurricaine ."
 
I'm currently working on a script that will give players the ability to toggle rain and fog via action menu. I personally love the weather but the rest of the player base doesn't
 
ive tried this, but when i do it works, but my infistar anti hack stops working, any clues on why? (says a bunch of the sqf's are missing in the rpt, but they arent, and i havnt changed any of the code besides add what you put)
 
Follow the rpt logs to try figure out which scripts are missing. Check their paths in the code. You must have edited something. This should not interfere with Infistar.
 
Back
Top