Name: Lasermines
Description: Plants a laser mine to the wall to kill players.
This plugin is a modification of the plugin
[CS:S, ZRiot & ZReloaded] Lasermines by
Despirator.
Since the plugin is written under SourceMod 1.6 and now with the CSGO is only compatible version 1.7+, then I do not advise to use this plugin on the server until will be made the rewritten version of this plugin (if it will be made).
Unlike the original plugin:- Has been fixed part of the code to be compatible with CS:GO (only Public version).
- Added 3 new CVars (below they are marked dark red).
Changes in 1.5.1:- Now you can stand on top of the laser mines models (Tnx 0sama)
Requirements: Needed
csgocolors.inc (by
klexen) and
lasermines.inc to compile.
Installation: Place compiled plugin (
csgo_lasermines.smx) into the plugins folder (
../addons/sourcemod/plugins/).
Place the translation file (
csgo_lasermines.phrases.txt) into the translation sfolder (
../addons/sourcemod/translations/).
Place the folders from the archive
Lasermine model (tplug).zip into the server folder (
../%your_dedicated_server%/csgo/).
Console Commands: sm_bm <amount or nothing> to buy or
sm_lm to plant the laser mines.
Console Variables:- sm_lasermines_enable - On/off switcher
- sm_lasermines_welcome_message - Message at the beginning of each round
- sm_lasermines_amount - The amount to give laser mines to a player each spawn (only if buy mode is disabled, -1 = Infinity)
- sm_lasermines_maxamount - The maximum amount of laser mines a player can carry. (0-Unlimited)
- sm_lasermines_damage - The damage to deal to a player by the laser
- sm_lasermines_explode_damage - The damage to deal to a player when a laser mine breaks
- sm_lasermines_explode_radius - The radius of the explosion
- sm_lasermines_health - The laser mines health. 0 = never breaked
- sm_lasermines_activatetime - The delay of laser mines' activation
- sm_lasermines_buymode - Enables buy mode. In this mode you will have to buy mines
- sm_lasermines_buyzone - Whether a player have to stay in buy zone to buy mines
- sm_lasermines_price - The price of the laser mines
- sm_lasermines_color_t - Terrorist's color. Set by RGB
- sm_lasermines_color_ct - Counter-Terrorist's color. Set by RGB
- sm_lasermines_allow_pickup - Allow players to pickup their planted lasermines
- sm_lasermines_allow_friendly_pickup - Allow players to pickup allies planted lasermines
- sm_lasermines_allow_enemy_pickup - Allow players to pickup enemys planted lasermines
- sm_lasermines_wpn - Enemy has died from this weapon. (Def. 'taser')
- sm_lasermines_hs - Headshot On/Off
List of available weapons:
Screenshots
Thanks to the
chalr for the Turkish translation.