Debug overlays: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added sv_massreport. It gets cleared for a single frame or tick by clear_debug_overlays then comes back)
No edit summary
Line 8: Line 8:
|-
|-
! Name !! Affected by {{code|clear_debug_overlays}}
! Name !! Affected by {{code|clear_debug_overlays}}
|-
| {{command|ent_attachments}} || Yes
|-
|-
| {{command|ent_text}} || Yes
| {{command|ent_text}} || Yes

Revision as of 03:13, 30 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_attachments Yes
ent_text Yes
npc_squads/npc_combat Yes
physics_constraints Yes
r_drawlightinfo No
r_drawmodelstatsoverlay No
sv_massreport No
Todo: Complete the list.