Digital Paint Discussion Board

Development => Mapping => Topic started by: Wolf Man on March 15, 2007, 10:33:50 PM

Title: fog & lightning in map
Post by: Wolf Man on March 15, 2007, 10:33:50 PM
yo, im making a new map, wont be out for a while, but i need to know how would i add fog in the map, at certain thickness levels, and id there a way to make lightning, or even rain?
Title: Re: fog & lightning in map
Post by: Eiii on March 15, 2007, 11:03:35 PM
Fog is added with 'sky' 'fog (and then some numbers)'. You can look that up in the wiki, I think. However, the fog is uniform across the whole map, so if you have an indoor and outdoor area, the fog will be both outdoor AND indoor. Rain is possible with some fancy brushwork and moving textures, but the r_speeds and compile time would be hell, so that's not exactly feasible.
Title: _
Post by: P!nk on March 16, 2007, 12:23:51 AM
Post removed
Title: Re: fog & lightning in map
Post by: Clipz on March 16, 2007, 09:35:16 AM
To make fog you can just use a target_temp_entitiy and the style 45, set the target to A1
You also need to add a func_timer (make the target name A1) spawnflags , Start on... Wait .6 Random .5

Thats the way i make it... but the again that might actually be more of a smoke haha
Title: Re: fog & lightning in map
Post by: jitspoe on March 16, 2007, 06:07:31 PM
That's the smoke entity, and it will cause severe issues with framerates for some people.
Title: Re: fog & lightning in map
Post by: Wolf Man on March 17, 2007, 10:46:03 AM
i see, i wasnt going to use both rain and fog, that would be really bad looking, if there is no simple way of making active weather like rain ill just use fog, does the value of the numbers after fog effect how thick the fog is?
Title: Re: fog & lightning in map
Post by: Eiii on March 17, 2007, 01:47:36 PM
Yes.