From: MirceaKitsune Date: Mon, 3 May 2010 16:02:31 +0000 (+0300) Subject: Allow gravity zones to be triggered and toggled on or off. X-Git-Tag: xonotic-v0.1.0preview~175^2~1^2~2 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=commitdiff_plain;h=0f0df25e9d8b43313c039331826fa9f1dc87abc0 Allow gravity zones to be triggered and toggled on or off. --- diff --git a/scripts/entities.def b/scripts/entities.def index 885cb5f9..7ca2c5ef 100644 --- a/scripts/entities.def +++ b/scripts/entities.def @@ -1783,12 +1783,14 @@ 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 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