Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Guest

Haze/fog colour

Recommended Posts

Guest

I am wondering if it is possible to change the colour of the haze that OFP has....you know, how things get a bit grey towards the end of your view distance?

What I would like to be able to do is change the colour of this for a particular mod....so editing any resource/config.cpp/bin files etc is fine. I have had a long look through, but can't really find any values (I'm guessing it's not a texture tounge.gif ) that seem to refer to it....and I can't read Polish either.

So does anyone (hint...someone from BIS) know where these values are, what they mean and how to change them?

Also I would like to be able to do the same for Fog. Again, the same questions apply or are they getting their colour/alpha values from the same place?

This would really enhance the look and feel of the mod...make it far more immersive for the players. I am sure a few people would be interested in doing this for any TC mods.

Thx in advance.... smile.gif

Share this post


Link to post
Share on other sites

red haze would be good.

Or maybe blue fog  biggrin.gif

Im sure it would be possible with lots of scripting

Share this post


Link to post
Share on other sites
Guest

No...it wouldn't be possible with scripting as far as I can tell. That would be using a drop array type of thing.....very CPU/GPU intensive, and wouldn't look right. I'm thinking it is a core define buried somewhere in the guts of the game...just 3 or 4 numbers that can be changed.

What it would be possible to do with this is to change the look of the game....ie Winter island where the haze is more white, desert island where the haze is sandy/brown, australian island where the haze is that particular colour (Gum tree oil vapour on hot days....if you've seen it you know what I mean) etc etc etc......see what I'm getting at?

Share this post


Link to post
Share on other sites

Fog color is determined from sky texture - from the color sky texture has near horizont. I am afraid there is no way to change it via scripting.

Share this post


Link to post
Share on other sites
Guest

Thx Suma.....I guess that means the only way is to change the sky texture then... wink.gif

*pulls out photoshop*

biggrin.gif

Share this post


Link to post
Share on other sites

You could make the sky light reddish, and make a Mars map, and then you could fight Martians! biggrin.gifwow.giftounge.gif

Share this post


Link to post
Share on other sites
Guest

Yep.....I could... crazy.gifbiggrin.gif Actually it might be good for that Starship Troopers mod.... wink.gif

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (NavyEEL @ Feb. 28 2003,03:46)</td></tr><tr><td id="QUOTE">might i recommend some Purple Haze?   biggrin.gif<span id='postcolor'>

you beat me to it tounge.gif

Share this post


Link to post
Share on other sites
Guest

Hahahahahaha biggrin.gif OFP:Drug Induced Crisis? wink.giftounge.gif

Share this post


Link to post
Share on other sites
Guest

If anyone ever needs to know the name and location of the sky texture, here it is:

Jasno.pac in DTA/Data.pbo

There you go. And it works a treat. Pity .paa and .pac are such compressed formats sad.gif

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  

×