Moveable Light?


HoLyCoW
07-28-2004, 04:18 AM
Hey guys, I had another question.

I have the model mapmodels/bulb.mdl in my map, but here's what I wanted to do with it and I can't figure out how.

1) I want it so that when it get's hit (either by gunshot or explosion) it will trigger it's swing sequence.

2) I also need to attach a light entity so that it will also move when the swing sequence is triggered.

Can you guys tell me if this is even possible?

Ricochet
07-28-2004, 05:27 AM
Both are things which are really not possible in the HL engine. The swinging, maybe, but the moving light would be a bit too much.

I would either leave that out of the map or wait for Half Life 2, where you can do loads of stuff like that.

greenhorn
07-28-2004, 10:03 AM
you cant make the light move, but you could trigger it to turn off, or trigger another light to flicker when it gets hit. If you have the entities to spare you could trigger a huge sequence of little things, ie: dust falls from ceiling, bulb swings, light flickers, glass breaks, whatever

El Capitan
07-28-2004, 11:08 AM
or you could make a semi-transparent yellow brush tied to the func_pendulum entity, so the light "beam" is moving, but this is buggy and can cause rough FPS!

HoLyCoW
07-28-2004, 03:17 PM
Okay. Thanks guys.

Gorbachev
07-28-2004, 05:26 PM
You could probably create a line of lights that trigger on and off in a sequential line creating a sway effect. I've thought about this previously but never really tried it though.

El Capitan
07-29-2004, 04:53 AM
Originally posted by Gorbachev
You could probably create a line of lights that trigger on and off in a sequential line creating a sway effect. I've thought about this previously but never really tried it though.

Yeah was thinking this, but will most likely get out of sync after a while

Gorbachev
07-29-2004, 10:56 AM
If you used a multi-manager to do this I don't think it could de-sync.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.