five-on-it / packages/ai/src/awareness / AWARENESS
Variable: AWARENESS
constAWARENESS:object
Defined in: packages/ai/src/awareness.ts:44
The numbers of noticing.
Type Declaration
breakNoise
readonlybreakNoise:25=25
How far a light piece knocked loose is heard (m).
crouchSight
readonlycrouchSight:0.35=0.35
Crouched behind low cover, a player is seen within this share of a watcher's range.
doorNoise
readonlydoorNoise:6=6
How far a door opening or shutting is heard (m).
eyeHeight
readonlyeyeHeight:0.6=0.6
Height of a guard's eyes above its centre (m).
farFactor
readonlyfarFactor:0.3=0.3
At the edge of its range it sees a target this well (0..1).
nearShare
readonlynearShare:0.35=0.35
Within this share of its range a watcher sees a target as well as it can.
runMargin
readonlyrunMargin:0.8=0.8
Faster than walking by this much is running (m/s).
runNoise
readonlyrunNoise:8=8
How far a player running is heard (m).