AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Anticamp Source (https://forums.alliedmods.net/showthread.php?t=72094)

blade81 05-31-2008 06:55

Anticamp Source
 
3 Attachment(s)
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

junkies 05-31-2008 08:35

Re: Anticamp Source
 
Can you add a customisable camp timelimit?

blade81 05-31-2008 10:17

Re: Anticamp Source
 
There is already such cvar. Just use sm_anticamp_poll_count to define the camptime in seconds.

MoggieX 05-31-2008 10:26

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

Matt

blade81 05-31-2008 11:43

Re: Anticamp Source
 
Quote:

Originally Posted by MoggieX (Post 632583)
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

Molli 06-01-2008 22:42

Re: Anticamp Source
 
Can T camp cs_maps ?

blade81 06-02-2008 01:46

Re: Anticamp Source
 
Quote:

Originally Posted by Molli (Post 633360)
Can T camp cs_maps ?

Not yet :) I can add this if you want.

Molli 06-02-2008 10:43

Re: Anticamp Source
 
Quote:

Originally Posted by blade81 (Post 633408)
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?

blade81 06-02-2008 13:37

Re: Anticamp Source
 
Quote:

Originally Posted by Molli (Post 633535)
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 06-02-2008 16:14

Re: Anticamp Source
 
Quote:

Originally Posted by blade81 (Post 633408)
Not yet :) I can add this if you want.

Added new cvar as requested.


All times are GMT -4. The time now is 03:12.

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