Skip to main content

monster_barney

monster_barney icon
Point entity

The Cop is a guard with a pistol who fights on the side of the Feds, so Cops are enemies of the players.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Gun Statebodystate

Sets whether the Cop starts with its gun in the holster or in its hand.

  • Random (-1) - Each Cop picks one of the two at random
  • Gun Holstered (0)
  • Gun Drawn (1)
Default Gun Holstered (0)
Preview Sequencesequence

Only sets the animation of the model preview in the editor, because in the game the Cop's AI picks its animations.

The 71 choices
  • idle1 (0)
  • idle2 (1)
  • idle3 (2)
  • idle4 (3)
  • walk (4)
  • run (5)
  • shootgun (6)
  • shootgun2 (7)
  • draw (8)
  • disarm (9)
  • reload (10)
  • turnleft (11)
  • turnright (12)
  • laflinch (13)
  • raflinch (14)
  • llflinch (15)
  • rlflinch (16)
  • smlflinch (17)
  • cower_stand (18)
  • locked_door (19)
  • fall_loop (20)
  • barn_wave (21)
  • beat_grunt (22)
  • beat_gruntidle (23)
  • flashlight (24)
  • diesimple (25)
  • dieviolent (26)
  • diegutshot (27)
  • dieforward (28)
  • diebackward (29)
  • diecrump (30)
  • barnaclehit (31)
  • barnaclepull (32)
  • barnaclecrunch (33)
  • barnaclechew (34)
  • lying_on_back (35)
  • lying_on_side (36)
  • lying_on_stomach (37)
  • stuffed_in_vent (38)
  • standing_idle (39)
  • cprbarney (40)
  • cprbarneyrevive (41)
  • barney_dragvent (42)
  • dying_barney (43)
  • dying_barneyidle (44)
  • dying_friend (45)
  • dying_friendidle (46)
  • c1a3_bidle (47)
  • c1a3_ventb (48)
  • c1a3_emergeidle (49)
  • c1a3_emerge (50)
  • haulbarney (51)
  • intropush (52)
  • fence (53)
  • sit1 (54)
  • almostidle (55)
  • almost (56)
  • laseridle (57)
  • laser_top (58)
  • laser_bottom (59)
  • barneyfallidle (60)
  • barneyfall (61)
  • c3a2_draw (62)
  • unlatch (63)
  • retina (64)
  • relaxstand (65)
  • assassinated (66)
  • trackswitch (67)
  • pepsiswing (68)
  • pepsipush (69)
  • buttonpush (70)
Default idle1 (0)

In combat​

The Cop has 100 health, and each pistol shot deals 8 to 22 damage. It aims more tightly when the Co-op round has more players and when the server setting mp_junioracmar (set in server.cfg or in the server console) is higher. Outside Co-op, it aims as it does for 7 or more players. Players earn XP for the damage they deal to it. See Co-op for more details.

Notes​

  • A Cop only follows a player who presses the use key on it if it is a player ally, through Is player ally or the Classification "Player ally", and its Followage policy is Regular. See Common keys for more details

See also​

Changes since 1.38​

  • Fixed every Cop following a player who pressed the use key on it, even though Cops fight on the side of the Feds. A Cop now only follows if it is a player ally with the Followage policy Regular