Ambient fmodstream (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Warning:Continues playing even when disconnecting, loading old saves, and starting new games.
AltNames: This entity is also tied to
SirYodaJedi (talk | contribs) (wack) |
SirYodaJedi (talk | contribs) (→Flags: spawnflags don't have real "defaults") |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{CD|CTargetFMODAudio|base=CPointEntity|goldsrc=triggers.cpp}} | {{CD|CTargetFMODAudio|base=CPointEntity|goldsrc=[https://github.com/HLSources/Spirit-of-Half-Life/blob/5ad2e00fe1546cc73e19255c75512a11ee3980c8/dlls/triggers.cpp#L2992 triggers.cpp]}} | ||
{{this is a|logical entity|name=ambient_fmodstream|engine=GoldSrc|game=Spirit of Half-Life|game1=Cry of Fear}} A specialized [[FMOD]] audio player within the game environment, designed to play audio files in formats such as [[MP3]], [[w:WMA|WMA]], and [[OGG]]. Unlike {{ent|ambient_generic|engine=goldsrc}}, it is non-spatial. | {{this is a|logical entity|name=ambient_fmodstream|engine=GoldSrc|game=Spirit of Half-Life|game1=Cry of Fear}} A specialized [[FMOD]] audio player within the game environment, designed to play audio files in formats such as [[MP3]], [[w:WMA|WMA]], and [[OGG]]. Unlike {{ent|ambient_generic|engine=goldsrc}}, it is non-spatial. | ||
| Line 11: | Line 11: | ||
== Flags == | == Flags == | ||
{{fl|1|Remove on fire| | {{fl|1|Remove on fire|When set, the entity is removed or triggered to stop playing the audio file upon a specific in-game event}} | ||
Latest revision as of 06:12, 2 December 2025
| CTargetFMODAudio |
ambient_fmodstream is a logical entity available in
Spirit of Half-Life and
Cry of Fear. A specialized FMOD audio player within the game environment, designed to play audio files in formats such as MP3, WMA, and OGG. Unlike ambient_generic, it is non-spatial.
trigger_mp3audio. Keyvalues
- Name (targetname) <string>
- The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
- Respects trigger_relay's USE_TYPE.
- File Name (message) <string>
- Specifies the relative path to the audio file within the

spirit\
Flags
- Remove on fire : [1]
- When set, the entity is removed or triggered to stop playing the audio file upon a specific in-game event