Soundscape debug: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added language bar.)
No edit summary
Line 1: Line 1:
{{lang|{{PAGENAME}}|$title=soundscape_debug}}[[Category:Console Variables]][[Category: Sound System]]
{{lang}}{{CVar}}
[[Image:soundscape_debug_1_example.jpg|thumb|Soundscape_debug set to 1, displaying a few in-game soundscape entities in [[Portal]], neither of them active.]]
[[Image:soundscape_debug_1_example.jpg|thumb|Soundscape_debug set to 1, displaying a few in-game soundscape entities in [[Portal]], neither of them active.]]


Line 17: Line 17:
== See Also ==
== See Also ==
* [[Soundscapes]]
* [[Soundscapes]]
[[Category: Sound System]]

Revision as of 13:12, 27 June 2023

English (en)Translate (Translate)

Template:CVar

Soundscape_debug set to 1, displaying a few in-game soundscape entities in Portal, neither of them active.

A console variable that (when active) renders soundscape entities as purple cubes, each of them with a color-coded status line linking it to the camera.

It has three settings (0-2).

soundscape_debug 0
Off. Do not display any soundscape entities. (This is default.)
soundscape_debug 1
Displays all soundscape entities in the PVS.
soundscape_debug 2
Only display currently triggered soundscapes.

The status line is color-coded accordingly:

  • Green - Currently being triggered.
  • Yellow - Still active but not currently triggered.
  • Red - Inactive.

See Also