Npc viewcone: Difference between revisions
Jump to navigation
Jump to search
Note:Despite its name, this command does not actually portray a viewcone, most importantly because it doesn't indicate how far the NPC can see.
Note:The game must be in Developer mode for this command to work properly.
Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: [[Image: → [[File:) |
Gameplayer (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
{{note|Despite its name, this command does not actually portray a viewcone, most importantly because it doesn't indicate how ''far'' the NPC can see.}} | {{note|Despite its name, this command does not actually portray a viewcone, most importantly because it doesn't indicate how ''far'' the NPC can see.}} | ||
{{ | {{devreq}} | ||
Revision as of 01:18, 28 August 2024
npc_viewcone
is a console command available in all Source games.

The npc_viewcone of this npc_zombie makes it clear that the player is currently outside its Field of View.
A console command that will display NPC fields of view. Two big red arrows will indicate the boundaries of the FOV (the horizontal boundaries of its viewcone), while a thinner yellow arrow indicates its Angle (where the NPC is facing).
This command takes an <npc_targetname> or an <npc_classname> as its argument. If no argument is specified, it picks the NPC that the player is looking at (through the crosshair !picker).

