Debug overlays: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added sv_massreport. It gets cleared for a single frame or tick by clear_debug_overlays then comes back)
Line 18: Line 18:
|-
|-
| {{command|r_drawmodelstatsoverlay}} || No
| {{command|r_drawmodelstatsoverlay}} || No
|-
| {{command|sv_massreport}} || No
|}
|}
{{todo|Complete the list.}}
{{todo|Complete the list.}}


[[Category:Debugging]]
[[Category:Debugging]]

Revision as of 20:10, 21 September 2024

In Source Source games there are various commands which show debug overlays displaying information useful for developers.

Clearing debug overlays

  • Launch the same command again you used to display the debug overlay.
  • Use clear_debug_overlays command. This does not affect some overlays.

List of Commands that display debug overlays

Name Affected by clear_debug_overlays
ent_text Yes
npc_squads/npc_combat Yes
physics_constraints Yes
r_drawlightinfo No
r_drawmodelstatsoverlay No
sv_massreport No
Todo: Complete the list.