This article's documentation is for the "GoldSrc" engine. Click here for more information.

Ambient fmodstream (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{this is a|name=ambient_fmodstream|e0|engine=gldsrc|game=Cry of Fear}} Originally found in [[Spirit of Half-Life]]. A specialized [[FMOD]] audio player within the game environment, designed to play audio files in formats such as .[[mp3]], .[[wma]], and .[[ogg]].
{{this is a|point entity|name=ambient_fmodstream|engine=GoldSrc|game=Cry of Fear|game1=Spirit of Half-Life}} A specialized [[FMOD]] audio player within the game environment, designed to play audio files in formats such as .[[mp3]], .[[wma]], and .[[ogg]].
{{important|An analogue of this entity is {{ent|ambient_generic_(GoldSrc)|alt=ambient_generic}}}}
{{important|This entity is same to {{ent|ambient_generic_(GoldSrc)|alt=ambient_generic}}{{clarify}}}}


===Keyvalues===
===Keyvalues===
Line 6: Line 6:


== Flags ==
== Flags ==
{{fl|Remove on fire|When set to 1, the entity is removed or triggered to stop playing the audio file upon a specific in-game event}}
{{fl|1|Remove on fire|Default value 0. When set to 1, the entity is removed or triggered to stop playing the audio file upon a specific in-game event}}

Latest revision as of 13:12, 8 May 2025

ambient_fmodstream is a point entity available in Cry of Fear Cry of Fear and Spirit of Half-Life Spirit of Half-Life. A specialized FMOD audio player within the game environment, designed to play audio files in formats such as .mp3, .wma, and .ogg.

Icon-Important.pngImportant:This entity is same to ambient_generic[Clarify]

Keyvalues

File Name ([todo internal name (i)]) <string>
Specifies the relative path to the audio file within the 🖿spirit\

Flags

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