AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Anticamp CS:S - 2.5.2 with CS:GO support (https://forums.alliedmods.net/showthread.php?t=99960)

stachi 08-10-2009 23:41

Anticamp CS:S - 2.5.2 with CS:GO support
 
5 Attachment(s)
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)

Doc-Holiday 08-11-2009 02:08

Re: Anticamp CS:S - 2.0
 
LMFAO i should learn to read...

What about if bomb is planted T's camp?

stachi 08-11-2009 11:14

Re: Anticamp CS:S - 2.0
 
Ts can camp if bomb is planted. Maybe I add a CVAR to disable it.

Doc-Holiday 08-12-2009 01:37

Re: Anticamp CS:S - 2.0
 
Quote:

Originally Posted by stachi (Post 896365)
Ts can camp if bomb is planted. Maybe I add a CVAR to disable it.


ok.

Timiditas 08-20-2009 01:08

Re: Anticamp CS:S - 2.1
 
Can you make it support Gungame:SM, so the camping check is disabled after someone wins Gungame? We have a slight delay in the mapchange, for players to be able to check their ranks, chat etc. Any everytime they get a camping message with a similar Anticamp plugin.
If GG is over, there still might be alive players on both teams, but they are frozen. I think there is a forward or a public event that you can hook into.

erazor 09-14-2009 19:08

Re: Anticamp CS:S - 2.1
 
Great plugin, can you add a CVAR to allow CT's to camp longer then t's on de maps and vice versa on cs maps?

Thanks

ulx 09-15-2009 02:11

Re: Anticamp CS:S - 2.1
 
Especially the log function sounds very interesting for me - which event exactly does it fire that can be tracked?

stachi 09-15-2009 07:34

Re: Anticamp CS:S - 2.1
 
Logging event is "camper" as Player Action.

Quote:

Great plugin, can you add a CVAR to allow CT's to camp longer then t's on de maps and vice versa on cs maps?
Thats possible but I don't have much time in the moment.

FunKillerClan 11-15-2009 12:11

Re: Anticamp CS:S - 2.1
 
Könntest Du es auch einstellen das es nach 7sec anschlägt für beide Seiten. Sprich für T wie auch CT es soll für unseren DeathMatch Server sein. Auch mit der Bombe alles ausstellen.

PS: Vielleicht könntest Du mir per PM Deine ICQ Nr zukommen lassen, wäre vielleicht einfach es Dir zu erklären ;)

MFG

stachi 11-15-2009 13:09

Re: Anticamp CS:S - 2.1
 
Quote:

Originally Posted by FunKillerClan (Post 990540)
Könntest Du es auch einstellen das es nach 7sec anschlägt für beide Seiten. Sprich für T wie auch CT es soll für unseren DeathMatch Server sein. Auch mit der Bombe alles ausstellen.

PS: Vielleicht könntest Du mir per PM Deine ICQ Nr zukommen lassen, wäre vielleicht einfach es Dir zu erklären ;)

MFG

sm_anticamp_camptime "7"

sm_anticamp_ct_camp "0"

sm_anticamp_ct_camp_dropped "0"

sm_anticamp_t_camp "0"

sm_anticamp_t_camp_planted "0"

Mit diesen Einstellungen sollte es klappen. Den Rest nach belieben einstellen. Läuft auf meinen DeathMatch Server Problemlos.


All times are GMT -4. The time now is 16:26.

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