Exclamation[Solved]request anti camp mode!!!??

Posts 1–11 of 11 · Page 1 of 1
[Solved]request anti camp mode!!!??
hi
i want a anti camp mode with all default play !!
Have you even tried searching: "MW2 Anti-Camp"?

You'll easily be able to find something.


And if not, some iSnipe mods do have an Anti-Camp feature. You should be able to rip that out of there and into a normal gametype easily. If you're not able to, there's plenty of tutorials to read.

EDIT:
I do think this script will do the job, although, I am on my mac atm, so I can't test:
Code:
doOwnCamper()
{
        self endon("disconnect");
   self endon("death");

   for(;;)
   {
         self.before = self getorigin();
         wait 18;
         self.after = self getorigin();
         
            if( ( distance(self.before, self.after) < 50) ) {
            iPrintln("^1" + (self.name) + " ^7is camping and will be killed in ^15.");
            }
            wait 1;
   self.after = self getorigin();
   if( ( distance(self.before, self.after) < 50) ) {
            iPrintln("^1" + (self.name) + " ^7is camping and will be killed in ^14.");
            }
            wait 1;
   self.after = self getorigin();
      if( ( distance(self.before, self.after) < 50) ) {
            iPrintln("^1" + (self.name) + " ^7is camping and will be killed in ^13.");
            }
            wait 1;
   self.after = self getorigin();
         if( ( distance(self.before, self.after) < 50) ) {
            iPrintln("^1" + (self.name) + " ^7is camping and will be killed in ^12.");
            }
            wait 1;
   self.after = self getorigin();
         if( ( distance(self.before, self.after) < 50) ) {
            iPrintln("^1" + (self.name) + " ^7is camping and will be killed in ^11.");
            }
            wait 1;
   self.after = self getorigin();
         if( ( distance(self.before, self.after) < 50) ) {
            iPrintln("^1" + (self.name) + "^7 got killed for camping too long!");
            self suicide();
            }
}
}
how i can use this script??
Here, I mashed it all together for you.
www.pastebin.com

Instructions: (AlterIWnet, I do not have experience with Steam, at all.)

1) Goto the PasteBin link, and click the: "Download" link, in the top of the document.

2) Open the downloaded text file.

3) Goto: File -> Save As.. And save it as _rank.gsc (IMPORTANT: Change the format to all formats, else it will save it as .txt.)

4) Open your Modern Warfare 2 folder.

5) If you don't already have it, make a folder in the MW2 directory, called: "mods" (Remember: Do NOT add the quotation marks (the "")

6) Make a new folder in the mods folder called: "anti-camp", or whatever you like.

7) Make a new folder called: "maps"

8) Make a new folder called: "mp"

10) Make a new folder called: "gametypes"

11) Paste the _rank.gsc file in the "gametypes" folder.

12) Go back, until you're in the "anti-camp" folder.

13) Right click the maps folder and click: "Add to archive..." (Requires WinRAR. Google it.)

14) Set it as a .zip file, and not .rar.

14) Change it from maps.zip to maps.iwd

15) Open Modern Warfare 2. (alterIWnet)

16) Type following in the console: "fs_game mods/anti-camp;vid_restart"

17) Host a Private Match, or become host in a Public Match. And voila, there's gonna be no campers!

If you don't understand some of the steps in this, please, feel free to ask.
and the code for the thread "announcement()"?
Quote Originally Posted by Boon Pek View Post
and the code for the thread "announcement()"?
Well, I found these lines in an old mod of mine, apparently without the announcement() thread. Dunno what happened there. Never the less, I replaced it with iPrintln, guessing it will work.

EDIT:
Alrighty, it did work!
thanks a lot Critted !!

mode work perfect!!!
That's good!
You're welcome!
FYI:

Announcement is a server-wide iPrintln.
Quote Originally Posted by Arasonic View Post
FYI:

Announcement is a server-wide iPrintln.

Oh. Thanks. Then I was right from the start. Thanks

EDIT: I guess it should be marked as solved now?
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us