Anticamp CS:S with CS:GO support
Description:
It is an improved Version of Anticamp Source with some functions I've missed. I've added some CVARs and now it only fires if both teams have alive players (prevent wrong notifications). Also you can track campers in HLstats or on an other log parser. The CT's now have a blue beacon and you will really be slaped till death if you wish and not only freez with 0HP.
Logging event is "camper".
Cvars- sm_anticamp_enable 1
"Set to 0 to disable anticamp"
- sm_anticamp_beacon 1
"Set to 0 to disable beacons"
- sm_anticamp_take_cash 0
"Amount of money decrease while camping every 2 sec. Set 0 to disable"
- sm_anticamp_mincash 0
"Minimum money a camper reserves"
- sm_anticamp_blind 0
"Blind player while camping"
- sm_anticamp_slap_mode 1
"Set 1 to slap or 2 to slay (kills instantly). Set 0 to disable both"
- sm_anticamp_slap_dmg 5
"Amount of health decrease while camping every 2 sec. Ignored for slay"
- sm_anticamp_minhealth 15
"Minimum health a camper reserves. Set 0 to slap till dead. If slay set the health from which player will not be killed"
- sm_anticamp_punish_delay 2
Delay between camper notification and first punishment in secounds
- sm_anticamp_punish_freq 2
Time between punishments while camping in secounds
- sm_anticamp_minhealth_camp 1
"Set 0 to allow camping below minhealth. Set 1 to punish without damage"
- sm_anticamp_radius 120
"The radius to check for camping"
- sm_anticamp_camptime 30
"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_t_camp_planted 1
"Set to 1 to allow camping for Ts if bomb planted. Set to 0 to disable"
- sm_anticamp_ct_camp 1
"Set to 1 to allow camping for ct on de maps. 0 = Disable"
- sm_anticamp_ct_camp_dropped 1
"Set to 1 to allow camping for ct if bomb dropped. Is only needed if sm_anticamp_ct_camp is 0"
Installation instructions:
The anticamp_css_weapons.cfg and anticamp_csgo_weapons.cfg goes into /cstrike/addons/sourcemod/configs.
The anticamp.phrases.txt goes into /cstrike/addons/sourcemod/translations.
The anticamp.smx goes into /cstrike/addons/sourcemod/plugins.
Credits:
This plugin is originally by blade81 (can be found
here).
Changelog:
2.5.2
-another timer fix, that should be all
2.5.1
-fixed
this
-and fixed
this
2.5.0
-full support for CS:GO (and CS:S)
-replaced anticamp_weapons.cfg with seperate css and csgo version
-2 new cvars sm_anticamp_punish_delay and sm_anticamp_punish_freq (default they are both 2, which is the old behavior)
-some code and performance improvements
-new versions require latest Sourcemod 1.5.0 on CS:S ans CS:GO
-please backup your settings and delete old plugin.anticamp.cfg, the plugin will generate a new one
2.4.1
-fixed teamcolor in chat (thx Bacardi)
-add FCVAR_DONTRECORD for CVAR anticamp_css_version
2.4
-some code improvements
-add CVARs
-changed CVARs
-add slay mode
-add blind and money reduction punishment
-new translation (thx kajla)
2.3
-some code improvements
2.2
-some code improvements
-don't detect campers after round end
2.1
-improved logging
-add CVARs
-changed CVARs
-fix bug with sm_anticamp_ct_camp and sm_anticamp_ct_camp_dropped
-fixed not compiling on SourceMod 1.0
2.0
-logging camper
-blue baecon for CT's
-only detect camper if both teams have alive player
-added new CVARs
-fixed compiler warnings
-now you will be really slaped (till the dead if sm_anticamp_health 0)