Raised This Month: $32 Target: $400
 8% 

[TF2] Spawn Stickybomb Removal


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
3003
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    Makes sticky-camping spawns impossible!
    Old 06-10-2012 , 18:31   [TF2] Spawn Stickybomb Removal
    Reply With Quote #1

    [TF2] Spawn Stickybomb Removal
    Version 1.0.0


    Description:
    Removes stickybombs if they are placed within a (default: 150 units) radius of the other team's spawn door.

    The sticky-camping player will also be shown a hint message asking them to stop.

    Cvars:

    Install Instructions:

    1. Place NoStickySpawn.smx into your addons/sourcemod/plugins/ folder.

    Notes:
    This plugin uses the func_respawnroomvisualizer entity to detect locations.
    If your map does not have visualizers on the spawn doors, this plugin will not work.
    (Also you should stop running shitty maps).

    ToDo:
    • Cache spawn room entity indexes to optimize looping

    Version History:
    • V1.0.0
      • Initial Release
    Total downloads as prior to last edit: 0
    Attached Files
    File Type: sp Get Plugin or Get Source (NoStickySpawn.sp - 2066 views - 3.1 KB)
    __________________

    Last edited by DarthNinja; 11-03-2012 at 03:33.
    DarthNinja is offline
    Roundcat
    Senior Member
    Join Date: Feb 2012
    Old 06-10-2012 , 18:50   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #2

    Great idea! Installing now...would be funny if they changed to the enemy colur (like when a pyro blows them back) when placed so that the nasty demo hurts his own...if they are about.

    I take it this is just active on the enemies spawn door area? Be gear to extend it to sentries too.
    __________________
    I know not my ar*e from its elbow.

    Last edited by Roundcat; 06-10-2012 at 18:51.
    Roundcat is offline
    FudgePoly
    Senior Member
    Join Date: Jul 2011
    Old 06-10-2012 , 19:58   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #3

    Will this remove any sticky placed in the radius or only stickies from the enemy team?
    FudgePoly is offline
    sejin513
    AlliedModders Donor
    Join Date: Dec 2008
    Location: ._.
    Old 06-10-2012 , 20:02   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #4

    Quote:
    Originally Posted by FudgePoly View Post
    Will this remove any sticky placed in the radius or only stickies from the enemy team?
    only enemy team's stickybomb removal.
    sejin513 is offline
    Smarmy
    Senior Member
    Join Date: Mar 2012
    Old 06-11-2012 , 08:41   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #5

    For a map like Dustbowl and I'm sure lots of other maps, RED sets up during the setup round and part of the defense is laying stickies at the gate (1st Stage). I don't plan to use this as I think spawn camping is a valid tactic on most maps, but, perhaps a cvar to disallow a specific team from doing it?

    Maybe sticky_blu_enable 0/1 sticky_red_enable 0/1

    Last edited by Smarmy; 06-11-2012 at 08:42.
    Smarmy is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 06-11-2012 , 09:30   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #6

    does it break stickybombs flying through team barrier? (no check for m_bTouched?)

    also
    any chance you add a cvar to set timer interval?

    Last edited by Leonardo; 06-11-2012 at 10:01.
    Leonardo is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 06-13-2012 , 22:02   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #7

    Quote:
    Originally Posted by Smarmy View Post
    For a map like Dustbowl and I'm sure lots of other maps, RED sets up during the setup round and part of the defense is laying stickies at the gate (1st Stage). I don't plan to use this as I think spawn camping is a valid tactic on most maps, but, perhaps a cvar to disallow a specific team from doing it?

    Maybe sticky_blu_enable 0/1 sticky_red_enable 0/1
    I didn't really intend this to be used on maps like dustbowl where one team attacks and one defends. But I'll see about adding those cvars at some point.

    Quote:
    Originally Posted by Leonardo View Post
    does it break stickybombs flying through team barrier? (no check for m_bTouched?)

    also
    any chance you add a cvar to set timer interval?
    The plugin does not care about the value of m_bTouched (I'm not sure why it should.)
    I'm not going to add a cvar for the timer because a higher value would look shitty, and a lower value would increase the possibility of lagging the server (currently it's tested to run fine with 32*8 stickies in play).
    __________________
    DarthNinja is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 06-14-2012 , 09:21   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #8

    Quote:
    Originally Posted by Smarmy View Post
    For a map like Dustbowl and I'm sure lots of other maps, RED sets up during the setup round and part of the defense is laying stickies at the gate (1st Stage). I don't plan to use this as I think spawn camping is a valid tactic on most maps, but, perhaps a cvar to disallow a specific team from doing it?

    Maybe sticky_blu_enable 0/1 sticky_red_enable 0/1
    I'm surprised that DarthNinja didn't already point this out, but...

    Gates that remain open don't use respawnroomvisualizers, so won't be affected by this.

    You can tell what has a respawnroomvisualizer because the other team will see the "No" symbol when they get close enough to it.

    No, the areas I can see that will cause a problem are spawn rooms that are not currently active on maps where spawnrooms move, 5CP maps in particular since they never change ownership.
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 06-14-2012 at 09:23.
    Powerlord is offline
    dstoler
    Member
    Join Date: Nov 2012
    Old 05-05-2013 , 19:18   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #9

    Hey DN, I installed this on my 24/7 harvest server and it caused unplayable low fps lag. Pings were fine but it was very jumpy. I just left it at the default setting it comes with and there were only 8 people on the server at the time. Also no one was even a demoman. I see you guys already talked about lag issues possibly Im just adding my experience.
    dstoler is offline
    dstoler
    Member
    Join Date: Nov 2012
    Old 05-05-2013 , 21:07   Re: [TF2] Spawn Stickybomb Removal
    Reply With Quote #10

    Edit from my above post. I do apologize. Turns out the lag was caused by weapon_limits plugin. Ouch, I jumped the gun on that one. Your plugin is installed again and no issues.
    dstoler 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 01:20.


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