From: MirceaKitsune Date: Mon, 3 May 2010 14:16:46 +0000 (+0300) Subject: entities.def for the gravity trigger. To be merged with the branch with the same... X-Git-Tag: xonotic-v0.1.0preview~175^2~1^2~3 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=commitdiff_plain;h=d90eb46e8aab3e1c95c9e115ea29a78ded643db0 entities.def for the gravity trigger. To be merged with the branch with the same name in xonotic-data.pk3dir --- diff --git a/scripts/entities.def b/scripts/entities.def index 8e6b9b5b..885cb5f9 100644 --- a/scripts/entities.def +++ b/scripts/entities.def @@ -1775,3 +1775,20 @@ 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 +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 +-------- SPAWNFLAGS -------- +STICKY: entities keep their gravity after leaving the gravity zone +*/ \ No newline at end of file