From bf034465e5e013e009adb6a6a18af6f84503283b Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Fri, 24 Sep 2010 19:46:54 +0300 Subject: [PATCH] Add warpzones to entities.def. Not sure why they weren't there in Nexuiz (probably not finished yet) --- .../voretournament.game/data/entities.def | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/extra/netradiant-1.5.0-win32/voretournament.game/data/entities.def b/extra/netradiant-1.5.0-win32/voretournament.game/data/entities.def index 90d4a12f..b6da8754 100644 --- a/extra/netradiant-1.5.0-win32/voretournament.game/data/entities.def +++ b/extra/netradiant-1.5.0-win32/voretournament.game/data/entities.def @@ -1310,6 +1310,41 @@ FLOATING: the item will float in air, instead of aligning to the floor by fallin model="models/items/g_jetpack.md3" */ +/*QUAKED trigger_warpzone (1 .5 1) ? +A warp zone, i.e. seamlessly connecting two parts of the map. +One surface of this entity must have the common/warpzone shader (or a similar selfmade shader) - this will be the warp plane - the others must be common/trigger. +Must target, or be targeted by, another trigger_warpzone with a congruent common/warpzone surface. +Should target a target_position, or be targeted by a misc_warpzone_position. +Should be thick enough to fit a player entity (i.e. 32 units), preferably even thicker. +-------- KEYS -------- +target: must point to another trigger_warpzone, or... +targetname: must be pointed to by another trigger_warpzone. Should be pointed to by a misc_warpzone_position entity, or... +killtarget: should point to a target_position entity, or +*/ + +/*QUAKED trigger_warpzone_reconnect (1 .5 1) (-8 -8 -8) (8 8 8) +Reconnects (randomly) all warpzones with matching target when triggered +-------- KEYS -------- +target: must point to multiple trigger_warpzones, or be not set (then all warpzones may get changed) +targetname: name that identifies this entity so it can be triggered +*/ + +/*QUAKED misc_warpzone_position (1 .5 .25) (-8 -8 -8) (8 8 8) +Orientation specification for a trigger_warpzone +-------- KEYS -------- +target: must point to a trigger_warpzone +angles: must point perpendicular to the common/warpzone surface of the trigger_warpzone, and away from the trigger brush +origin: must be on the common/warpzone surface of the trigger_warpzone +*/ + +/*QUAKED func_camera (1 .5 1) ? +A camera, i.e. a surface that shows a view from another part of the map. +One surface of this entity must have the common/camera shader, the others should be common/caulk. +Must target a target_position that indicates the view to be shown (and whose angles also indicate the orientation of the view) +-------- KEYS -------- +target: must point to a target_position +*/ + /*QUAKED target_music (1 0 0) (-8 -8 -8) (8 8 8) Background music target (when this is used, the cdtrack line in mapinfo must not be used, and there MUST be a default target_music). When triggered, the background music is switched to the given track. -- 2.39.2