UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

TranZit style fog/vision?

broken avatar :(
Created 11 years ago
by ProRevenge
0 Members and 1 Guest are viewing this topic.
4,686 views
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
Signature
Stranded
Nacht Der Untoten: Reimagined
Encampment
Encampment V2: BO3 Mod

Mapper and Weapon Porter - I release what I can of my work for the community to enjoy :)
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Im working on making my map have some fog that blocks off view and am struggling with it:




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 :)
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: hr
Date Registered: 18 October 2013
Last active: 2 years ago
Posts
94
Respect
Forum Rank
Rotting Walker
Primary Group
Member
Signature
oylmeo
×
denis-24's Groups
denis-24's Contact & Social Links
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 :)

The way i handled my fog problems was by going into root\mods\mapname\maps\createart\mapname_art.gsc,
and messing with these settings:

start_dist          = 440;
   halfway_dist       = 3200;
   halfway_height    = 225;
   base_height       = 64;

Im pretty sure changing start_dist will change how far from you fog is created, so maybe you could bring 440 down to 150 or something.

This is all i know, i don't know how to change fog on a specific spot on the map, sorry.

broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Yeah I know how to change the fog, but messing around with different values I am unable to get the right colour/thickness of fog to not be able to see that far, and my visionfile doesn't help, which Im still messing with to try and get a tranzit like one
Marked as best answer by ProRevenge 11 years ago
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Code Snippet
Plaintext
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 );
}
Last Edit: May 31, 2015, 11:14:37 pm by DidUknowiPwn
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge


I slotted all those settings into my createart file, and it has improved the vision a lot, thanks :), But it hasn't actually set any fog? Is there any reason for this or is there something im missing?
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I think in Pwns settings the fog ones are too big, lol. Try lowering them down a bit
broken avatar :(
×
broken avatar :(
Location: gbEast Midlands
Date Registered: 7 February 2015
Last active: 5 years ago
Posts
643
Respect
Forum Rank
Zombie Enslaver
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Donations massively appreciated: paypal.me/DanT98
×
ProRevenge's Groups
Mapper Has released one or more maps to the UGX-Mods community.
ProRevenge's Contact & Social LinksProRevenge
Sorted it now, thanks a bunch guys :)
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Those were official settings :/
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
that wouldn't work
Code Snippet
Plaintext
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 );
}

 
Loading ...