The Forge Quake Entities
page 6 - Hipnotic entities

trap_spike_mine
description:
Wandering spike mine. Homes in on player, but moves more slowly when the player is watching it. Explodes on contact. It would be more correctly named a monster_spikemine, but hey, whatever...
Lightning
description:
trap_lightning - Continuously fire lightning.
trap_lightning_switched - Continuously fires lightning.
trap_lightning_triggered - When triggered, fires lightning in the direction set in QuakeEd.
usage:
From what i've tested so far, you have to set the angle of the lightning, and keep in mind that solid brushes will block the lightnings path, as will entities (ie: func_doors) which can be used to good effect. Levelord mentioned that info_notnull is used for targeting lightning, but I have not tested this yet.
keys/values:
"wait"

"nextthink"
"dmg"
"duration"
"state"
how long to wait between blasts (1.0 default) if in random mode
wait is multiplied by random
delay before firing first lightning, so multiple traps can be stagered.
how much damage lightning should inflict (30 default)
how long each lightning attack should last (0.1 default)
(switched only) 0 (default)initially off, 1 initially on.
flags:
random
boom
waits (wait * random) between blasts
make a thuinderous "boom" when lightning starts
see also:
Shooters
description:
trap_shooter - continuous fire
trap_spikeshooter - triggered shooter (no keys/values)
trap_switched_shooter - continuous fire, switches on/off
usage:
shoots spikes, lasers, lavaballs or rockets, depending on which flag is set. silent flag determines if lasers are silent or not. Fires the projectile in the direction set by angle.
keys/values:
"wait"
"nextthink"
"state"
time between spike (1.0 default)
delay before firing first spike, so multiple shooters can be stagered.
(only switched) 0 initially off, 1 initially on. (0 default)
trap_tesla_coil
description:
targets enemies in vicinity and fires at them
keys/values:
"wait" "dmg"
"duration"
"distance"
"state"
"count"
how much damage lightning should inflict (5 default)
how long each lightning attack should last (continuous default)
how far god's wrath should reach (600 default)
on/off for the coil (0 default is off)
number of people to target (2 default)
flags:
targetenemies: target enemies as well (?)
see also:
trigger_command
description:
When triggered, stuffs a command into the console to allow map designers to set server variables.
keys/values:
"message" is the command to send to the console.
see also:
trigger_damagethreshold
description:
Triggers only when a threshold of damage is exceeded. When used in conjunction with func_breakawaywall, allows walls that may be destroyed with a rocket blast.
keys/values:
"health" specifies how much damage must occur before trigger fires. Default is 60.
flags:
multi_use

invisible
tells the trigger to not to remove itself after being fired. Allows the trigger
to be used multiple times.
tells the trigger to not be visible.
see also:
last page    next page
The Forge: The Official Worldcraft Editing Site - ©1997