five-on-it / packages/ai/src/profiles / SWAT_PROFILES
Variable: SWAT_PROFILES
constSWAT_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'sshields.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
readonlybreacher:object
breacher.lethal
readonlylethal:BehaviourProfile
breacher.soft
readonlysoft:BehaviourProfile
driver
readonlydriver:object
driver.lethal
readonlylethal:BehaviourProfile
driver.soft
readonlysoft:BehaviourProfile
grenadier
readonlygrenadier:object
grenadier.lethal
readonlylethal:BehaviourProfile
grenadier.soft
readonlysoft:BehaviourProfile
handler
readonlyhandler:object
handler.lethal
readonlylethal:BehaviourProfile
handler.soft
readonlysoft:BehaviourProfile
negotiator
readonlynegotiator:object
negotiator.lethal
readonlylethal:BehaviourProfile
negotiator.soft
readonlysoft:BehaviourProfile
rifleman
readonlyrifleman:object
rifleman.lethal
readonlylethal:BehaviourProfile
rifleman.soft
readonlysoft:BehaviourProfile
shield
readonlyshield:object
shield.lethal
readonlylethal:BehaviourProfile
shield.soft
readonlysoft:BehaviourProfile