Source-checkedGame modes & minigames

[TTT/2] M4 SLAM (Tripmine + Remote C4)

by Zaratusa · for Garry's Mod

NOTICE: This Addon only works for the "Trouble in Terrorist Town" and "Trouble in Terrorist Town 2" - Gamemodes. This weapon will not show up in sandbox mode. It's already included by default under…

754KDownloads
6 yr agoLast updated
39 KBFile size
Steam WorkshopSource

About [TTT/2] M4 SLAM (Tripmine + Remote C4)

From Steam Workshop

NOTICE: This Addon only works for the "Trouble in Terrorist Town" and "Trouble in Terrorist Town 2" - Gamemodes. This weapon will not show up in sandbox mode. It's already included by default under…

NOTICE: This Addon only works for the "Trouble in Terrorist Town" and "Trouble in Terrorist Town 2" - Gamemodes. This weapon will not show up in sandbox mode. It's already included by default under "Half-Life 2" Category.

Features

The M4 Selectable Lightweight Attack Munition is a buyable mine for Traitors, with two modes: Detonate mode, where you can manually detonate the mine. When you place the mine on a wall, the Tripmine mode gets activated and everyone who crosses the red laser, will detonate the mine. After a Traitor placed a mine, every Traitor gets a warning symbol on the position of the mine, just like C4.

Everyone who placed a mine, can pick it up again with the use key (Default: E). The mine is defuseable with the Defuser in both modes. After defusing the mine, it can be picked up and placed again by everyone. The mine can also be shot and destroyed by everyone.

The Laser of a Tripmine is just slightly visible to everyone who don't have a Defuser or is a Traitor.

Type: Equip1 Ammo: None Magazine: 2/5

Includes an individual .vmt and .vtf weapon icon.

ConVars


# Amount of SLAM's you receive, when you buy a SLAM.
 ttt_slam_bought [1..n] (default: 2)
# Maximum amount of SLAM's you can carry.
 ttt_slam_max [1..n] (default: 5)
# Can you buy the M4 SLAM only once?
 ttt_slam_limited_stock [0/1] (default: 1)

# When should the M4 SLAM explode in tripmine mode?
 ttt_slam_tripmine_explosion_mode [0..2] (default: 0)
 # 0: when any player crosses the beam
 # 1: when any non traitor crosses the beam
 # 2: when any non team mate crosses the beam

# How visible is the laser beam of the SLAM for innocents?
# It's always size 5 for traitors and detectives with a defuser.
 ttt_slam_beamsize [1..5] (default: 2)

Note: After changing these values, except for the beam size, you have to restart your map/server.

Server Infos

Add it to your server by following this guide: Workshop for Dedicated Servers You can add "slam_name", "slam_desc", "slam_full" and "slam_disarmed" to your translation file, to translate this addon.

Source

The whole source code can be found on GitHub, feel free to contribute.

Thanks for reading, enjoy and have fun!

Highlights

From source data

Footprint

A 39 KB download, rated a light load on a server.

Last update

Its author last shipped an update 6 yr ago.

[TTT/2] M4 SLAM (Tripmine + Remote C4) on Nxeon

From our catalogue
One-click install
Supported on Nxeon Garry's Mod servers. We download it from Steam Workshop, place it, and restart the server.
Server load
light
Smallest plan we suggest
Garry's Mod — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2020-07-06, released 2020-07-06, 39 KB

Game versions by loader

LoaderGame versionsNewest
Workshop

From 1 recorded build of [TTT/2] M4 SLAM (Tripmine + Remote C4).

Run [TTT/2] M4 SLAM (Tripmine + Remote C4) on a Garry's Mod server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “Workshop”

Game modes & minigames

Game modes, minigames and competitive formats for your server.

Compatibility

Game
Garry's Mod
File size
39 KB

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-10-10Open ↗
  • ✓AuthorZaratusa, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

[TTT/2] M4 SLAM (Tripmine + Remote C4), answered

Generated from the mod’s own source data.

Is it free?

Yes. [TTT/2] M4 SLAM (Tripmine + Remote C4) is free to download from Steam Workshop.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run [TTT/2] M4 SLAM (Tripmine + Remote C4) on a Garry's Mod server.

Deploy in about a minute from $3.99 a month, then add [TTT/2] M4 SLAM (Tripmine + Remote C4) in one click.