Sound
Added in 0.2.0
Specification
- Applies to
- Themes
- File
THEME.INI + THEME01.INI- Section
[<Theme ID>]- Value
- string
- When omitted
- ComputedThe track's ID, which is also its section name.
Sound= names the file the music track plays, without an extension. The game looks for the name with .WAV, .OGG, .FLAC, .MP3 and .AUD in that order and uses the first file it finds, as a loose file in the game directory or as a member of a mounted archive. AUD audio explains where the game looks.
[Themes]30=MYTHEME
[MYTHEME]Name=Example themeSound=MYSONGHere the track’s ID stays MYTHEME, so triggers, scenarios and other tracks keep naming it that way, and the game plays the first MYSONG file it finds, such as MYSONG.OGG. Two tracks can name the same file. When no file with any of the extensions exists, the track is not available and is never played.
History
- Added0.2.0In development
Play music tracks from WAV, OGG, FLAC and MP3 files, and set each track's file and loudness