Monthly Target: $400 Donations: $147
 36% 

Anticamp Source


Post New Thread Reply   
 
Thread Tools Display Modes
Author
blade81
Senior Member
Join Date: Apr 2005
Plugin ID:
404
Plugin Version:
1.0.9.1a
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    70 
    Plugin Description:
    Detects camping players
    Old 05-31-2008 , 07:55   Anticamp Source
    Reply With Quote #1

    Anticamp Source

    Description:
    Detects camping and adds a beacon effect and beacon sound to camping players.
    It also displays a message to all players including the name of the camper, name of the weapon
    and current position on the map (CT Spawn e.g.).
    Use cvar sm_anticamp_camptime to define the camptime in seconds.
    This plugin detects afk players at spawn points and excludes from being punished.
    You can define the camptime for every single weapon.

    Cvars
    • sm_anticamp_enable 1
      "Set to 0 to disable anticamp"
    • sm_anticamp_beacon 1
      "Set to 0 to disable beacons"
    • sm_anticamp_slap 5
      "Amount of health decrease during camping every 2 sec."
    • sm_anticamp_health 15
      "Set to the health level below where camping is allowed"
    • sm_anticamp_radius 200
      "The radius to check for camping"
    • sm_anticamp_camptime 40
      "The amount of times a suspected camper is checked for"
    • sm_anticamp_t_camp 1
      "Set to 1 to allow camping for t on cs maps. 0 = Disable"
    • sm_anticamp_ct_camp 1
      "Set to 1 to allow camping for ct on de maps. 0 = Disable"

    Credits:
    This plugin is originally by dalto (can be found here). It was abandoned until I fixed some bugs, creating version 1.0.8.2

    Changelog:
    1.0.9.1a
    - made compatible with latest sm 1.3x
    - some bug fixes and improvements

    1.0.8.8
    - improved camp msg with unrecognized zones on custom maps

    1.0.8.7
    - added ability to define the camp time for each weapon
    - added anticamp_weapons.cfg

    1.0.8.6
    - improved afk detection at spawn points
    - removed cvars sm_anticamp_poll_count and sm_anticamp_polls_needed
    - added new cvar sm_anticamp_camptime
    - reworked and improved the whole code
    - added config file

    1.0.8.5
    - on not cs and not de maps camping is no longer allowed
    - cts are not allowed to camp if the bomb has been planted
    - cts may camp if the bomb has been dropped.

    1.0.8.4:
    - removed cvar sm_anticamp_bomb_plant
    - removed cvar sm_anticamp_allow_t_camp
    - added cvar sm_anticamp_t_camp
    - added cvar sm_anticamp_ct_camp

    1.0.8.3:
    - Added cvar sm_anticamp_allow_t_camp

    1.0.8.2:
    - Compatibility with newest sourcemod
    - Added translation file
    - Added new beacon sound
    - Added auto detection of afk players at spawn points
    Attached Files
    File Type: zip anticamp_source.zip (17.1 KB, 7539 views)
    __________________

    Last edited by blade81; 12-23-2010 at 16:38. Reason: new version
    blade81 is offline
    junkies
    Junior Member
    Join Date: Apr 2008
    Location: Moscow Region
    Old 05-31-2008 , 09:35   Re: Anticamp Source
    Reply With Quote #2

    Can you add a customisable camp timelimit?
    junkies is offline
    Send a message via ICQ to junkies
    blade81
    Senior Member
    Join Date: Apr 2005
    Old 05-31-2008 , 11:17   Re: Anticamp Source
    Reply With Quote #3

    There is already such cvar. Just use sm_anticamp_poll_count to define the camptime in seconds.
    __________________
    blade81 is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 05-31-2008 , 11:26   Re: Anticamp Source
    Reply With Quote #4

    If I put this on our servers it would be slapping the lot every round!

    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    blade81
    Senior Member
    Join Date: Apr 2005
    Old 05-31-2008 , 12:43   Re: Anticamp Source
    Reply With Quote #5

    Quote:
    Originally Posted by MoggieX View Post
    If I put this on our servers it would be slapping the lot every round!

    Matt
    You mean due to camping? If so, then set sm_anticamp_slap to 0
    __________________
    blade81 is offline
    Molli
    SourceMod Donor
    Join Date: Aug 2007
    Location: Finland
    Old 06-01-2008 , 23:42   Re: Anticamp Source
    Reply With Quote #6

    Can T camp cs_maps ?
    Molli is offline
    blade81
    Senior Member
    Join Date: Apr 2005
    Old 06-02-2008 , 02:46   Re: Anticamp Source
    Reply With Quote #7

    Quote:
    Originally Posted by Molli View Post
    Can T camp cs_maps ?
    Not yet I can add this if you want.
    __________________

    Last edited by blade81; 06-02-2008 at 02:49.
    blade81 is offline
    Molli
    SourceMod Donor
    Join Date: Aug 2007
    Location: Finland
    Old 06-02-2008 , 11:43   Re: Anticamp Source
    Reply With Quote #8

    Quote:
    Originally Posted by blade81 View Post
    Not yet I can add this if you want.

    Ohhh yess

    T can watch hossies cause that is they job.
    And ct... can they camp before bomb is planted?
    Molli is offline
    blade81
    Senior Member
    Join Date: Apr 2005
    Old 06-02-2008 , 14:37   Re: Anticamp Source
    Reply With Quote #9

    Quote:
    Originally Posted by Molli View Post
    Ohhh yess

    T can watch hossies cause that is they job.
    And ct... can they camp before bomb is planted?
    No, cts can't camp until the bomb is planted.
    __________________
    blade81 is offline
    blade81
    Senior Member
    Join Date: Apr 2005
    Old 06-02-2008 , 17:14   Re: Anticamp Source
    Reply With Quote #10

    Quote:
    Originally Posted by blade81 View Post
    Not yet I can add this if you want.
    Added new cvar as requested.
    __________________
    blade81 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 09:43.


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