PAS: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
{{stub}}
[[PAS]] or '''Potentially Audible Set'''
'''PAS''' ('''Potentially Audible Set''') is the set of [[visleaves]] which are ''audible'' from the visleaf occupied by the [[NPC Sensing|Sensing NPC]] or Player. Generally, the PAS is one visleaf further than the [[PVS]], and is not limited by the view frustum. Similar to [[PVS]], A PAS-test is only the first filter that a sound must pass in order to be audible to the NPC{{clarify}}. Like with the [[PVS]], and [[areaportal]] can be used to toggle whether a visleaf is part of the PAS; this is integral for preventing NPCs from hearing the player behind closed doors.


{{todo|clarify: PAS is a kind of bounding-box for Player or NPC AI sound detection. It is measured as the set [[visleafs]] which are ''audible'' from the visleaf occupied by the [[NPC_Sensing|Sensing NPC]] or Player. Similar to [[PVS]], A PAS-test is only the first filter that a sound must pass in order to be audible to the NPC. (note: PAS is referred to in BSP compile log). See [[Talk:NPC_Sensing]]}}
{{note|{{quake2|4}} uses the term PHS (Potentially Hearable Set) instead.}}
==See also==
* [[PVS]]
*[[NPC Sensing]] - The group that PAS falls under.
*[[AI Perception Behavior Enhancement]] - An easy code edit that will make an NPC investigate any sound it hears.
*[[Talk:NPC Sensing]] - Information about PAS.


[[Category:Glossary]]
[[Category:Glossary]]

Latest revision as of 07:15, 28 March 2025

Stub

This article or section is a stub. You can help by expanding it.

PAS (Potentially Audible Set) is the set of visleaves which are audible from the visleaf occupied by the Sensing NPC or Player. Generally, the PAS is one visleaf further than the PVS, and is not limited by the view frustum. Similar to PVS, A PAS-test is only the first filter that a sound must pass in order to be audible to the NPC[Clarify]. Like with the PVS, and areaportal can be used to toggle whether a visleaf is part of the PAS; this is integral for preventing NPCs from hearing the player behind closed doors.

Note.pngNote:Quake II Quake II uses the term PHS (Potentially Hearable Set) instead.

See also