Moving Fake Dlights

I've received an email from Karloff, with details of what he was talking about - real cool effect.

This is what he typed, and what I also found out.

Hi DeMoNeye
Attached is something to get you started <zipped up files>
Just have a look at the map file to see how it's done.
if i remember correctly, the 'func_train' entity is not listed in GTK's default wolf setup, so you will have to manually add the following to your 'wolf_entities.def' file before opening the map:

snip...
//=============================================================================
/*QUAKED func_train (0 .5 .8) ?
Trains are moving solids that follow a string of path_corner entities. Trains in Q3A are very basic, they also require an origin brush (see Notes).
-------- KEYS --------
speed : speed of displacement of train (default 100 or overridden by speed value of path).
target : this points to the first path_corner of the path which is also the spawn location of the train's origin.
model2 : path/name of model to include (eg: models/mapobjects/pipe/pipe02.md3).
origin : alternate method of setting XYZ origin of the train's brush(es) and .md3 model included with entity (See Notes).
light : constantLight radius of .md3 model included with entity. Has no effect on the entity's brushes (default 0).
color : constantLight color of .md3 model included with entity. Has no effect on the entity's brushes (default 1 1 1).
-------- NOTES --------
Not sure if this works properly - comment by Tunnleram 4:22 PM 11/24/2001

1. Trains always start on in the game.
2. Trains do not damage the played when blocked.
3. Trains cannot emit sound.
4. Trains are not triggerable or toggle-able.
5. Trains cannot be block-stopped just by getting in their way, the player must be wedged between the train and another obstacle to block it.

Setting the origin key is simply an alternate method to using an origin brush. When using the model2 key, the origin point of the model will correspond to the origin point defined by either the origin brush or the origin coordinate value.*/
//=============================================================================
snip...

Few things.

1. I understand these can be applied to script_movers, but not tried.

2. I also understand you can't use face angles. So would, have to be a func_train instead

3. I amended the map to change the colours to red,green and blue.

4. I changed the speed to 100, 200 and 300 for the func_trains.

5. You can find the wolf_entities.def file normally in the \main\scripts directory. Just amend it with your standard text editor and add the text above to define the def.

6. Suggestions so far, are revolving red warning light on airfield or control room. Lighting from windows of moving vehicle . Glow from rocket powered vehicle. Headlights of moving vechile!

Thanks again Karloff for replying.

DeMoNEye