From: Rudolf Polzer Date: Sun, 5 Dec 2010 16:18:56 +0000 (+0100) Subject: update entities.ent filer X-Git-Tag: xonotic-v0.1.0preview~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d46183b6034fbf94f72761a2f5e70560014da1ca;p=xonotic%2Fxonotic-maps.pk3dir.git update entities.ent filer --- diff --git a/scripts/entities.def2ent b/scripts/entities.def2ent old mode 100644 new mode 100755 diff --git a/scripts/entities.ent b/scripts/entities.ent index 7ef0fa20..d340a49c 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -976,11 +976,17 @@ Aiming target for entities like light and trigger_push. Sound generating entity that plays sound files. If targeted, it plays the sound file every time when triggered. If not targeted, it loops the sound file as an ambient noise. +The sound name may also be of the form *soundname, and in that case the respective player sound is played -------- KEYS -------- path/name of .wav/.ogg file to play the activating button or trigger points to this. distance attenuation of the sound (a value from 0.1 to 3.9), default is 0.5 if targeted, 3 otherwise; set to -1 for no attenuation (global sound) volume of the sound +-------- SPAWNFLAGS -------- +the sound is looped and initially plays (the sound file MUST have the LOOP_START vorbis comment then!). It can be toggled by a trigger. +the sound is looped and initially does not play (the sound file MUST have the LOOP_START vorbis comment then!). It can be toggled by a trigger. +the sound plays with no attenuation (same as setting atten to -1) +the sound is played to the activator only when triggered (cannot be combined with LOOPED_ON and LOOPED_OFF)