Skip to content

five-on-it / packages/ai/src/profiles / SWAT_PROFILES

Variable: SWAT_PROFILES ​

const SWAT_PROFILES: object

Defined in: packages/ai/src/profiles.ts:404

The police's specialists of six stars (police-swat.ts, swat-brain.ts), each with its gun once the player has used lethal force (lethal) and its non-lethal tool until then (M7):

  • the shield leads the team behind its ballistic shield (@foi/sim's shields.ts), the pistol (the taser) in its other hand;
  • the rifleman follows behind the shield with the rifle (the foam gun);
  • the grenadier flanks it with tear gas and smoke to throw (and the taser);
  • the breacher flanks it on the other side, flashbangs and the shotgun (the taser);
  • the driver stays at the SWAT van's wheel and works its sonic cannon;
  • a K9 handler follows its dog on the player's trail, the pistol (the taser);
  • a negotiator stands by the van and talks; it never shoots.

They see as the police do (60 m, 240°), do not know where the player is unless they see them (the radio tells them, police.ts), and never take a car.

Type Declaration ​

breacher ​

readonly breacher: object

breacher.lethal ​

readonly lethal: BehaviourProfile

breacher.soft ​

readonly soft: BehaviourProfile

driver ​

readonly driver: object

driver.lethal ​

readonly lethal: BehaviourProfile

driver.soft ​

readonly soft: BehaviourProfile

grenadier ​

readonly grenadier: object

grenadier.lethal ​

readonly lethal: BehaviourProfile

grenadier.soft ​

readonly soft: BehaviourProfile

handler ​

readonly handler: object

handler.lethal ​

readonly lethal: BehaviourProfile

handler.soft ​

readonly soft: BehaviourProfile

negotiator ​

readonly negotiator: object

negotiator.lethal ​

readonly lethal: BehaviourProfile

negotiator.soft ​

readonly soft: BehaviourProfile

rifleman ​

readonly rifleman: object

rifleman.lethal ​

readonly lethal: BehaviourProfile

rifleman.soft ​

readonly soft: BehaviourProfile

shield ​

readonly shield: object

shield.lethal ​

readonly lethal: BehaviourProfile

shield.soft ​

readonly soft: BehaviourProfile