From d46183b6034fbf94f72761a2f5e70560014da1ca Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 5 Dec 2010 17:18:56 +0100 Subject: [PATCH] update entities.ent filer --- scripts/entities.def2ent | 0 scripts/entities.ent | 6 ++++++ 2 files changed, 6 insertions(+) mode change 100644 => 100755 scripts/entities.def2ent 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) -- 2.39.2