Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Manipulating Fog Areas With Script?
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
#5
RE: Manipulating Fog Areas With Script?

When I needed to make some decals appear (which isn't possible with script) I copied the whole area and teleported player there. Of course I added a fade out and some other tweaks (like sealing off the area) so it looked natural.
I hope this helps, although it isn't possible to make the fog fade this way.

Have you tried... ?
SetFogActive(bool abActive);
SetFogColor(float afR, float afG, float afB, float afA);
SetFogProperties(float afStart, float afEnd, float afFalloffExp, bool abCulling);

You might write a script with a timer that changes the fog very slightly and repeats. This should imitate slow appearing of the fog.

06-03-2015, 09:31 AM
Find


Messages In This Thread
RE: Manipulating Fog Areas With Script? - by Darkfire - 06-03-2015, 09:31 AM



Users browsing this thread: 1 Guest(s)