Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
3 posts, 3 people · 4,126 views Thread Rating: ★★★★★
closedAnti-Camp
Started by TooLz on 04-30-2007, 04:50 PM
T TooLz
started this thread
Posts: 96
Threads: 11
Joined: Oct 2005
04-30-2007, 04:50 PM #1

I've had this idea for awhile, just had no time to make it and still have no time. So I guess I will request that it is made. Should be pretty simple but the old "Bad camper" or w/e mod doesn't really work right anymore to my knowledge.rnrnI wanted this mod to feature no prone, no deploy and to automatically slap someone 5 times (or on a CVAR to slap, slay, etc) if they are in the same spot for more than 30 seconds (another easy CVAR). rnrnThe problem I am having here is that I host a no camping server, and me and my admins hate having to continuously tell people to stop camping, slapping, slaying, evil no prone, etc. We've just had a hard time trying to get people to move around on our server.. So we took MG's and Snipers to 0 to eliminate the possibility of camping with them.rnrnBeing as I use my weapons mod for people to be able to get FG42 and Scoped FG42, it still makes it hard to stop them from camping. I don't mind those weapons being there, but I want to make it to where they cannot deploy the BAR or FG42 at all, another thing that goes along with that is going prone.. The biggest problem I have is people laying down in one spot with a bar or scoped FG42 to eliminate the recoil, so no prone is a nice evil admin thing to have, I just hate having to do it on people manually and think I should just have a mod to make sure they're not prone at all..rnrnIf someone is willing to make this mod, I am more than happy to help on my free time, but I have been working 80 hours a week as a professional software developer and haven't had much time to spend into this stuff unfortunately.rnrnAny help on making this would be great, it may not be too hard to do besides the determining someones position for a certain amount of time, the problem I saw with that is that when they're walking, it would constantly think 0.1, 0.1, 0.1.... etc until they stopped.. Which I imagine would lag a server pretty bad with 10+ people in it.. If anyone could offer me some insight on that part, I may just be able to do the rest on my own.rnrnCya

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
04-30-2007, 05:01 PM #2

Well, tats already wrote up a no-prone plugin, and it works nicely. There's 1 problem solved.

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
05-01-2007, 08:40 AM #3

and in my medic plugin I have a function that "records" a players origin which can later be measured against their current origin... n nhave a cvar control a set_task which runs non-stop ... this procedure to run would be to measure the players current origin against their last and if it is too little (still in same spot or close to it from last check). After the check, BEFORE taking action on the player, record THAT origin and then do some sort of slap routine or other type of punishment. Then the whole loop starts again, check, rerecord, action, check, rerecord, action, etc...ndo the initial recording of players origin at their "spawn"

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC