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?
BonesTheRabbit Offline
Member

Posts: 68
Threads: 20
Joined: Feb 2012
Reputation: 2
#6
RE: Manipulating Fog Areas With Script?

(06-03-2015, 09:31 AM)Darkfire Wrote: 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.
Copying the area isn't really an option. Though I may circumvent the effect in another fashion.

(06-03-2015, 09:31 AM)Darkfire Wrote: 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.
Yeah, area fog isn't really what I'm looking for. Tried doing a mock-up even with look-at callbacks. Might fiddle with it a bit more, though.
06-03-2015, 09:50 AM
Find


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



Users browsing this thread: 1 Guest(s)