1
0
Fork 0

- add <delay-sec>

- fix mixed indentation
This commit is contained in:
mfranz 2008-05-21 14:55:57 +00:00
parent 246ce973ec
commit 95a652be17

View file

@ -123,17 +123,17 @@ Configuration description:
once: the sample is played once.
this is the default.
looped: the sample plays continuesly,
looped: the sample plays continuously,
until the event turns false.
in-transit: the sample plays continuesly,
in-transit: the sample plays continuously,
while the property is changing its value.
<volume> / <pitch>
Volume or Pitch definition. Currently there may be up to 5
volume and up to 5 pitch definitions defined within one sound
event. Normally all offset values are added together and the
results after property calculations will be miltplied.
results after property calculations will be multiplied.
A special condition occurs when the value of factor is negative,
in which case the offset doesn't get added to the other offset values
but instead will be used in the multiplication section.
@ -141,17 +141,22 @@ Configuration description:
<property>
Defines which property supplies the value for the calculation.
Either a <property> or an <internal> should be defined.
The value is threated as a floating point number.
The value is treated as a floating point number.
<internal>
Defines which internal variable should be used for the calculation.
The value is threated as a floating point number.
The value is treated as a floating point number.
The following internals are available at this time:
dt_play: the number of seconds since the sound started playing.
dt_stop: the number of seconds after the sound has stopped.
<delay-sec>
Delay after which the sound starts playing. This is useful to let
a property start two sounds at the same time, where the second is
delayed until the first stopped playing.
<type>
Defines the function that should be used upon the property
before it is used for calculating the net result:
@ -250,8 +255,8 @@ Configuration description:
This can be useful for limiting cockpit sounds to the cockpit.
Creating a configration file:
----------------------------
Creating a configuration file:
------------------------------
To make things easy, there is a default value for most entries to allow a
sane configuration when a certain entry is omitted.