ambient_soundscheme

From Valve Developer Community
Jump to: navigation, search

ambient_soundscheme is a point entity available in Vampire: The Masquerade - Bloodlines Vampire: The Masquerade - Bloodlines. This is an env_soundscape-similar entity to control sound in an area. The active soundscheme at any time is the last one that had line-of-sight to the player, and was within the radius.

Key Values

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Hidden (StartHidden) <choices>
Don't spawn the entity while the script command didn't sent.
Value Description
0 Yes
1 No
Start Enabled (start_enabled) <choices>
Value Description
0 No
1 Yes
Sound Scheme File (scheme_file) <vsndscheme>
The name of the Sound Scheme to use.
Corresponds to an entry in the 'sound/schemes/<name>.txt' file.
If you are using a custom scheme file (not presented in list) - please, use the full moddir-relative paths, like 'sound/Schemes/MyScheme.txt'.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
Kill
Removes this entity from the world.
FadeIn
Fades the sound up to full volume over a specified number of seconds, with a range from 0 to 100 seconds.
FadeOut
Fades the sound to silence over a specified number of seconds, with a range from 0 to 100 seconds.
FadeOutKill
Fades entity during given time and then removes this from world.
ScriptHide
Hide entity by specific python script.
ScriptUnhide
Spawn entity by specific python script if it was hided.