description:
usage:
Lightning is a very simple, yet rather confusing thing to work with. I'm not sure who initially figured it out,
but I figured out how to use lightning after reading the documentation for the '10,000 volt surprise', which
was written by Dan Proietti . and Jeff Bedard and was found at the QuakeLab.
First, you must place an event_lightning somewhere in your map, and give it a
"targetname" of something unique, like "zap"
. Then you must decide where to place the electrodes, which are what the lightning will go between. The
electrodes are actually two func_doors. To set up the electrodes, you should
give both of them "targetname"s of "nothing"
or something unique that will never be triggered. Then, give them both "target"
s of "lightning". The actual lightning seems to appear about 12 units
below the func_doors.
Now, to trigger the lightning, you must set up a trigger entity to activate the "targetname"
of the event lightning, in this case "zap". To deactivate the trap, all I
have done is placed as button with no "target" entry, but I have added a
"killtarget" attribute that kills off the trigger.
keys/values
|
"targetname"
|
name of entity, trigger to start lightning
|
comments:
used to kill Cthon (shareware boss)
see also:
|