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

[ANY] Anti Rush (Version 1.3 Updated 01.07.2011)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Plugin ID:
2276
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Visually adds zones to any map where players aren't allowed to enter
    Old 03-15-2011 , 19:44   [ANY] Anti Rush (Version 1.3 Updated 01.07.2011)
    Reply With Quote #1

    Anti Rush

    This is an improved port of the EventScripts plugin "Anti Rush" by Glodny, which allows you to add zones to any map, where players aren't allowed to enter until a time has passed.

    This is a requested port by CenT.

    I've only tested it in CS:S and there is some extra functionality, if this plugin is run under CS:S:
    • CTs are allowed to rush, if T plant the bomb
    • Ts are allowed to rush, if a hostage starts following a CT
    If there are any other special events for other mods you want rushing to be allowed after, just post back ;)

    Map Configs:
    Each supported map has an own config file in sourcemod/configs/antirush/map_name.cfg.
    If you want to add one, just do so ingame or add a file by hand using the same structure as the other present files.
    Map configs for all default maps are included.

    Managing Zones:
    [IMG]http://img98.**************/img98/4603/antirushmainmenu.jpg[/IMG]

    Adding a new zone is easy:
    1. Type /zones in chat to open up the menu (requires the ADMFLAG_CONFIG ("i"))
    2. Choose "Add Zone"
    3. Shoot at the first corner of the box or press "e" (+use) to set it at your feet's position
    4. Shoot at the diagonally opposite corner of the box or press "e" (+use) to set it at your feet's position
    5. Type a name for that zone in chat
    6. Save
    Afterwards you see a menu with different options:
    [IMG]http://img843.**************/img843/9093/antirusheditzone.th.jpg[/IMG]

    You're able to edit each point you shot at manually any time:
    [IMG]http://img821.**************/img821/5879/antirusheditposition.th.jpg[/IMG]

    But don't forget to save your changes on the next page! Otherwise closing the menu or watching a different zone will reverse your changes.
    Saving will also save the zone to the map config file.

    Attention! Punishments 4 and 5 require SDKHooks!

    When using the knife only punishment, you should add 2 extra zones around your real punishing zone and set the one on Team 1's side to Team 1 only and the other one to Team 2 only respectively. Now set both "punishments" to 5 to allow using all weapons again, if a player steps back to his own side.

    Managing fences:
    Fences don't affect players at all. They're only shown to players, who aren't allowed to rush at the moment, so they know, where to stop.

    It's recommend to first set the fences on new maps and add the zones afterwards. Fences are handled the same as the zones, except you have to shot at the two ends on adding.

    You can change the color of the fences with the sm_antirush_fencecolor cvar.
    It uses RGBA values: (0-255) -> red green blue alpha.
    It defaults to red: 255 0 0 255.

    The fence you're currently editing is hidden.

    ConVars:
    • sm_antirush_enable - Should we take actions in zones and show the messages/fences? (Default: 1)
    • sm_antirush_norushtime - Time in seconds rushing is not allowed after round start? (Default: 120)
    • sm_antirush_punishment - How should the plugin handle players who enter defined zones? (Default: 1)
      • 1: Announce in chat
      • 2: Bounce back
      • 3: Slay
      • 4: Allow only the usage of the knife (requires SDKHooks)
      • 5: To compensate the above punishment - allow the usage of all weapons again. Not really a "punishment".
    • sm_antirush_lastmanrushing - Allow rushing if there is only one player left alive in a team. (Default: 1)
    • sm_antirush_adminimmunity - Should admins be allowed to rush? (Default: 0) Checks for the generic admin flag by default, but can be overridden with the "antirush_immune" fake command.
    • sm_antirush_fencecolor - Which color should the fences have? RGBA: red green blue alpha (Default: 255 0 0 255)
    • sm_antirush_showzones - Show the zones either when rushing is not allowed? (Default: 0)
    • sm_antirush_oneononerushing - Allow rushing if there is only one player left alive in BOTH teams. (Default: 0) This is obsolete, when setting sm_antirush_lastmanrushing to 1, but is useful for allowing rushing for knifefights only etc.
    Admin Command:
    Admins may use the sm_zones command to open the Anti Rush menu.

    Changelog:
    Quote:
    16.03.2011 Version 1.0:
    • Initial release
    18.03.2011 Version 1.1:
    • Added sm_antirush_fencecolor convar to set the color of fences.
    • Added option to set the team for zones a fences
    • Now taking mp_freezetime into account
    03.05.2011 Version 1.2:
    • Added sm_antirush_enable convar to disable the plugin when not needed
    • Added sm_antirush_showzones to show the zones same as the fences
    • Added option to set the positions of the fences/zones by pressing "e" when adding new ones
    • Added per zone punishment option. Defaults to the punishment set in the convar.
    • Now highlighting the position you're editing with a blue glow
    01.07.2011 Version 1.3:
    • Added sm_antirush_oneononerushing to allow rushing if there is only 1 player left in BOTH teams. This is obsolete, when setting sm_antirush_lastmanrushing to 1, but is useful for allowing rushing for knifefights only etc.
    • Added 2 new punishments optionally requiring SDKHooks:
      • 4: Allow only the usage of the knife
      • 5: To compensate the above punishment - allow the usage of all weapons again. Not really a "punishment".
    • Fixed not removing old zones and fences after changing to a map with no config already
    Credits:
    • Glodny: This plugin is based on his EventScript
    Attached Files
    File Type: zip antirush1.3.zip (53.0 KB, 6351 views)
    __________________

    Last edited by Peace-Maker; 11-24-2011 at 05:54. Reason: Released 1.3
    Peace-Maker is offline
     


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


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