OGC Quake3 Client Hook 1.6
Copyright (C) 2002 noskill

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


LINUX README (IF you use Windows, this is not for you, scroll down more)
---------------

If you have downloaded a BINARY installation, skip step 1 

1) Build the source.
	cd to your OGC source tree(you are probably in it already
	if you are reading this).
	Type "make -f Makefile.linux" at your shell, you will hopefully see
	OGC compile without warnings or errors.  
2) Edit the launcher script
	You will find a shell script titled "ogc" in your ogc directory
	(this one).  You must edit the line which says:
	export LD_PRELOAD=/home/noskill/ogc/ogc.so
	to the path of your compiled/downloaded ogc binary.
	then you must edit:
	export OGCROOT=/home/noskill/ogcroot
	this is the directory which your OGC configuration files will be saved to
	You may also need to change the 
	cd /usr/games/quake3
	to your quake3 directory.
	To launch ogc, run this script

WINDOWS README
-------------
If you have downloaded a BINARY distribution, skip step 1

1) Build the source

	 The included Makefiles are for GNU gcc/make + cygwin dlltool.  Do not ask me how to
	 compile this with MSVC6.  To build the source, type "make -f Makefile.win32" at
	 your cygwin shell. The source for the loader is included as well, in /loader(this is same ogc.exe as for 
	 Counter-Strike).  The loader is a MSVC6 workspace.
2) Start OGC.exe
	It will ask you for your quake3 executable.  Select your quake3.exe
	and press OK.
	
Documentation:
**********

============READ THE NEXT  2 LINES!========

REMEMBER, this is QUAKE3, not CS!! You will need to precede ALL commands/cvars in the console with
a "/". If you do not, they will come out as messages to other players!
**********
Cvars:
ogc_namelength:
	Maximum number of characters to draw in name esp
ogc_wall:
	Enables/Disables wallhack
ogc_aim:
	Enables/Disables automatic-aiming
ogc_ignorewalls:
	Enables/Disables aiming through walls
ogc_pingpredict:
	This is the multiplier for ping prediction.  Aiming prediction is accomplished by
	multiplying this value by your ping, then multiplying that by the players running
	direction.  So it is important to note, DO NOT ADJUST THIS VALUE ACCORDING TO YOUR PING,
	it will be multiplied for you.  Tweak this value so you get best prediction for a NON-PROJECTILE
	weapon, such as the machine gun.  If you notice some lagging behind, try increasing this
	value. And if its aiming too far ahead, try decreasing it.
ogc_glow:
	Enables glowshells around players.  In team games, they will be red/blue, otherwise they will be yellow
ogc_mode:
	If 1, OGC will aim at person closest to crosshair(fov)
	If 0, OGC will aim at person closest to you(distance)
ogc_fov:
	This is the fov of the aimbot TO EACH SIDE.  If you want
	to aim anywhere, this would be 180.  To aim at someone in your screen,
	this would be 45.
ogc_names:
	Toggles Name ESP
ogc_weapons:
	Toggles Weapon ESP

Commands:
+aim/-aim:
	Sets ogc_aim on/off
save:
	Saves CVARS and weapon configuration information.
weaponlist
	Lists the names of the weapons and their settings
weaponset
	This command takes the form:
		/weaponset name speed forward right up
		So, if you wanted to make the rocket launcher have a speed of 1000,
		and aim at the feet of the player, you would do:
		/weaponset rocket 1000 0 0 -20
		for weapons which do not fire projectiles(railgun,machinegun,shotgun,lightning gun,etc),
		speed should be 0, DO NOT SET IT TO 99999999, or it will make your computer explode and catch on fire.
		(actually it wont, just dont try it...because i havent tried it...and theres no reason to try it)

Crashes: 
	If your OGC causes Quake3 to crash in the linux version, try changing dlhook.c
	#define DLSYM_COPY 6
	try changing 6 to another value from 5 to 10
	if you try 5-10 and nothing works, the cause of your crash is unknown.
