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

Hiding Fog in Certain Areas

broken avatar :(
Created 9 years ago
by MZslayer11
0 Members and 1 Guest are viewing this topic.
1,463 views
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 7 March 2014
Last active: 2 months ago
Posts
1,191
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Site Moderator
My Groups
More
My Contact & Social Links
More
×
MZslayer11's Groups
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
MZslayer11's Contact & Social LinksMZslayer11Service_Code_30#2655
I have fog in my map and I was wondering if it would be possible to hide it in certain parts of my map (for example, underground sections of my map). The type of fog i'm using is this:

MAPNAME_art.gsc which is in root/mods/MAPNAME/maps/createart

Code Snippet
Plaintext
//_createart generated.  modify at your own risk. Changing values should be fine.
main()
{

level.tweakfile = true;
 
// *Fog section*

setdvar("scr_fog_exp_halfplane", "1763.99");
setdvar("scr_fog_exp_halfheight", "541.494");
setdvar("scr_fog_nearplane", "814.911");
setdvar("scr_fog_red", "0.5");
setdvar("scr_fog_green", "0.5");
setdvar("scr_fog_blue", "0.55");
setdvar("scr_fog_baseheight", "-451.652");

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", "");

//* Fog section *
level thread fog_settings();
 
level thread maps\_utility::set_all_players_visionset( "zombie_factory", 0.1 );
}

fog_settings()
{
start_dist = 550;
halfway_dist = 275;
halfway_height = 300;
base_height = 150;
red = 0.00;
green = 0.00;
blue = 0.00;
trans_time = 0.1;


SetVolFog( start_dist, halfway_dist, halfway_height, base_height, red, green, blue, trans_time );
}

As a side note, I was wondering what fog settings you guys would reccomend that would resemble the type of fog in  BOII Town ;)
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months 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.
Community 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
SetVolFog is global so trying to disable it for one player would be impossible.
What I suggest is looking into spawning FX rather than using a setVolFog (you can minimize it then use FX's places in map).
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 7 March 2014
Last active: 2 months ago
Posts
1,191
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Site Moderator
My Groups
More
My Contact & Social Links
More
×
MZslayer11's Groups
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
MZslayer11's Contact & Social LinksMZslayer11Service_Code_30#2655
SetVolFog is global so trying to disable it for one player would be impossible.
What I suggest is looking into spawning FX rather than using a setVolFog (you can minimize it then use FX's places in map).

OK thanks. I'm terrible with fx so what would you reccoment for getting started with this. Similar to Town's fog.
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months 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.
Community 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
OK thanks. I'm terrible with fx so what would you reccoment for getting started with this. Similar to Town's fog.
There's a few out there that's been released like you can use WaW's own _createfx or use UGX Easy-Fx (I don't know how either works :D).
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 7 March 2014
Last active: 2 months ago
Posts
1,191
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Site Moderator
My Groups
More
My Contact & Social Links
More
×
MZslayer11's Groups
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
MZslayer11's Contact & Social LinksMZslayer11Service_Code_30#2655
There's a few out there that's been released like you can use WaW's own _createfx or use UGX Easy-Fx (I don't know how either works :D).

Thanks, Ill try easy fx.

 
Loading ...