CSB Laser Mine

v1.0.0 0 downloads Daemon666 Última atualização: Jul 15, 2026

Place limited laser mines on walls: they draw a beam and hit the first enemy that crosses it, and owners can pick them back up.

CSB Laser Mine lets players stick trap mines to walls. Aim at a surface and type /mine: a mine is planted and fires a laser beam straight along your aim. A task traces that beam every fraction of a second, and the first living enemy whose body crosses the line takes damage (lethal by default). Look at your own mine and type /mine again to pick it back up. Each player is limited to a configurable number of active mines, so they stay a tactical tool rather than wall spam.

Inspired by Laser Mine by Fry!. Independent GPL re-implementation.

Features

  • /mine plants on the wall you are aiming at; /mine on your own mine retrieves it.
  • Per-player mine limit via csb_mine_limit.
  • Beam is traced with real line-segment math, so cover blocks it.
  • Damage, range and limit are all cvars.

Installation

  1. Enable the fakemeta and hamsandwich modules in modules.ini.
  2. Compile csb_lasermine.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map. Great on deathrun and fun maps.

Instalação

1. Enable the fakemeta and hamsandwich modules in addons/amxmodx/configs/modules.ini
2. Put csb_lasermine.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

Cvars

CVARDefaultDescription
csb_mine_enabled 1 Enable or disable laser mines.
csb_mine_limit 2 Maximum active mines per player.
csb_mine_damage 120.0 Damage dealt when an enemy crosses the beam.
csb_mine_range 700.0 Maximum beam length in units.

Comandos

CommandAccessDescription
say /mine Plant a mine on the wall you aim at, or pick up your own.

Registro de alterações — v1.0.0

1.0.0 - Initial release.
Versões →
Colaboradores: Daemon666 ✦
Autor original: Fry! Licença: GPL-3.0

Avaliação

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Baixar .sma
Arquivos:
csb_lasermine.sma main 7.3 KB

Requisitos

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opcional
ReAPI Opcional
Metamod Metamod / Metamod-r
Módulos fakemeta hamsandwich
Voltar aos Plugins