View Full Version : Creating Light out of Light_spot
06-01-2007, 08:18 PM
Is it possible to create the ball of light effect that "Light" gives you with "light_spot" or "light_dynamic"?
I'd assume is messing with the angles, however the only way I've seen to make this work is by setting Inner and Outer angles to -90 however get an error which says its "clipping" the lights, but I'm not sure what its being set to once its clipped.
06-02-2007, 12:27 AM
What are you trying to do? It sounds like you want a regular light that moves, right?
I haven't used light_dynamics very much because they were confusing. I couldn't get the light to shine the way I wanted it to.
06-02-2007, 09:44 AM
Yeah I'm trying to recreate the flare of HL2 in CSS and by doing so I'm using the flash grenade model of CSS and parenting it with a light_dynamic and a sprite. However, the only way I can get a "ball" of light is to either create 9 lights that shine everywhere or make 1 that is -90 degrees for its inner and outer angle. I get errors with the -90 and it says it is clipping the angles however it looks like a ball of light I just get errors. I'm not sure what the angle limits are for light_dynamic or how to use it properly (as I'm sure many are in the same situation) The developer wiki doesn't give much help either.
06-02-2007, 12:00 PM
have u tried using sprites instead? env_sprite, env_lightglow, env_sun can all be turned on or off
06-02-2007, 01:25 PM
For what you want to do, you might want to think about creating your own flare. That might involve a little bit of coding, but its something to look into.
Maybe you can import the flares from hl2 into css ...?
06-02-2007, 08:19 PM
I have the effect just with -90 for the inner and outer. I was just wonding if there was a way to do it without getting errors.... Aparently not.. It still works, just i get console errors.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.