Skip to content

five-on-it / packages/ai/src/roles / ROLES

Variable: ROLES ​

const ROLES: object

Defined in: packages/ai/src/roles.ts:62

The numbers of the roles.

Type Declaration ​

aimCone ​

readonly aimCone: 0.3 = 0.3

…within this angle of it (rad).

aimRange ​

readonly aimRange: 18 = 18

A weapon aimed at a target within this distance threatens it (m)…

boardSpeed ​

readonly boardSpeed: 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 ​

readonly driveReach: 8 = 8

A driver passes a point of its route this near it (m).

driveShare ​

readonly driveShare: 0.55 = 0.55

The share of its car's top speed a driver cruises at.

followGap ​

readonly followGap: 10 = 10

The gap a driver keeps behind what it follows (m).

followNear ​

readonly followNear: 2.5 = 2.5

A VIP on foot keeps this near its leader (m)…

followRun ​

readonly followRun: 6 = 6

…and runs beyond this (m).

guardRange ​

readonly guardRange: 25 = 25

A guard on alert this near a target threatens it (m).

hideSeconds ​

readonly hideSeconds: 30 = 30

A target cowers in its refuge this long before it gets up again (s).

meetRange ​

readonly meetRange: 3 = 3

A player this near a VIP becomes its leader (m).

noiseRange ​

readonly noiseRange: 22 = 22

A shot or a blast this near a target threatens it (m), a shot no farther than its weapon is heard.

refugeReach ​

readonly refugeReach: 1.5 = 1.5

A target is safe within this distance of its refuge (m).

walkReach ​

readonly walkReach: 1.2 = 1.2

Points of a route are walked within this distance (m).