Raised This Month: $51 Target: $400
 12% 

[TF2Jump] Nobuild Patch (Sentry Jumping) - Deprecated


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AI_
Member
Join Date: Oct 2014
Location: Canada
Plugin ID:
4505
Plugin Version:
1.0.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Re-enables legacy sentry jumping for jump maps
    Old 01-28-2015 , 07:57   [TF2Jump] Nobuild Patch (Sentry Jumping) - Deprecated
    Reply With Quote #1

    Nobuild Patch re-enables legacy sentry jumping for jump maps

    ---
    This plugin is now deprecated as per Feb 18, 2015's TF2 update:
    Quote:
    Updated trigger_hurt entities to allow Engineers building in them when they are set for zero or negative damage
    Please uninstall this plugin to free up server resources.

    ---

    Details:
    This plugin was created in response to Valve's November 20, 2014 patch that prevents building inside trigger_hurt areas, which have been widely used in jump maps for health regen.

    All trigger_hurt entities with negative damage values (to prevent teleporter griefing) are removed and replaced with trigger_multiple in the same positions and with the same bounding box. All players touching the new brush will regenerate to full health about every half a second.

    See also: [FIX] trigger_hurt preventing engineer buildings

    Known issues:
    Due to generating brushes on the fly, there are a few side effects:
    • Server console will spam Setting CBaseEntity to non-brush model... on round start.
      Workaround: Use this extension to filter this out on the server side.
    • Using showtriggers_toggle will not be able to draw the bounding box for the trigger_multiple generated and spam ERROR: Can't draw studio model ... because CBaseEntity is not derived from C_BaseAnimating.
      Workaround: Players will not see this message unless triggers are toggled, but can filter this client-side using con_filter_enable "1"; con_filter_text_out "C_BaseAnimating".

    Plugin dependencies: SourceMod 1.6.3+, Updater (optional)

    The project code is open-source GPLv3 and available to be tracked at https://bitbucket.org/GeominorAI/nobuild-patch

    Change log:
    Spoiler
    Attached Files
    File Type: sp Get Plugin or Get Source (nobuildpatch.sp - 212 views - 4.4 KB)
    File Type: smx nobuildpatch.smx (12.6 KB, 187 views)

    Last edited by AI_; 12-17-2023 at 01:35. Reason: Depreciated
    AI_ is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 01-28-2015 , 14:24   Re: [TF2Jump] Nobuild Patch (Sentry Jumping)
    Reply With Quote #2

    To make the fix mentioned in the thread you posted:

    stripper:source
    https://forums.alliedmods.net/showthread.php?t=39439

    global_filters.cfg

    Code:
    insert:
    {
        "classname" "logic_timer"
        "OnTimer" "player,SetHealth,1000,-1"
    }
    And to make what your plugin does:

    This is untested, but probably does what your plugin does, but less costly (no SM overhead) and none of the error spam.
    (Replaces all trigger_hurt with negative damage values to a trigger_multiple that full-heals.

    0.5 is the rate that trigger_hurt damages. But it can be set faster with the wait keyvalue.

    Code:
    modify:
    {
        match:
        {   
           "classname" "trigger_hurt"
           "damage" "/^\-\d*(\.\d*)?$/"
        }
        insert:
        {
            "wait" "0.5"
            "OnTrigger" "!activator,SetHealth,1000,0,-1 "
        }
        delete:
        {
            "damage" "/.*/"
            "damagetype" "/.*/"
            "damagemodel" "/.*/"
            "damagecap" "/.*/"
            "nodmgforce" "/.*/"
        }
        replace:
        {
           "classname" "trigger_multiple"
        }
    }
    My motivation for doing this was that I already use con_filter for particles

    ;o

    Sadly there is no AddHealth input. I dunno how to do such a thing with just map entities.

    If that doesn't work, tell me and I'll try again.
    __________________

    Last edited by Chdata; 01-28-2015 at 15:14.
    Chdata is offline
    AI_
    Member
    Join Date: Oct 2014
    Location: Canada
    Old 02-18-2015 , 19:20   Re: [TF2Jump] Nobuild Patch (Sentry Jumping)
    Reply With Quote #3

    This plugin is now depreciated as per today's TF2 update:

    Quote:
    Updated trigger_hurt entities to allow Engineers building in them when they are set for zero or negative damage
    Please uninstall this plugin to free up server resources.

    Last edited by AI_; 02-18-2015 at 19:34.
    AI_ is offline
    Reply



    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 04:51.


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