under the weather Created 18 years ago2006-11-25 21:52:33 UTC by Cat Like Thief Cat Like Thief

Created 18 years ago2006-11-25 21:52:33 UTC by Cat Like Thief Cat Like Thief

Posted 18 years ago2006-11-25 21:52:33 UTC Post #204078
hi folks

can anyone point me in the direction of a tutorial covering how to get stormy weather on my map, im looking for full on thunder and lightning like in de_storm

cheers! :D
Posted 18 years ago2006-11-25 22:55:32 UTC Post #204080
im guessin the lightning is easy really, light-env with a slow flicker? something along those lines, and the thunder wud have to be an imported sound, mp3 probably, am i along the right lines?
Posted 18 years ago2006-11-26 00:09:20 UTC Post #204086
There's already a de_storm map in CS1.6/CZ? :|

Anyway, if you want rain, you can use the brush-based env_rain entity... not sure about the lightning, but the slow flicker shouldn't happen in indoor portions of your map?

Good luck! I'd love to see nice weather effects.
Posted 18 years ago2006-11-26 07:33:03 UTC Post #204117
in the future, edit your previous post, rather than double posting
Archie ArchieGoodbye Moonmen
Posted 18 years ago2006-11-26 08:12:27 UTC Post #204123
how do i edit posts? :

i know theres already a de_storm map but i was looking for weather effects similar to what is in the map, i already know how to create rain and i pretty sure i can put in the thunder.wav sound file the only thing im having problems with is the lightning...

is there a way to slow down the time between the flickers of light? or even using multi manager? if anyone has come across any tutorials that cover this i wud be very grateful! :D
Posted 18 years ago2006-11-26 08:36:18 UTC Post #204125
in the light's properties, make your own with Custom appearance..

I cant remember exactly, but i think A = fully dark Z=fully bright.. i'm not sure though.

I think there is a tutorial on it somewhere on TWHL. i'll have a search.

Found it.

Custom Appearance: Used for designing your own custom effect or to give a named light an appearance other than Normal.
If you want to design your own light effect, you need to give the light a Name. The brightness will vary according to the strings of letters you enter in this property. If you want, you can trigger a light with a custom appearance and toggle the light on and off.
You give the light the appearance you want by specifying a string of letters (a-z) where a is completely dark and z is maximum brightness, the 4th number in the Brightness property. Letters in between a and z represent brightness levels in between. Each letter will give you about 1/10th of a second at that brightness. If you want more than a 10th of a second at that brightness, repeat the same letter. The letters do not have to go in alphabetical sequence and can be in any order that varies the light the way you want it. There is a maximum number of alpha characters you can enter of 142. So for a really slow pulse you could try: aaaabbbbccccddddeeeeffffgggghhhhggggffffeeeeddddccccbbbbbaaaa and this will give you about a six second dark to bright to dark effect.
Note: You can create some major funkiness by using capital letters, numbers or other characters instead of lower case letters in the custom appearance property! Since you're using Zoner's Half Life Tools and the most recent .fgd file (right?), you will have noticed that your light entity has a few extra values: ZHLT Fade and ZHLT Falloff.
The brightness of a real point source of light in nature will decrease as the inverse square of the distance it travels. That is, the brightness at 2 meters will be 1/4 of the brightness at 1 meter. If the brightness at 1 meter is 1/(1*1) = 1, the brightness at 2 meters is 1/(2*2), or 1/4. This "falloff" of brightness, the spreading out of light from a source, looks natural to us 'cause that's, like, how nature actually works. The ZHLT Fade and Falloff properties allow us to change the way the compiler calculates the brightness of a light as it gets farther and farther from its source.
Archie ArchieGoodbye Moonmen
Posted 18 years ago2006-11-26 09:38:06 UTC Post #204128
ur a star cheers mate i'll give it a go now!!
Posted 17 years ago2006-11-30 09:57:22 UTC Post #204572
Did it work? I'm interested to see what you come up with.
Archie ArchieGoodbye Moonmen
Posted 17 years ago2006-11-30 10:33:03 UTC Post #204576
For best random flickering, use a random event trigger (M_gargantua made an example map on that).
You must be logged in to post a response.