Raised This Month: $ Target: $400
 0% 

Slay Camping


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sppL.sUiCiDeR
Junior Member
Join Date: Mar 2008
Old 09-02-2008 , 14:26   Slay Camping
Reply With Quote #1

Im running a zombie riot server. People tend to glitch and croutch in a corner and camp and get 1000+ kills. I want a plugin that will slay them if camping for x amount of time. Slapping them doesn't really do much. Slay would be good since they are only allowed to die so many times before infection mode kicks in. Any ideas?

- sUiCiDeR
sppL.sUiCiDeR is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 09-02-2008 , 15:53   Re: Slay Camping
Reply With Quote #2

This maybe?
http://forums.alliedmods.net/showthread.php?p=632504
PStar is offline
sppL.sUiCiDeR
Junior Member
Join Date: Mar 2008
Old 09-03-2008 , 01:39   Re: Slay Camping
Reply With Quote #3

Well this one only slaps. I tried to increase the HP of the slap to slay to no avail. Any other assistance is appreciated.

- sUiCiDeR
sppL.sUiCiDeR is offline
ottobohn
Senior Member
Join Date: Sep 2007
Old 09-04-2008 , 14:54   Re: Slay Camping
Reply With Quote #4

Open the source code, look for sm_slap and replace it with sm_slay..compile.

otto
ottobohn is offline
Banjo Boy
Member
Join Date: Apr 2008
Old 09-05-2008 , 12:53   Re: Slay Camping
Reply With Quote #5

how do you open the sourcecode?
__________________
Banjo Boy is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 09-05-2008 , 13:54   Re: Slay Camping
Reply With Quote #6

find .sp file and open it with any text editor
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
sppL.sUiCiDeR
Junior Member
Join Date: Mar 2008
Old 09-08-2008 , 00:38   Re: Slay Camping
Reply With Quote #7

Well I tried looking at the .sp file on this one and Im totally lost lol. Any chance someone can recompile this one for me? Again all Im looking for is a camp detection to slay after say 12 seconds. Dont need the beacon or slapping. Auto slaying is what Im looking for. Any help is appreciated.

- sUiCiDeR
sppL.sUiCiDeR is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 09-08-2008 , 06:29   Re: Slay Camping
Reply With Quote #8

Hy, i tried to modify the Slap to Saly but i could't do it so i thought about it a bit and found out that we could just slap the target with 150HP so he/she will bee slapped more HP than he/she had.
Sho here i it:
I only cahnged this lines:
Quote:
g_CvarSlap = CreateConVar("sm_anticamp_slap", "5", "Amount of health decrease during camping every 2 sec.", 0, true, 0.0, true, 50.0);
g_CvarLowHealth = CreateConVar("sm_anticamp_health_level", "15", "Set to the health level below where camping is allowed", 0, true, 0.0, true, 100.0);
to this:
Quote:
g_CvarSlap = CreateConVar("sm_anticamp_slap", "150", "Amount of health decrease during camping every 2 sec.", 0, true, 0.0, true, 50.0);
g_CvarLowHealth = CreateConVar("sm_anticamp_health_level", "0", "Set to the health level below where camping is allowed", 0, true, 0.0, true, 100.0);
And heres the plugin.
Attached Files
File Type: sp Get Plugin or Get Source (anticamp.sp - 413 views - 13.9 KB)
PStar is offline
sppL.sUiCiDeR
Junior Member
Join Date: Mar 2008
Old 09-08-2008 , 11:43   Re: Slay Camping
Reply With Quote #9

Awsome. Is there a way to change the HP to 350 that it slaps? My server has RPG and with vampire as an option, its possible to get up to that HP.

Thanks again.

- sUiCiDeR
sppL.sUiCiDeR is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 09-08-2008 , 12:08   Re: Slay Camping
Reply With Quote #10

Quote:
Originally Posted by sppL.sUiCiDeR View Post
Awsome. Is there a way to change the HP to 350 that it slaps? My server has RPG and with vampire as an option, its possible to get up to that HP.

Thanks again.

- sUiCiDeR
sm_anticamp_slap 350
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Reply



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 11:49.


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