Anticamp CS:S
Description:
It is an improved Version of Anticamp Source with some functions I miss. I added 2 new CVARs and and now you camp only if both teams have alive players (prevent wrong notifications). And now you can track campers to HLstats or on other log parser. The CT's now have a blue beacon and you wil really slaped till the dead 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_slap 1
"Set to 0 to disable slap"
- sm_anticamp_slap_dmg 5
"Amount of health decrease during camping every 2 sec"
- sm_anticamp_minhealth 15
"Set to the minimum health a camper keep. Set to 0 to slap till dead"
- sm_anticamp_minhealth_camp 1
"Set to 0 to allow camping below minhealth. Set to 1 to slap without damge"
- 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_weapons.cfg goes into /cstrike/addons/sourcemod/configs.
The anticamp.phrases.txt goes into /cstrike/addons/sourcemod/translations.
The anticamp.sp goes into /cstrike/addons/sourcemod/plugins.
Credits:
This plugin is originally by blade81 (can be found
here).
Changelog:
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)