Skip to content

Attack

Added in 0.2.0
Specification
Applies to
Sounds
File
SOUND.INI / SOUND01.INI
Section
[<Sound ID>]
Value
integer
When omitted
Context-dependent`1` when the section's `Control=` sets `ATTACK`, else `0`. A section with no `Control=` line takes the `[Defaults]` count.

How many of the first names in Sounds= are attack samples. Each play draws one attack sample at random and plays it once, before the body. A looping sound plays it only before its first cycle.

Attack= sets the count even when Control= has no ATTACK.

sound01.ini
[ENGINE]
Sounds=START1 START2 RUN
Control=LOOP ATTACK
Attack=2

Each play of ENGINE starts with START1 or START2 and then repeats RUN until the game stops the sound.

An endless loop placed by the Play Sound Effect At trigger action stops while its waypoint is out of range. It restarts without its attack when the waypoint comes back into range, and after a saved game is loaded.

The attack and Decay= samples must leave at least one body sample in the list. When they do not, every sample is body and no attack or decay plays.

See also — Decay, Sounds, Control

History

  1. Added0.2.0In development

    Define sounds with the Yuri's Revenge SOUND.INI keys