X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fentities.def;h=b3540f9988259d24ddaf39224587c2e675da8419;hp=8a89f28f1e408ede8d21e474ae702a2c521054e1;hb=25bb540106fb3b7306f0a94e1f3ce3877db7f456;hpb=f879e0523ca5a81650ea0edee80ad5a8410e25ae;ds=sidebyside diff --git a/scripts/entities.def b/scripts/entities.def index 8a89f28f..b3540f99 100644 --- a/scripts/entities.def +++ b/scripts/entities.def @@ -1803,3 +1803,14 @@ fade_rate: fade-out time START_OFF: the trigger is off initially */ +/*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, 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 +*/