
Posts
643
Respect
261Add +1
Forum Rank
Zombie Enslaver
Primary Group
Mapper
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!

![]() | Has released one or more maps to the UGX-Mods community. |


Im working on making my map have some fog that blocks off view and am struggling with it:
(Image removed from quote.)
What I want is to be able to see to the back row of corn and no further, like how Tranzit handled the fog, if anyone can help me with fog settings or a suitable vision file for this I would appreciate it

![]() | Has released one or more maps to the UGX-Mods community. |
![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
main()
{
level.tweakfile = true;
SetDvar("scr_fog_exp_halfplane", "639.219");
SetDvar("scr_fog_exp_halfheight", "18691.3");
SetDvar("scr_fog_nearplane", "138.679");
SetDvar("scr_fog_red", "0.806694");
SetDvar("scr_fog_green", "0.962521");
SetDvar("scr_fog_blue", "0.9624");
SetDvar("scr_fog_baseheight", "1145.21");
SetDvar("visionstore_glowTweakEnable", "0");
SetDvar("visionstore_glowTweakRadius0", "5");
SetDvar("visionstore_glowTweakRadius1", "");
SetDvar("visionstore_glowTweakBloomCutoff", "0.5");
SetDvar("visionstore_glowTweakBloomDesaturation", "0");
SetDvar("visionstore_glowTweakBloomIntensity0", "1");
SetDvar("visionstore_glowTweakBloomIntensity1", "");
SetDvar("visionstore_glowTweakSkyBleedIntensity0", "");
SetDvar("visionstore_glowTweakSkyBleedIntensity1", "");
start_dist = 138.679;
half_dist = 1011.624;
half_height = 10834.5;
base_height = 1145.21;
fog_r = 0.501961;
fog_g = 0.501961;
fog_b = 0.501961;
fog_scale = 7.5834;
sun_col_r = 0.501961;
sun_col_g = 0.501961;
sun_col_b = 0.501961;
sun_dir_x = -0.99;
sun_dir_y = 0.06;
sun_dir_z = -0.11;
sun_start_ang = 0;
sun_stop_ang = 0;
time = 0;
max_fog_opacity = 0.8546;
setVolFog(start_dist, half_dist, half_height, base_height, fog_r, fog_g, fog_b, fog_scale,
sun_col_r, sun_col_g, sun_col_b, sun_dir_x, sun_dir_y, sun_dir_z, sun_start_ang,
sun_stop_ang, time, max_fog_opacity);
VisionSetNaked( "zm_transit", 0 );
SetDvar( "r_lightGridEnableTweaks", 1 );
SetDvar( "r_lightGridIntensity", 1.4 );
SetDvar( "r_lightGridContrast", .2 );
}

![]() | Has released one or more maps to the UGX-Mods community. |

, But it hasn't actually set any fog? Is there any reason for this or is there something im missing?![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |

![]() | Has released one or more maps to the UGX-Mods community. |

![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |

main()
{
level.tweakfile = true;
SetDvar("scr_fog_exp_halfplane", "639.219");
SetDvar("scr_fog_exp_halfheight", "18691.3");
SetDvar("scr_fog_nearplane", "138.679");
SetDvar("scr_fog_red", "0.806694");
SetDvar("scr_fog_green", "0.962521");
SetDvar("scr_fog_blue", "0.9624");
SetDvar("scr_fog_baseheight", "1145.21");
SetDvar("visionstore_glowTweakEnable", "0");
SetDvar("visionstore_glowTweakRadius0", "5");
SetDvar("visionstore_glowTweakRadius1", "");
SetDvar("visionstore_glowTweakBloomCutoff", "0.5");
SetDvar("visionstore_glowTweakBloomDesaturation", "0");
SetDvar("visionstore_glowTweakBloomIntensity0", "1");
SetDvar("visionstore_glowTweakBloomIntensity1", "");
SetDvar("visionstore_glowTweakSkyBleedIntensity0", "");
SetDvar("visionstore_glowTweakSkyBleedIntensity1", "");
start_dist = 138.679;
half_dist = 1011.624;
half_height = 10834.5;
base_height = 1145.21;
fog_r = 0.501961;
fog_g = 0.501961;
fog_b = 0.501961;
fog_scale = 7.5834;
sun_col_r = 0.501961;
sun_col_g = 0.501961;
sun_col_b = 0.501961;
sun_dir_x = -0.99;
sun_dir_y = 0.06;
sun_dir_z = -0.11;
sun_start_ang = 0;
sun_stop_ang = 0;
time = 0;
max_fog_opacity = 0.8546;
setVolFog(start_dist, half_dist, half_height, base_height, fog_r, fog_g, fog_b, time);
VisionSetNaked( "zm_transit", 0 );
//SetDvar( "r_lightGridEnableTweaks", 1 ); NONE OF THESE WORK IN WAW
//SetDvar( "r_lightGridIntensity", 1.4 );
//SetDvar( "r_lightGridContrast", .2 );
}