Rotating entities
coil
Amateur pirate. Professional monkey. All pance. Join Date: 2002-04-12 Member: 424Members, NS1 Playtester, Contributor
<div class="IPBDescription">What's possible?</div>Is it possible to make a mobile spotlight? I was looking at the tutorial for the rotating "alarm" light on valve-erc, and wondered if one could create, say, a light swinging like a pendulum from its fixture? A half broken flourescent light or a bare bulb dangling from a cord.
point #1: is it possible to make a brush rotate only a given angle - like, say, a door opening only 90 degrees - but constantly back and forth?
point #2: is it possible to make a light source do the same thing? I have a feeling this may not be doable.. however, it might be possible to fudge the effect with a stationary light source and a moving brush, similar to the rotating alarm light from the tutorial.
Anyway, just wanted to get your brains working on it.. might be a nice touch to add to your map. (:
point #1: is it possible to make a brush rotate only a given angle - like, say, a door opening only 90 degrees - but constantly back and forth?
point #2: is it possible to make a light source do the same thing? I have a feeling this may not be doable.. however, it might be possible to fudge the effect with a stationary light source and a moving brush, similar to the rotating alarm light from the tutorial.
Anyway, just wanted to get your brains working on it.. might be a nice touch to add to your map. (:
Comments
But yeah... not possible in HL. Yet.
(Note: I must add that it <i>is</i> possible to simulate moving light/shadows with clever use of multimanagers and such. Check out Merk's fan shadows, for an example. The only big problem with doing this (other than the excessive amounts of work involved)... is the fact that you are more or less likely to run into "too many entities in visible packet" or "Too many lights on one face" errors.)
<!--EDIT|ken20banks|April 24 2002,17:05-->
One non-solid func_train on the ground with a texture of a bright circle on black, set to additive also, moving in sync with the pendulum (Will need about one or two dozen pathcorners to sync it right).
The light circle makes it look like there's actual light being cast, but the illusion is broken if someone stands under the light. Their model will not be illuminated, they'll be just as dark as before.
This effect would probably look best if you couldn't actually reach the light circle, like have it on the other side of a window.