Please or Register to create posts and topics.

Isolated Fog

I know about creating fog for an entire map with the fog instance, but how would I go about doing it for just one room? I'm trying to have a bottomless pit for just one room and I don't want the fog effect for the entire map.

Thanks

Eye em we tard ted, sofa king we tard ted.
Maps:
Cube

Env_fogcontroller or something like that

spongylover123 wrote:
Env_fogcontroller or something like that

You are right.

You can give an output to the player to give him a special fog controller.
For example:

Code: Select all
OnTrigger
!activator
setfogcontroller
fog1

The last line is the name of the fog controller you want to give the player.

If you watch the instance coopcoop_lighting_ents.vmf you can find also 2 more !players.
!player -> normal player, singleplayer.
!player_orange -> orange player
!player_blue -> blue player
So you could also give the blue player another fog than the orange player.
For example:

Code: Select all
OnTrigger
!player_orange
setfogcontroller
fog_orange

If this gets triggered, the orange player will have another fog than the blue player.

If you meant this. With instance

Code: Select all
Blue fog in Room A
Grey fog(or none) in Room B

Just create triggers between chambers and set outputs wich activates other colored fog.

And if you have huge room, you can't put fog for one side, it must be whole level at once, but it can be disabled, enabled or changed.

The Corrupted - 1st place winner of the ThinkingWithPortals.com mapping contest 2012 !!

Does func_fogvolume work in portal 2? It was quite handly when mapping for the l4d series.

Remember when the platform was sliding into the fire pit and I said 'goodbye', and you were like 'NO WAY', and then I was all 'we pretended we were going to murder you?' That was great

Thanks for all the help!

Eye em we tard ted, sofa king we tard ted.
Maps:
Cube