page 2 - standard Quake entities

event_lightning
description:
    creates lightning
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:
func_bossgate
description:
    entity appears unless player has all four sigils
func_button
description:
    a button, used to trigger events
usage:
    A button is set up much like a door. You have to specify an direction (angle) which it will move, as well as a speed.
keys/values
    "target"
    "targetname"
    "killtarget"
    "wait"
    this is the event the button will trigger, when pressed
    allows a button to be triggered by other triggers
    this will kill certain entities, when used on their "targetname"
    number of seconds before resetting (-1 stays pressed)
see also:
func_dm_only
description:
    A teleporter that only appears in deathmatch games
see also:
func_door
description
    creates a door entity which be free opening, triggered open, or require the correct key
usage:
    Making a door is quite simple. First, create the brush(es) that will be the visible door. Then, select the brush, and turn it into a func_door entity. The only thing you will have to do to make it work, initially, is to set the correct opening angle (0 - 360, or -1 for up, -2 for down).

    A door can also be made to act as a platform that starts at the top position, and lowers. To do this, you must set the angle to -2 (down), and set the "lip" to the distance it must travel downward, minus the vertical thickness of the platform.
keys/values
    "targetname"
    "lip"
    "health"
    door's trigger name (use to make triggerable/togglable)
    amount remaining at end of move (can be negative)
    allows the door to be "shot" open
flags
    "start_open"
    "door_dont_link"
    "gold_key"
    "silver_key"
    "toggle"
    door starts open, when triggered it closes
    does not link action to multiple door brushes (?)
    requires gold key
    requires silver key
    door waits for trigger in both open and closed states
see also:
func_door_secret
description:
    create a secret door which must be shot or otherwise triggered open
usage:
    a secret door is constructed in the same way as the standard door, except that it has different flags and keys/values.
keys/values
    "targetname"
    "lip"
    door's trigger name (use to make triggerable/togglable)
    amount remaining at end of move (can be negative)
flags
    "open_once"
    "1st_left"
    "1st_down"
    "no_shoot"
    "always_shoot"
    once open, stays open
    first move is left of arrow
    first move is down from arrow
    only opened by trigger
    even if targeted, keep shootable
see also:
func_episode_gate
description:
    entity appears if player has appropriate episode sigil (can block player from entering the gate, once that episode has been completed.
flags:
    E1
    E2
    E3
    E4
    appears after completing episode 1
    appears after completing episode 2
    appears after completing episode 3
    appears after completing episode 4
func_illusionary
description:
    creates a brush that appears solid, but isn't
comments:
    cannot be killed by a "killtarget"
func_plat
description:
    creates a lift/elevator, which starts at the bottom, and rises to the top position
usage:
    First, create the brush structure, then turn it into a func_plat. In your map, the func_plat must be drawn in the elevated position, and its "height" key must be given a value equal to the distance it will "rise" (which, in the map, is the distance from the where it is drawn, to where it should start). This "height" value cannot be negative. For a platform that starts at the top, and descends, use a func_door.
keys/values
    "height" determines the distance the plat will move, once activated
see also:
func_train
description:
    a platform that moves along a path.
usage:
    Create the trains brush model first. Note that the train does *not* have to be created in the position you want it to first appear at, as it will warp to its first path_corner as soon as the level starts. This allows you to create proper lighting for it, even if it initially appears in a dark room. Once it is create you must specify its first stop target (path_corner).
keys/values
    "targetname"
    "target"
    if specified, then the train must be triggered to start
    the train's first stop target (path_corner)
see also:

last page    next page
The Forge: The Official Worldcraft Editing Site - ©1997