ambient_music

From Sven Co-op
Jump to navigation Jump to search
ambient_music
Type

point

Status

supported

 


This entity is used to play music within a level. The difference from Ambient Generic is the volume being controlled via the CVar 'mp3volume' instead of 'volume'.

1 Keyvalues

Sound File : message

Name of the sound file to play. File Path starts in the 'sound'-folder, example: 'mymap/musicfile.ogg'.

Volume : volume

Set how loud the sound shall be in a range from 0 (not audible) to 10 (normal), but ultimately controlled by the player from the options menu.

2 Flags

1 : Start Silent

Music starts once the entity is triggered.

2 : Loop

Replays the music until toggled off.

4 : Activator Only