]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/entities.def
g-23: try -samplesize 4 again. Maybe it's no longer smurfed now...
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.def
index bf69aebda875a9d31b88f86217f2f98a5d6d5fe8..5ecb09e658f003a23804fa761646f453dfe10e99 100644 (file)
@@ -849,6 +849,9 @@ Teleport destination location point for trigger_teleport entities. Do not let it
 -------- KEYS --------
 targetname: make the trigger_teleporter point to this.
 target: target to activate when a teleporter targeting this is used
+target2: target to activate when a teleporter targeting this is used
+target3: target to activate when a teleporter targeting this is used
+target4: target to activate when a teleporter targeting this is used
 angle: direction in which player will look when teleported, OR use
 angles: pitch and yaw when coming out of the teleporter (also specifies the direction the player will aim when coming out)
 cnt: weight for random selection, in case a teleporter points at multiple misc_teleporter_dest
@@ -1081,6 +1084,9 @@ Touching this will teleport players to the location of the targeted misc_telepor
 Note that in Xonotic, teleporters preserve momentum of the player using them.
 -------- KEYS --------
 target: this must point to a misc_teleporter_dest entity. If it points to more than one, a destination is randomly selected on teleport.
+target2: target to activate when the teleporter is used
+target3: target to activate when the teleporter is used
+target4: target to activate when the teleporter is used
 team: team that owns this teleporter (5 = red, 14 = blue, etc) (when set, only this team can teleport)
 targetname: when targeted by a func_button, pressing the button will reassign the teleporter to the team of the activator.
 -------- SPAWNFLAGS --------
@@ -1769,8 +1775,13 @@ 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...
+target2: is triggered when a player ENTERS the warpzone (and warps away)
+target3: is triggered when a player LEAVES the warpzone (from the other warp zone to this one)
+target4: is triggered in both cases
 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
+warpzone_fadestart: start distance of fading out the warpzone
+warpzone_fadeend: end distance of fading out the warpzone (if viewer is further, warpzone is not rendered at all)
 */
 
 /*QUAKED trigger_warpzone_reconnect (1 .5 1) (-8 -8 -8) (8 8 8)
@@ -1794,6 +1805,8 @@ One surface of this entity must have the common/camera shader, the others should
 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
+warpzone_fadestart: start distance of fading out the warpzone
+warpzone_fadeend: end distance of fading out the warpzone (if viewer is further, warpzone is not rendered at all)
 */
 
 /*QUAKED target_music (1 0 0) (-8 -8 -8) (8 8 8)
@@ -1835,3 +1848,57 @@ targetname: you can use this to target the grazity zone with a trigger, which wi
 STICKY: entities keep their gravity after leaving the gravity zone
 START_OFF: when targeted, the gravity zone starts off and is enabled upon triggering
 */
+
+/*QUAKED relay_activate (0 1 0) (-8 -8 -8) (8 8 8) 
+Activates all .target's
+List of currently supported target ents:
+trigger_hurt
+trigger_heal
+trigger_impulse
+trigger_push
+trigger_teleport
+func_rotating
+func_bobbing
+func_button
+func_fourier
+func_vectormamamam
+-------- KEYS --------
+target: trigger all entities with this targetname when triggered
+targetname: name that identifies this entity so it can be triggered
+*/
+
+/*QUAKED relay_deactivate (1 0 0) (-8 -8 -8) (8 8 8) 
+Deactivates all .target's
+List of currently supported target ents:
+trigger_hurt
+trigger_heal
+trigger_impulse
+trigger_push
+trigger_teleport
+func_rotating
+func_bobbing
+func_button
+func_fourier
+func_vectormamamam
+-------- KEYS --------
+target: trigger all entities with this targetname when triggered
+targetname: name that identifies this entity so it can be triggered
+*/
+
+/*QUAKED relay_activatetoggle (0 1 1) (-8 -8 -8) (8 8 8) 
+Toggles all .target's de/active
+List of currently supported target ents:
+trigger_hurt
+trigger_heal
+trigger_impulse
+trigger_push
+trigger_teleport
+func_rotating
+func_bobbing
+func_button
+func_fourier
+func_vectormamamam
+-------- KEYS --------
+target: trigger all entities with this targetname when triggered
+targetname: name that identifies this entity so it can be triggered
+*/