Ambient soundscheme: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Entity|ambient_soundscheme|type=point|game=Vampire The Masquerade - Bloodlines}} This is an {{ent|env_soundscape}}-similar entity to control sound in an area. The active s...")
 
No edit summary
Line 2: Line 2:


== Key Values ==
== Key Values ==
{{KV|Name|intn=targetname|string|The name that other entities refer to this entity by.}}
{{KV targetname}}
{{KV|Start Hidden|intn=targetname|choices|Don't spawn the entity while the script command didn't sent.}}
{{KV|Start Hidden|intn=targetname|choices|Don't spawn the entity while the script command didn't sent.}}
:{| class=standard-table
:{| class=standard-table

Revision as of 09:59, 17 August 2023

Template:Entity 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>[ Edit ]
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 (targetname) <choices>
Don't spawn the entity while the script command didn't sent.
Value Description
0 No
1 Yes
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

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.