Jump to content
Sign in to follow this  
dmarkwick

JTD ClearHorizons with fog fix

Recommended Posts

This addon will give you a much better fog look to your missions, with no objects popping into view against the sky texture any more. This is a somewhat temporary addon as one day hopefully it will make it into a weather addon I still have designs on making.

Also, it includes the ClearHorizons sky textures that removes the painted mountains of the default sky texture.

Place this addon in your @JTD\Addons folder, or any mod addons folder you wish.

This addon only affects maps that use the ArmA2 background sky textures, I have not affected the OA map background sky textures.

This addon will replace the first weather overcast texture with the fog fix texture. This means that setting setOvercast = 0 will now display the gray background instead of the old blue background. The other overcast settings have been moved slightly: the next overcast setting is at 0.07 and is the sky_veryclear_sky texture, which is almost clear but not quite. Personally I have no use for the pure blue and see not much difference between pure blue and not quite pure blue :)

If you want your missions to use the fog fix then you must use "0 setOvercast 0" to set the sky to gray, and optionally set "0 setFog 1" to get full fog (i.e. more fog than the editor will give you), and your fog will look much better. If your mission gradually removes the fog you will see a very smooth transition from the fog fix texture to the next default sky texture.

Limitations:

Early morning or late afternoon will reveal a limitation of the effectiveness of the sky texture in the direction of the sun. There seems to be a lighting effect that can bring back the object-popping in that direction only.

Kindest regards

JTD.

news_download_a2_4.png

JTD ClearHorizons with fog fix

Depositfiles Download.

arma2oa2010-12-2604-20-48-67.jpg

6XBNjl_y7Hs

Edited by DMarkwick

Share this post


Link to post
Share on other sites
P.s. \\ OFFTOPIC // Where do you get the ACOG Reticle from?

Hmm, well I'm not sure :D it might be ACE2, most likely candidate.

Share this post


Link to post
Share on other sites

using a weather module in the editor works fine in OA and the fog effect is indeed much more convincing than the default one but the sky remains blue which is quite weird, and since that module overwrite weather settings how can I get rain effect ?

thanks

Share this post


Link to post
Share on other sites
using a weather module in the editor works fine in OA and the fog effect is indeed much more convincing than the default one but the sky remains blue which is quite weird, and since that module overwrite weather settings how can I get rain effect ?

thanks

You hardly ever get fog and rain at the same time, and as this addon only uses overcast 0 as fog background, the game engine will not naturally generate rain. I *think* overcast 0.7 is the rain cut-off value.

In my WIP weather addon I use a reducing viewdistance with heavy rain, but I don't get the fog background because of this necessary minimum overcast value of 0.7. The only way for me to overcome this is to also replace the last (1) overcast texture and have the overcast go to one position or the other.

Share this post


Link to post
Share on other sites
You hardly ever get fog and rain at the same time, and as this addon only uses overcast 0 as fog background, the game engine will not naturally generate rain. I *think* overcast 0.7 is the rain cut-off value.

In my WIP weather addon I use a reducing viewdistance with heavy rain, but I don't get the fog background because of this necessary minimum overcast value of 0.7. The only way for me to overcome this is to also replace the last (1) overcast texture and have the overcast go to one position or the other.

Ok I took a look at the wiki and got everything I wanted, I added to the module:

0 setOvercast .8; 0 setFog 1; setwind [10, 10, true]; 0 setrain .5

Now it's really creepy and thermal sights required, would be good for a zombie mod.

thanks

---------- Post added at 01:40 PM ---------- Previous post was at 01:32 PM ----------

talking about thermal sights I did a little search (http://en.wikipedia.org/wiki/Thermal_Weapon_Sight)

actually your fog system affect thermal signatures, is it a limitation or do you think you can fix it ?

Share this post


Link to post
Share on other sites

There's no way the sky texture can affect the thermal signature :) it's not really a "fog system", just a sky texture.

Share this post


Link to post
Share on other sites

Glad you released this as with the correction of the alpha texture bug I was wondering only other day when you'd get round to implementing your "proof of concept" fog.

Share this post


Link to post
Share on other sites
Glad you released this as with the correction of the alpha texture bug I was wondering only other day when you'd get round to implementing your "proof of concept" fog.

Yep that alpha shine thing was horrible :) as soon as that was fixed I enjoyed fog much more.

Share this post


Link to post
Share on other sites

Very nice, I love this.

One issue I have observed though:

When there is a certain wheather condition with partly cloudy skies going to sunny there is a "flickering" between the sky textures. This somewhat breaks the immersion.

Can this be fixed?

Many thanks!

A.

Share this post


Link to post
Share on other sites

For some reason this does not work for me.

I use ArmA2 + OA and if i load up Utes and place this in the init.sqf:

0 setOvercast 0;

Now the sky is just blue...

I thought i would get a grey sky, but it still total blue although i can see that the horizon is clear.

Any idea ?

Edited by Wiggum

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×