Title    : camp-det
Filename : cmpdt111.zip
Version  : 1.11
Date     : Early March 1997.
Author   : bezerk (Hean-son Ooi)
Email    : bezerk@tartarus.uwa.edu.au
	   ooi-h@ee.uwa.edu.au
Credits  : see bottom

Type of Mod
-----------
 Quake C  : yup. v1.06
 Sound    : nup
 MDL      : nup

Format of QuakeC
----------------
 unified diff  : maybe, if i new what that meant.
 context diff  : maybe, if i new what that meant.
 .qc files     : no
 progs.dat     : yes

******************************************************************************
      THE SUPER-DUPER-MEGA-ULTRA-COOL-NASTY-BITCHIN'-GOIN'-OFF-CANE-ARSE
                              CAMP-DET! v1.11
******************************************************************************

v1.11
=====
	* Changed line:
		findradius(self.origin, 1000000);
	  to:
	  	head = findradius(self.origin, 1000000);
	  not surprisingly fixing three bugs in the process. :)
	* Reduced number of entities used to accomodate larger games. This
	  results in slightly less accuracy, but at least you won't run out of
	  edicts.

v1.1
====
        * Now works in multi-player. (v1.0 didn't. serves me right for not
          testing it on a network. I'll just go crawl back under my rock now.)
          Umm, actually... before i guarantee anything, I tested v1.0 on my
          friend's network about a week after it was released and found the
          problem. I corrected the code at his place and then it worked.
          However, I neglected to get a copy of the working code. That means
          I had to code this version from memory of what I did at my friend's
          place. This means that this version, technically speaking, is still
          untested on a network, but it really should work this time! It will
          be weeks before i can test it in multi-player again, but i'll eat my
          feet (not really) if this version doesn't work.
        * Much better (and far more obvious) code is more than ten times more
          efficient than v1.0.

INSTALLATION
============
follow these three easy steps:
        1) pkunzip -d cmpdet11.zip c:\quake\cmpdet11
        2) cd \quake
        3) quake -game cmpdet11

INSTRUCTIONS
============
Camp-Det activates when the deathmatch variable is set to a non-zero number,
ie. in deathmatch.

It's a fairly simple idea. Don't camp. You'll notice other subtleties as you
play, ie. don't be surprised if you get gibbed and -5 frags if you do camp.

Read campdet.qc for more techy info.

FOR THE PROGRAMMER DUDES
========================
feel free to include my thingy in your thingy. it would be nice to see this
patch in others, 'specially if i was to be credited (hint, hint, nudge, wink).
the following stuff should help.

        NEW FUNCTIONS
        -------------
campdet.qc - SpawnCampDet, CDThink, KillCampDet.
        these are the core functions, copy the entire file.

        MODIFIED QUAKE FUNCTIONS
        ------------------------
world.qc - worldspawn.
        this function has been edited to precache two sounds.
client.qc - PutClientInServer, ClientDisconnect, ClientObituary.
        the first two functions have been edited to call the core functions.
        the last adds a death message for the camp-det.
        in both files just look for the bits in-between:
// ==========================
// CAMPER DETECTOR MOD STARTS
// ==========================
and
// ==========================
//  CAMPER DETECTOR MOD ENDS
// ==========================
        and cut-and-paste it into the same files of your patch in the *SAME*
        place. (don't cut-and-paste the "and" above. that just happens to be
        there because of the sentence structure).

        AND YOU'LL ALSO HAVE TO MODIFY
        ------------------------------
progs.src
        just stick the line "campdet.qc" in between the lines "weapons.qc"
        and "world.qc" of your progs.src. If you don't stick it there, qcc
        will complain.

        ***********
        * CREDITS *
        ***********
original idea for the camper detector:
        - rhand@idealss.com, creator of the Gauntlet patch.

        **************************
        * YOU CAN REACH ME AT... *
        **************************
mailto: bezerk@tartarus.uwa.edu.au
	ooi-h@ee.uwa.edu.au

bye!
