Killing Fog Indoors

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Killing Fog Indoors

Post by MPowell1944 »

Don't know if this should be in the Mapping or Scripting section.

I am currently making a SH map and have added a light layer of fog to the map. I am about to build 2 farmhouses, but I want the fog to not show inside the houses. Now, I know how to eliminate fog via a trigger, but whenever I look out a window of the house I can't see the fog until I step outside, which makes it unrealistic. How would I go about killing the fog indoors, yet still see it outdoors? Sounds confusing, but if you have any clue I would appreciate the help. Thanks.
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

I'm afraid the effect you're after can only be done with volumetric fog like in Q3A's death pits. I've fooled around with all kinds of farplane parameters and local triggers and such. It didn't work. :cry:
The farplane command in the script just clouds the player's view and with a trigger it is turned on or off completely. In fact farplane fog is not in the map itself but just in the player's view. However I'm not sure if it would be impossible to use volumetric fog in Mohaa. I still haven't got a clue as to why there's a common/fog texture available. It would be cool to have this feature available in Mohaa maps for sure. Maybe there's a former Q3 mapper somewhere who has experience in using local fog? Hmm I think I'm gonna read up the Q3shader and FAKK2 manuals again.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I think they removed volumetric fog so that it wouldn't interfere with farplane fog. Never tried very hard though.
Image
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

I used a trigger to activate a farplane ramp that would turn the fog on or off depending on which trigger you walked thru, but as said, I would look outside and see no fog. Oh well, thanks anyways.
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

on a diff note (its allowed I'm an admin :P ) : Nice to see you back mapping, and i'm glad you havn't let the majority of idiots over @ aa.com get to you
Admin
Image

.map Forums

Truth and Honor.
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

Well, thankyou sir.

I admit, it has been a rough ride, but I have found that aa.com is nothing but a flame-station. Since I have hopped back into mapping, I have found TMT and .map to be my best resources for giving and recieving help. I appreciate what you guys are doing and look forward to helping others out when I can.

:)
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

Well JV and me do attempt the odd rescue attempt from AA.com but its not always successful.......oh well so long as .map and TMT keep going :lol:
Admin
Image

.map Forums

Truth and Honor.
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

MPowell1944 wrote:I used a trigger to activate a farplane ramp that would turn the fog on or off depending on which trigger you walked thru, but as said, I would look outside and see no fog. Oh well, thanks anyways.
Rather than truning it on/off could you adjust the farplane distance; make it furthur away when indoors.
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

So while we are talking, how do you do the trigger thingy powelly? I need exact step by step cos my mumma beat my head with a rock when I was little......... everyday, er sorry mum.

Lol

Thanks
_Snake_
Sergeant
Posts: 52
Joined: Mon Mar 03, 2003 12:22 pm
Location: Canada
Contact:

Post by _Snake_ »

Just an idea powell, make a texture with fog and put it 1 unit behind the window (so it seems outside) and put a no draw texture on the other side of it ... and if you have to , hide it via a trigger when nessacery :D
:D
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

Some good ideas here. Adjusting the farplane farther out was something I didnt think of (odd). I will try that and attempt the fog texture.

Sumo, I do not remember off hand, but when I get home I'll grab the script and post it in this thread for you to grab.
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

I remember someone saying that the fog texture is redundant, but you could try it. I haven't checked this myself so it could be wrong, or I could of imagined it. I do that now and again ! :D
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Is there a tut on how this is done? Triggering fog on and off?

Thanks
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

I tried Mpowells tut on killing indoor fog and it didnt work for me, true thats no suprise but does anyone have a dl test map of it for me?

Thanks
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

I get this log error.

^~^~^ Script Error: binary '>' applied to incompatible types 'NIL' and 'int'

else if (level.fogplane < local.rampto) (maps/obj/abtf_bots.scr, 766)
else if (level.fogplane ^
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Post Reply