Raised This Month: $95 Target: $400
 23% 

GHW Anti-Camper


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Emp` (115)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-04-2008 , 22:41   GHW Anti-Camper
Reply With Quote #1

My version of an Anti-Camper plugin. Simply enough you set the 2 variables so that if a player hasn't been seen by an enemy after X seconds it (according to how the camp_effect CVAR is set) either draws a line / beam from 1 player to every one of his enemies or gives his enemies ESP hack showing the camper's position. As well there is a cvar so that the countdown to X seconds starts Y seconds after round start.

CVARs:
  • camp_len - After this many seconds of not being seen by an enemy the player has the camper effect enabled upon him (Default: 20.0)
  • camp_start - Camper Countdown starts this many seconds after round start (Default: 60.0)
  • camp_effect - Which effect is used to show where the camper is (1=beam/line 2=esp on enemys' screens) (Default:2)

Tested on CS 1.6 but should work for every mod
I think there's a potential to overflow to the client (svc_bad) with the beams effect. Reply back if clients get that message while this plugin is installed. ESP shouldn't have any problems other than possible HUD interferences if many HUD messaging plugins are installed.

Requires CHR_Engine Stocks. (So download .amxx file instead of using the "Get Plugin" link.)
_
Attached Files
File Type: sma Get Plugin or Get Source (GHW_Campers.sma - 8250 views - 4.3 KB)
File Type: amxx GHW_Campers.amxx (8.7 KB, 3175 views)

Last edited by GHW_Chronic; 06-05-2008 at 05:48.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 06-04-2008 , 23:53   Re: GHW Anti-Camper
Reply With Quote #2

Does the camper see the lines/beams aswell?
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-05-2008 , 01:43   Re: GHW Anti-Camper
Reply With Quote #3

he does. this doesnt really give him the advantage though. if you are camping and multiple enemies see you they can easily overcome you. if it is down to a 1v1 situation or a small amount of people where they are just running circles around eachother though, both teams will gain about equal advantage and as well move the pace of the game.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-05-2008 , 02:59   Re: GHW Anti-Camper
Reply With Quote #4

added an esp mode which struck me as making more sense. Now requires CHR_Engine so preusual just download the .amxx file instead of trying to live compile via the Get Plugin link.

edit: as well changed default CVAR value for camp_start to 60.0 (minor tweak)

Last edited by GHW_Chronic; 06-05-2008 at 05:48.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Dr. Jan Itor
Veteran Member
Join Date: Mar 2008
Location: there.
Old 06-05-2008 , 10:22   Re: GHW Anti-Camper
Reply With Quote #5

sounds nice i kinda dont like the other 1 but this 1 seems good
__________________
Dr. Jan Itor is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: La Plata, Bs As, Argenti
Old 06-05-2008 , 23:38   Re: GHW Anti-Camper
Reply With Quote #6

Quote:
Originally Posted by GHW_Chronic View Post
added an esp mode which struck me as making more sense. Now requires CHR_Engine so preusual just download the .amxx file instead of trying to live compile via the Get Plugin link.

edit: as well changed default CVAR value for camp_start to 60.0 (minor tweak)
Exelent
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
`666
AlliedModders Donor
Join Date: Jan 2006
Location: UK
Old 06-07-2008 , 10:28   Re: GHW Anti-Camper
Reply With Quote #7

can you please add option for which team to enable anti-camp
`666 is offline
waka-boy
Member
Join Date: May 2007
Location: Panama
Old 06-09-2008 , 03:55   Re: GHW Anti-Camper
Reply With Quote #8

:O Very Nice +karma
__________________
waka-boy is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-09-2008 , 23:40   Re: GHW Anti-Camper
Reply With Quote #9

Simple and effective! I like it. I find the other anti-camp plugins to be annoying. Good job, Chronic

You should add the option of customizing the HUD esp messages (keep distance on a new line). It'd be fun seeing a message like "Shoot here!" or something
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
freamer
Member
Join Date: Nov 2005
Old 06-12-2008 , 16:38   Re: GHW Anti-Camper
Reply With Quote #10

Will a player, that is moving around/defending the bomb, be counted as a camper after camp_len sec?

I think your plugin will be much more effective,if you add this exclusion.

Noticed that people start lagging heavily,when someone starts camping. Ping rises abnormally. Maybe you should lower frequency of drawing or draw a static dot or a message, as a v3x said. (camp_effect = 2)

Thank you for your work,this plugin is great and the idea is superb unique.

Last edited by freamer; 06-14-2008 at 16:20.
freamer 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 14:22.


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