The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Script Help Fogareas
Streetboat Offline
Posting Freak

Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation: 56
#1
Fogareas

I was wondering if it's possible to change the color and density of fog within specific areas of the map using scripts? I'm writing a script that changes the level from daytime to night time, and everything works perfectly except the FogAreas I have outside, which stay the same whether I set them to active or not. I have tried using Global fog, and it looks terrible because I want it to have a nice 'warm' feeling inside the house and a 'cold' feeling outside, so I can't have any fog inside but heavy fog outside (hence the FogAreas).

Many thanks!

P.S. I have tried setting it so that the Global Fog just fades in and out when the player goes inside and out, but that looks bad because the fog is visible inside when one is outside, and vice versa. It rapidly changes density when the player steps in and out, which looks bad.

[Image: signature-2.png]
12-27-2012, 10:01 PM
Find


Messages In This Thread
Fogareas - by Streetboat - 12-27-2012, 10:01 PM
RE: Fogareas - by Your Computer - 12-27-2012, 10:08 PM
RE: Fogareas - by Streetboat - 12-28-2012, 08:41 PM
RE: Fogareas - by Ongka - 12-28-2012, 08:46 PM



Users browsing this thread: 1 Guest(s)