Ai debug los: Difference between revisions
Jump to navigation
Jump to search
MossyBucket (talk | contribs) (Created page with 'A console variable that is used to inspect what blocks NPC LOS. When active, anything that blocks NPC line-of-sight will be highlighted with white b…') |
m (Replacing {{console variable}}. This operation was performed by a bot.) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
A [[ | {{this is a|console variable|name=ai_debug_los}} | ||
A [[cvar]] that is used to inspect what (apart from ordinary world brushes) blocks [[line of sight]] for [[NPC]]s. When active, these obstructions will be highlighted with white bounding boxes. | |||
;ai_debug_los 0:Do not highlight anything. (Default) | ;ai_debug_los 0:Do not highlight anything. (Default) | ||
;ai_debug_los 1:Highlights all things that currently block | ;ai_debug_los 1:Highlights all things that currently block line of sight. | ||
;ai_debug_los 2:Highlights all things that can potentially block | ;ai_debug_los 2:Highlights all things that can potentially block line of sight as well (like disabled brushes that can be enabled). | ||
This variable is a [[sv_cheats|cheat]]. | This variable is a [[sv_cheats|cheat]]. | ||
Line 11: | Line 12: | ||
== See also == | == See also == | ||
* [[ | * [[Visibility optimization]] | ||
* [[Tool textures]] | * [[Tool textures]] | ||
Latest revision as of 18:24, 7 January 2024
ai_debug_los
is a console variable available in all Source games.
A cvar that is used to inspect what (apart from ordinary world brushes) blocks line of sight for NPCs. When active, these obstructions will be highlighted with white bounding boxes.
- ai_debug_los 0
- Do not highlight anything. (Default)
- ai_debug_los 1
- Highlights all things that currently block line of sight.
- ai_debug_los 2
- Highlights all things that can potentially block line of sight as well (like disabled brushes that can be enabled).
This variable is a cheat.