[CS:S] TripMines v0.2.2

Release your plugins here!
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

[CS:S] TripMines v0.2.2

Postby iPlayer » Tue May 03, 2016 8:25 am

TripMines a.k.a. LaserMines v0.2.2



Description
This plugin allows you to plant mines on any solid surface by pressing TAB+E or executing +tripmine in your client console.

Installation
1. Install ControlledCvars and Advanced TranslationStrings custom packages
2. Download and unpack latest release of this plugin to your server folder
3. Download and unpack mine models and materials to your server folder

Launch by (you can add this to cfg/autoexec.cfg):

Code: Select all

sp plugin load tripmines


Configuration
Config file will be created in your cfg/source-python folder

Code: Select all

// Default Value: 1
// Enable/Disable TripMines functionality
   tm_enable 1


// Default Value: 0
// Allow/Disallow team kills with trip mines (also allows/dissalows destroying
//   friendly mines)
   tm_allow_teamkill 0


// Default Value: 3
// Initial number of mines given to a player. Special values: 0 - don't give
//   any mines, -1 - infinite mines.(ONLY SET IT TO -1 WITH NON-ZERO
//   mines_limit OPTION!!!)
   tm_mines_stock 3


// Default Value: 0
// Maximum number of planted mines player can keep at a time. Useful for DM
//   servers with remove_on_death option turned off OR for servers with
//   infinite_mines turned on. Set to 0 to disable.
   tm_mines_limit 0


// Default Value: 120
// Absolute damage amount for direct contact AND damage falloff base for long-
//   distance shots
   tm_damage_base 120


// Default Value: 0.25
// Damage falloff multiplier for long-distance shots (when mine is being shot
//   from a distance). If you set it to 2 and damage base to 100, a player
//   standing 32 units away from the mine will receive 100 - 32*2 = 36 HP of
//   damage.
   tm_damage_falloff_multiplier 0.25


// Default Value: 80.0
// Maximum distance (in units) between a player and a surface to plant the mine
   tm_plant_distance 80.0


// Default Value: 1
// Enable/Disable removing planted mines on owner's death
   tm_remove_on_death 1


// Default Value: 1
// Timeout (in seconds) after the mine has been planted before player can plant
//   another mine
   tm_plant_timeout 1


// Default Value: 2.0
// How much time (in seconds) does it take for the mine to activate
   tm_activation_delay 2.0


// Default Value: 4.0
// Time (in seconds) after the mine has beeped before it beeps again
   tm_beep_interval 4.0


// Default Value: "weapons/slam/mine_mode.wav"
// Sound to play when the mine is planted, leave empty to disable
   tm_plant_sound "weapons/slam/mine_mode.wav"


// Default Value: "buttons/button14.wav"
// Sound to play when the mine is activated, leave empty to disable
   tm_activation_sound "buttons/button14.wav"


// Default Value: "buttons/button17.wav"
// Sound to play when the mine beeps, leave empty to disable
   tm_beep_sound "buttons/button17.wav"


// Default Value: 5.0
// Delay (in seconds) before announcing TAB+E combination in the beginning of
//   the round (-1 to disable)
   tm_announcement_delay 5.0


Known issues
-//-
Last edited by iPlayer on Thu Oct 27, 2016 8:22 pm, edited 2 times in total.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: TripMines v0.2.2

Postby Ayuto » Wed May 04, 2016 11:55 am

Nice idea! :)
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: TripMines v0.2.2

Postby iPlayer » Wed May 04, 2016 12:03 pm

Not mine, though, it's pretty old. Just thought that I might create it for SP. I remember some old SM plugin that was called "TripMines" but couldn't find it anywhere, only found the one called "LaserMines". Same thing.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Re: [CS:S] TripMines v0.2.2

Postby iPlayer » Thu May 05, 2016 1:25 pm

Found a really funny exploit today on DeathMatch server if tm_remove_on_death is set to 0. You trap your own spawn with all the mines you have, then change team and wait for your teammates to blow up. What is more, is that your mines still retain your old team's color, so there's nothing suspicious.
Or you can go spectator and massacre both teams.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
Baster1985
Junior Member
Posts: 10
Joined: Tue Nov 20, 2012 1:21 am

Re: [CS:S] TripMines v0.2.2

Postby Baster1985 » Sat May 15, 2021 12:21 pm

sadly it dosent work anymore ^^


14:17:04 sp plugin load tripmines
14:17:07 [SP] Loading plugin 'tripmines'...

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 164, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 207, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/tripmines/tripmines.py", line 7, in <module>
from effects import temp_entities

ImportError: cannot import name 'temp_entities'


[SP] Plugin 'tripmines' was unable to be loaded.

Return to “Plugin Releases”

Who is online

Users browsing this forum: No registered users and 3 guests