From 3a88e7ccfbf18d891c44e0d494f9b3fcd28b7077 Mon Sep 17 00:00:00 2001 From: div0 Date: Wed, 15 Apr 2009 23:21:50 +0000 Subject: [PATCH] document bgmscript git-svn-id: svn://svn.icculus.org/nexuiz/trunk@6495 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/scripts/entities.def | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/data/scripts/entities.def b/data/scripts/entities.def index ff24e51e3..a9f47a6e8 100644 --- a/data/scripts/entities.def +++ b/data/scripts/entities.def @@ -1147,10 +1147,18 @@ noise: sound to play when the particle is emitted atten: distance attenuation of the sound (a value from 0.1 to 3.9), default is 0.5; set to -1 for no attenuation (global sound) volume: volume of the sound targetname: name to target this (then its state is toggled) +bgmscript: emitter class from the BGM script +bgmscriptdecay: how fast the effect strength decays while it is active (0 = not at all, 1 = immediately, values in between are supported) -------- SPAWNFLAGS -------- START_ON: when targeted, the particle emitter will start switched on -------- NOTES -------- -Use trigger_monoflop if you want the particles to turn off for a while, then turn back on +Use trigger_monoflop if you want the particles to turn off for a while, then turn back on. +A BGM script is a .bgs file named like the map, in the maps directory. Its format is lines of the form +