[nexuiz-commits] r8733 - in trunk: data/qcsrc/warpzonelib data/scripts misc/netradiant-NexuizPack/nexuiz.game/data
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Feb 28 14:58:52 EST 2010
Author: div0
Date: 2010-02-28 14:58:52 -0500 (Sun, 28 Feb 2010)
New Revision: 8733
Modified:
trunk/data/qcsrc/warpzonelib/server.qc
trunk/data/scripts/entities.def
trunk/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def
Log:
added entity documentation for warpzones
Modified: trunk/data/qcsrc/warpzonelib/server.qc
===================================================================
--- trunk/data/qcsrc/warpzonelib/server.qc 2010-02-28 19:46:40 UTC (rev 8732)
+++ trunk/data/qcsrc/warpzonelib/server.qc 2010-02-28 19:58:52 UTC (rev 8733)
@@ -419,12 +419,16 @@
entity warpzone_position_first;
entity warpzone_camera_first;
.entity warpzone_next;
-void spawnfunc_trigger_warpzone_position(void)
+void spawnfunc_misc_warpzone_position(void)
{
// "target", "angles", "origin"
self.warpzone_next = warpzone_position_first;
warpzone_position_first = self;
}
+void spawnfunc_trigger_warpzone_position(void)
+{
+ spawnfunc_misc_warpzone_position();
+}
void spawnfunc_trigger_warpzone(void)
{
// warp zone entities must have:
Modified: trunk/data/scripts/entities.def
===================================================================
--- trunk/data/scripts/entities.def 2010-02-28 19:46:40 UTC (rev 8732)
+++ trunk/data/scripts/entities.def 2010-02-28 19:58:52 UTC (rev 8733)
@@ -1739,3 +1739,32 @@
-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
model="models/weapons/g_fireball.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 - this will be the warp plane - the others should 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 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
+*/
+
Modified: trunk/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def
===================================================================
--- trunk/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def 2010-02-28 19:46:40 UTC (rev 8732)
+++ trunk/misc/netradiant-NexuizPack/nexuiz.game/data/entities.def 2010-02-28 19:58:52 UTC (rev 8733)
@@ -1739,3 +1739,32 @@
-------- MODEL FOR RADIANT ONLY - DO NOT SET THIS AS A KEY --------
model="models/weapons/g_fireball.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 - this will be the warp plane - the others should 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 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
+*/
+
More information about the nexuiz-commits
mailing list