]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - extra/netradiant-1.5.0-win32/voretournament.game/data/entities.def
Make trigger_changelevel a target instead
[voretournament/voretournament.git] / extra / netradiant-1.5.0-win32 / voretournament.game / data / entities.def
index 90d4a12fc9ba32cf8d68f4699f167bc071b4a325..69993b30e7a35abe98ac3acd21050a31a8c791ad 100644 (file)
@@ -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.
@@ -1336,4 +1371,12 @@ fade_time: fade-in time
 fade_rate: fade-out time
 -------- SPAWNFLAGS --------
 START_OFF: the trigger is off initially
+*/
+
+/*QUAKED target_changelevel (0 .5 .5) (-8 -8 -8) (8 8 8)
+Loads another map when triggered. Useful in RPG and single player maps.
+When no chmap key is set, the entity just ends the match when triggered. The player / team with the highest score at that moment wins.
+-------- KEYS --------
+targetname: The name other entities can use to target this entity
+chmap: Map file to switch to, leave empty to make this entity just end the match instead
 */
\ No newline at end of file