This is a widget that draws volumetric ground clouds which scroll with the wind. That means, one of TA-derivative invisible economies can become very much visible!
It requires GLSL and won't work without. Being a widget means that if it is included in a map and then annoys some people, they can turn it off easily and without restarting the game.
Conceptually, it's a bastard child of jK's glsl ground fog in Blueprint's dual_fog widget, and this.
It is configurable in a map's mapinfo, like this:
Code: Select all
custom = {
clouds = {
speed = 1, -- multiplier for speed of scrolling with wind
color = {0.46, 0.32, 0.2}, -- diffuse color of the fog
-- all altitude values can be either absolute, in percent, or "auto"
height = "90%", -- opacity of fog above and at this altitude will be zero
bottom = 0, -- no fog below this altitude
fade_alt = "70%"; -- fog will linearly fade away between this and "height", should be between height and bottom
scale = 255, -- how large will the clouds be
opacity = 0.4, -- what it says
clamp_to_map = true, -- whether fog volume is sliced to fit map, or spreads to horizon
sun_penetration = 15, -- how much does the sun penetrate the fog
},
}
OBTAIN THUSLY
P.S. i've been thinking of putting it into Blueprint but i have failed to make it activate/deactivate based on mapOptions. Maybe i just used wrong case or something.