View Single Post
Author Message
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-20-2015 , 19:58   [CS:GO] Lasermines 1.5.1
Reply With Quote #1

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:
Spoiler


Screenshots
Spoiler


Thanks to the chalr for the Turkish translation.
Attached Files
File Type: zip Lasermine model (tplug).zip (34.7 KB, 1742 views)
File Type: sp Get Plugin or Get Source (csgo_lasermines 1.5.sp - 848 views - 38.9 KB)
File Type: smx csgo_lasermines 1.5.smx (24.7 KB, 1176 views)
File Type: sp Get Plugin or Get Source (csgo_lasermines 1.5.1.sp - 1434 views - 38.9 KB)
File Type: txt csgo_lasermines.phrases.txt (4.4 KB, 993 views)
__________________

Last edited by Grey83; 09-23-2018 at 11:09.
Grey83 is offline