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.
Daemon666
1.0.0 - Initial release.
| csb_lasermine.sma main | 560c764 | 7.3 KB |
README.md
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
/mineplants on the wall you are aiming at;/mineon 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
- Enable the
fakemetaandhamsandwichmodules inmodules.ini. - Compile
csb_lasermine.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map. Great on deathrun and fun maps.
Installation
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
| CVAR | Default | Description |
|---|---|---|
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. |
Commandes
| Command | Access | Description |
|---|---|---|
say /mine |
|
Plant a mine on the wall you aim at, or pick up your own. |
Journal des modifications — v1.0.0
1.0.0 - Initial release.Versions →
Note
No ratings yet.
Download v1.0.0
Prérequis
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Optionnel |
| ReAPI | Optionnel |
| Metamod | Metamod / Metamod-r |
| Modules | fakemeta hamsandwich |
Contributeurs









