Skip to main content

weapon_tripmine

weapon_tripmine icon
Point entity

A weapon_tripmine gives a player who walks onto it a mine that players place on a wall, where it goes off when someone walks past. It fires its Target when a player takes it, and it doesn't come back after that.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Object Hint TemplateFeaturefulobjecthint

Shows brackets around the object for players near it. Within Hint Distance, the brackets are faint and in the HUD color. When the player is close enough to use the object and looks at it, the brackets take the color of the choice.

  • None (empty) - No brackets
  • button - Yellow, and orange while a master locks the object
  • charger - Green, and red while the charger is empty
  • eyescanner - Yellow
  • pickup - Yellow
Default None (empty)
Hint Distanceobjecthint_distance

Sets how far from the player's eyes the faint brackets show, in units, up to 4096. The object must be in front of the player and in sight.

If you leave this key empty or set 0, the distance is 512 units.

Colormapcolormap

Colors the parts of the model that a player model colors with the player's chosen top and bottom colors. A model without such parts doesn't change.

The 81 choices
  • Red top, red bottom (0)
  • Red top, orange bottom (5120)
  • Red top, yellow bottom (10240)
  • Red top, green bottom (17920)
  • Red top, light green bottom (28160)
  • Red top, light blue bottom (33280)
  • Red top, blue bottom (40960)
  • Red top, purple bottom (51200)
  • Red top, pink bottom (57600)
  • Orange top, red bottom (20)
  • Orange top, orange bottom (5140)
  • Orange top, yellow bottom (10260)
  • Orange top, green bottom (17940)
  • Orange top, light green bottom (28180)
  • Orange top, light blue bottom (33300)
  • Orange top, blue bottom (40980)
  • Orange top, purple bottom (51220)
  • Orange top, pink bottom (57620)
  • Yellow top, red bottom (40)
  • Yellow top, orange bottom (5160)
  • Yellow top, yellow bottom (10280)
  • Yellow top, green bottom (17960)
  • Yellow top, light green bottom (28200)
  • Yellow top, light blue bottom (33320)
  • Yellow top, blue bottom (41000)
  • Yellow top, purple bottom (51240)
  • Yellow top, pink bottom (57640)
  • Green top, red bottom (70)
  • Green top, orange bottom (5190)
  • Green top, yellow bottom (10310)
  • Green top, green bottom (17990)
  • Green top, light green bottom (28230)
  • Green top, light blue bottom (33350)
  • Green top, blue bottom (41030)
  • Green top, purple bottom (51270)
  • Green top, pink bottom (57670)
  • Light green top, red bottom (110)
  • Light green top, orange bottom (5230)
  • Light green top, yellow bottom (10350)
  • Light green top, green bottom (18030)
  • Light green top, light green bottom (28270)
  • Light green top, light blue bottom (33390)
  • Light green top, blue bottom (41070)
  • Light green top, purple bottom (51310)
  • Light green top, pink bottom (57710)
  • Light blue top, red bottom (130)
  • Light blue top, orange bottom (5250)
  • Light blue top, yellow bottom (10370)
  • Light blue top, green bottom (18050)
  • Light blue top, light green bottom (28290)
  • Light blue top, light blue bottom (33410)
  • Light blue top, blue bottom (41090)
  • Light blue top, purple bottom (51330)
  • Light blue top, pink bottom (57730)
  • Blue top, red bottom (160)
  • Blue top, orange bottom (5280)
  • Blue top, yellow bottom (10400)
  • Blue top, green bottom (18080)
  • Blue top, light green bottom (28320)
  • Blue top, light blue bottom (33440)
  • Blue top, blue bottom (41120)
  • Blue top, purple bottom (51360)
  • Blue top, pink bottom (57760)
  • Purple top, red bottom (200)
  • Purple top, orange bottom (5320)
  • Purple top, yellow bottom (10440)
  • Purple top, green bottom (18120)
  • Purple top, light green bottom (28360)
  • Purple top, light blue bottom (33480)
  • Purple top, blue bottom (41160)
  • Purple top, purple bottom (51400)
  • Purple top, pink bottom (57800)
  • Pink top, red bottom (225)
  • Pink top, orange bottom (5345)
  • Pink top, yellow bottom (10465)
  • Pink top, green bottom (18145)
  • Pink top, light green bottom (28385)
  • Pink top, light blue bottom (33505)
  • Pink top, blue bottom (41185)
  • Pink top, purple bottom (51425)
  • Pink top, pink bottom (57825)

Notes​

  • Only living players pick it up
  • A player who already has this weapon takes only its ammo. A player who also has full ammo leaves it on the floor
  • It falls to the floor when the map starts and lies flat there

See also​