Frictional Games Forum (read-only)
Area fog - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Area fog (/thread-25008.html)



Area fog - Icaab2608 - 04-05-2014

Can I deactivate(made no active) the area fog?
[img][Image: bandicam20_6898146_11563071.jpg][/img]


RE: Area fog - DnALANGE - 04-05-2014

I thought it was NOT possible..
Only thing you can try is SetEntityActive("YOURFOGAREA", false);
Give it a try.


RE: Area fog - Mudbill - 04-05-2014

PHP Code:
SetFogActive(bool abActive); 
PHP Code:
SetFogColor(float afRfloat afGfloat afBfloat afA); 
PHP Code:
SetFogProperties(float afStartfloat afEndfloat afFalloffExpbool abCulling); 

These are all you need.

Edit: Oh, I mistook them. These are for global fog.
Perhaps SetEntityActive works. I haven't tried.


RE: Area fog - FlawlessHappiness - 04-05-2014

Not sure. If not, a workaround is to have the exact same map copied some other place, and then teleport the player to the map with no fog.