]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/entities.def
Description update
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.def
index 885cb5f98e86dd3a41160a8f8cea36720acad8a4..036d4fa40565baf0a2437857919273d237b8b898 100644 (file)
@@ -1775,20 +1775,14 @@ Must target a target_position that indicates the view to be shown (and whose ang
 target: must point to a target_position
 */
 
-/*QUAKED trigger_gravity (.5 .5 .5) ?
-An area in which gravity differs from the rest of the map. Only works if the gravity mutator is inactive (sv_gravity is set to default)
-This acts as a modifier from the normal gravity. eg: 0.5 is half of the normal gravity, 2 is twice the normal gravity.
--------- KEYS --------
-gravity: the gravity in this area
-noise: sound file to play when an entity enters this, leave empty to disable
-*/
-
-/*QUAKED trigger_gravity (.5 .5 1) ? STICKY
+/*QUAKED trigger_gravity (.5 .5 1) ? STICKY START_OFF
 An area where gravity differs from the rest of the map.
 This acts as a modifier over the normal gravity (sv_gravity). eg: 0.5 is half the normal gravity, 2 is twice the normal gravity.
 -------- KEYS --------
-gravity: gravity offset in this area
+gravity: gravity offset in this area, defaults to 0 if not set
 noise: sound to play when an entity enters the gravity zone, leave empty to disable
+targetname: you can use this to target the grazity zone with a trigger, which will toggle it when activated
 -------- SPAWNFLAGS --------
 STICKY: entities keep their gravity after leaving the gravity zone
+START_OFF: when targeted, the gravity zone starts off and is enabled upon triggering
 */
\ No newline at end of file