five-on-it / packages/ai/src/roles / ROLES
Variable: ROLES
constROLES:object
Defined in: packages/ai/src/roles.ts:62
The numbers of the roles.
Type Declaration
aimCone
readonlyaimCone:0.3=0.3
…within this angle of it (rad).
aimRange
readonlyaimRange:18=18
A weapon aimed at a target within this distance threatens it (m)…
boardSpeed
readonlyboardSpeed:2=2
A VIP gets into its leader's car from this near its passenger's side (m), the car this slow (m/s).
driveReach
readonlydriveReach:8=8
A driver passes a point of its route this near it (m).
driveShare
readonlydriveShare:0.55=0.55
The share of its car's top speed a driver cruises at.
followGap
readonlyfollowGap:10=10
The gap a driver keeps behind what it follows (m).
followNear
readonlyfollowNear:2.5=2.5
A VIP on foot keeps this near its leader (m)…
followRun
readonlyfollowRun:6=6
…and runs beyond this (m).
guardRange
readonlyguardRange:25=25
A guard on alert this near a target threatens it (m).
hideSeconds
readonlyhideSeconds:30=30
A target cowers in its refuge this long before it gets up again (s).
meetRange
readonlymeetRange:3=3
A player this near a VIP becomes its leader (m).
noiseRange
readonlynoiseRange:22=22
A shot or a blast this near a target threatens it (m), a shot no farther than its weapon is heard.
refugeReach
readonlyrefugeReach:1.5=1.5
A target is safe within this distance of its refuge (m).
walkReach
readonlywalkReach:1.2=1.2
Points of a route are walked within this distance (m).