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

Desert map : Adding yellow-ish fog, and sandstorm (wind) fx

broken avatar :(
Created 8 years ago
by fusorf
0 Members and 1 Guest are viewing this topic.
1,688 views
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 25 July 2015
Last active: 2 years ago
Posts
121
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
//This is a comment
Signature
×
fusorf's Groups
fusorf's Contact & Social LinksfusorffusorfFireFusorf
Hi guys :)

I never used fog, and fx's in radiant so far, I would need some help with that.

Basically the map is set in a desert, that's why I would like to add some distant fog,
and sand moved by the wind. I don't know where to start.

Thanks :)
Marked as best answer by fusorf 8 years ago
broken avatar :(
×
broken avatar :(
Location: usCali(fornia)
Date Registered: 21 December 2013
Last active: 4 years ago
Posts
418
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
The sound of God is the screech of tires, lights and magnets, bolts and wires. Strayed from the road, this very one, still to come. The sound of tires is the sound of God, the electric version.
×
mrpeanut188's Groups
mrpeanut188's Contact & Social Linksmrpeanut1881337p34nutmrpeanut188
Hello. :)

Fog by default is defined in your map's _art.gsc file. This should be found at MAPNAME/maps/createart.
Make sure there aren't any // on the same line before "level thread fog_settings();".

Look for something like the following in your file, that's what will control the fog:
Code Snippet
Plaintext
fog_settings()
{
start_dist = 440;
halfway_dist = 3200;
halfway_height = 225;
base_height = 64;
red = 0.533;
green = 0.717;
blue = 1;
trans_time = 0;

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

Should be self explanatory, change the numbers after the equals to your desired values. Make sure to leave the ; alone.

As for the sand, you already know it's an FX you want. Look into UGX's Easy-FX if you want an easy way to set it up.

If you need further clarification, just leave a reply.
Last Edit: August 15, 2016, 10:32:54 am by mrpeanut188

 
Loading ...