Monthly Target: $400 Donations: $334
 83% 

[TF2] Sticky Jumper Bombz


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
3907
Plugin Version:
1.1.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Approver:
    Plugin Description:
    Allows you to customize the maximum number of sticky jumper bombs that can be laid at once
    Servers with this Plugin:
     
    Old 09-16-2013 , 22:06   [TF2] Sticky Jumper Bombz
    Reply With Quote #1

    [TF2] Sticky Jumper Bombz

    v1.1.1

    Description:
    In response to today's nerfing of the Sticky Jumper, this plugin allows server admins to customize the number of stickybombs that can be laid at once with the Sticky Jumper.

    Cvars:
    • sticky_jumper_version - plugin version
    • sticky_jumper_auto_update - enables automatic updating (has no effect if Updater is not installed)
    • sticky_jumper_max_bombs - number of bombs that can be laid at once with the Sticky Jumper (defaults to 2)

    Overrides:
    Override "sticky_jumper_bombz" to only customize the maximum number of sticky jumper bombs if the user has a specific admin flag. Defaults to everyone.

    Requirements:
    Requires the TF2Items extension.

    Installation:
    Install TF2Items if you don't have it already, put sticky_jumper_bombz.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load sticky_jumper_bombz" into your console or rcon.

    Auto Update:
    Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.

    Changelog:
    • v1.1.0 (10/19/13)
      • Added ability to restrict bomb count by admin flag
    • v1.0.0 (9/16/13)
      • Initial release

    Download Plugin (sticky_jumper_bombz.smx)
    View Source (sticky_jumper_bombz.sp)


    Requires updater.inc and mckayupdater.sp to compile.
    __________________

    Last edited by Dr. McKay; 05-25-2014 at 09:22.
    Dr. McKay is offline
    serpentine
    I don't have a problem
    Join Date: Feb 2011
    Location: Madison, WI
    Old 09-16-2013 , 23:37   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #2

    Spuf rep incoming :p. Can be done with just the tf2items.weapons file alone yeah?
    __________________
    serpentine is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 09-17-2013 , 00:53   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #3

    Quote:
    Originally Posted by serpentine View Post
    Spuf rep incoming :p. Can be done with just the tf2items.weapons file alone yeah?
    Yup. I just wanted to provide a simple cvar for those scared of keyvalues.
    __________________
    Dr. McKay is offline
    VoiDeD
    SourceMod Plugin Unapprover
    Join Date: Mar 2009
    Location: Illinois, USA
    Old 09-17-2013 , 05:21   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #4

    It should be noted that creating a new item handle in TF2Items_OnGiveNamedItem will effectively leak handles.
    __________________
    VoiDeD is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 09-17-2013 , 06:48   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #5

    Use a global/static variable and close the handle every time you entr ogni
    __________________
    Profile - Steam Group - Plugins - Blog - Donate
    Add me on steam if you are seeking sp/map/model commissions.
    friagram is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 09-17-2013 , 15:03   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #6

    Quote:
    Originally Posted by VoiDeD View Post
    It should be noted that creating a new item handle in TF2Items_OnGiveNamedItem will effectively leak handles.
    Could've sworn I saw somewhere that TF2Items_OnGiveNamedItem would close the handle after it was done. Whatever, fixed.
    __________________
    Dr. McKay is offline
    Huntereb
    >:) (:<
    Join Date: Jul 2012
    Location: 'Murica
    Old 09-17-2013 , 20:05   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #7

    THANK YOU! xD
    __________________
    Join my Steam Group!

    My Multi-Mod TF2 server: huntereb2.linkpc.net

    Don't ask me for help unless it's something simple.
    Huntereb is offline
    CuriousG
    Senior Member
    Join Date: Feb 2012
    Old 09-18-2013 , 04:51   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #8

    Initially I thought it was for the sticky launcher. But for sticky jumper I don't have a problem with it. Guess it will teach people to properly jump with it. I don't know how many times I've seen people lay out 5 or 6 stickies to jump when it only required 2. People can still pogo but I'm sure it will break a lot of jump maps.

    Last edited by CuriousG; 09-18-2013 at 05:03.
    CuriousG is offline
    serpentine
    I don't have a problem
    Join Date: Feb 2011
    Location: Madison, WI
    Old 09-18-2013 , 07:31   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #9

    Quote:
    Originally Posted by CuriousG View Post
    Initially I thought it was for the sticky launcher. But for sticky jumper I don't have a problem with it. Guess it will teach people to properly jump with it. I don't know how many times I've seen people lay out 5 or 6 stickies to jump when it only required 2. People can still pogo but I'm sure it will break a lot of jump maps.
    Not really, most if not all jump maps have regeneration or the servers have plugins to do the same job. You don't often see people using more than two stickies even on jump maps, it's really just bad demos doing it.
    __________________
    serpentine is offline
    dotexe
    Senior Member
    Join Date: Aug 2013
    Old 10-18-2013 , 19:56   Re: [TF2] Sticky Jumper Bombz
    Reply With Quote #10

    Is there a way to configure the admin flags?
    dotexe is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:38.


    Powered by vBulletin®
    Copyright ©2000 - 2015, vBulletin Solutions, Inc.
    Theme made by Freecode