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

[TF2] Egypt Arch Fix (v1.0.2, 2013-01-02)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Messy Recipe
New Member
Join Date: Jun 2012
Plugin ID:
2996
Plugin Version:
1.0.2
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Prevents engineers from building on the arch on Egypt, Stage 2, Point B
    Old 06-07-2012 , 21:23   [TF2] Egypt Arch Fix (v1.0.2, 2013-01-02)
    Reply With Quote #1

    Description

    I'm quite a fan of Egypt, but ever since the Wrangler made Sentry jumps possible, RED has been able to completely lock down Point B on the second stage by abusing this arch, turning many people off from the map.





    We run a 24/7 Egypt server and have had the arch exploit banned for some time, but the rule was often ignored when administrators were not present, and it was quite annoying to deal with in any case.

    I wrote this plugin to prevent construction from occuring in the first place. Whenever the current map is cp_egypt_final, the plugin will check the location of any newly-placed building. If that location is atop the arch, the building will explode, and a message will be displayed to the player informing them that they may not build there.




    ConVars

    sm_egyptarchfix_version -- Version


    Installation


    Just copy EgyptArchFix.smx into your sourcemod/plugins/ directory.


    Changelog

    Code:
    Version 1.0.2 - 2013-01-02
    * Fixed bug arising from previous version where reloading cp_egypt_final would disable plugin if enabled on previous run of map (and vice-versa)
    
    Version 1.0.1 - 2012-10-25
    * Fixed errors from failed UnhookEvent call occuring on other maps after second map change
    * Cleaned up coordinates check code
    
    Version 1.0.0 - 2012-06-07
    * Initial release

    Miscellania


    This will work on both 24/7 servers and servers with a rotation -- it checks for the proper map before hooking the building placement event.

    I may update this in the future to have the option of also blocking building above the first capture point of Stage 1, but because that spot is far less powerful (albeit still surprising) for experienced players, we have not banned it on our 24/7 server and thus I have not yet included it in this plugin. More likely, however, is that I'll simply use it as the basis for a more generalized coordinate-based nobuild with boundaries defined in CFGs.

    Attached Files
    File Type: sp Get Plugin or Get Source (EgyptArchFix.sp - 881 views - 1.7 KB)
    __________________
    -=|CT|=- Messy Recipe

    Last edited by Messy Recipe; 01-02-2013 at 05:42. Reason: Plugin updated
    Messy Recipe is offline
     



    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 20:09.


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