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


Targetname:
Name <target_source>
The targetname that other entities refer to this entity by.
Start Hidden (targetname) <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.