Quake2 Center Fire 12/22/97
================================================================
Title                   : Center Fire v1.1
Author                  : Alan Albert a.k.a. YoGrE
Email Address           : yogre@primenet.com
Description             : If you're like me, U really dislike the side mounted
				  weapons in Quake 2. We all know by now that u can use 
				  the gun_x var to shift the wpn graphics towards the center
				  but the projectile still originates from the side. This mod 
				  add a new client var named centerfire. When set to 1, projectiles 
				  will originate from the center of the screen making the crosshair
				  more accurate. I left the gun_x setting up to u guys since every1
				  has his own prefrences. (I already got used to the side view)
						  
Additional Credits to   : * id Software for a kick ass game and for
				    for the best support from a game company ever.
				  * Entrope on #quake2dll for helping me figure out
				    how to create client cvar's.
================================================================

* New in this version *

I moved gun_x, gun_y and gun_z into the userinfo structure where they belong.
This way, every user in a multiplayer game can set hit own preferances.

Included a default.cfg file that contains the decleration of the userinfo CVAR's.
No u only need to have a regular "set centerfire 1" in your cfg file. Acctually, 
the game will save the cvars in the config.cfg when u exit the program (in single
play only) so u probably don't need to set in a cfg file at all, just experiment with 
the values in the game.

* Play Information *

Single Player           : Yes
Deathmatch (2-16)       : Yes 
New Sounds              : No 
New Graphics            : No 
New Music               : No 

* Construction *

Base                    : Quake2 DLL Source
Editor(s) used          : Microsoft Visual C++ 5.0
Known Bugs              : Not sure if this is a bug in id's code or simply my misunderstanding of how 
				  things work but I the "set centerfire 1 u" in the client side has to appear 
				  twice where I would rather have it not apear at all. If anyone figures out 
				  how to add userinfo cvar's from the DLL, please let me know.

                  The cvar's centerfire and gun_[xyz] will save into the config.cfg file only after
                  singlep player games. This is somehow related to the first bug since I do not know 
                  how (if) it is possible to create user variables properly.

Build Time              : 5 minutes.
Source Included		: Yes

* Install Instructions and usage *

I neglected to mention in the previous release that like all dll mods
this mod too has to be installed on the server. This means that it will 
work just fine in lultiplayer but only if the server has it installed and 
running. I hope mod authors will merge this code into their own (I am including
the source code). I tried to make this mod non-intrusive and fully optional.

Server:
1) Unzip to your Quake2 directory (include path)
2) Run Quake2 with the command line "quake2 -set game center"

Client:
1) An autoexec.cfg file is included so if u have your own file u need to mearge the two.
2) Set the CVar centerfire to 1 for center firering, 0 is the default.
3) If u like, change the gun_x to some small negative value (-4) to shift the gun graphics more towards
   the center (optional).

* Legal Stuff *

Mod authors are encouraged to merge this with their own stuff. Like I said, 
I tried to make it non-intrusive so if u don't set the associated CVAR's, it
will not change the behaviour of the game.

If you want to use this patch in anything that will be redistributed, please
e-mail me first. (This excludes CDROM.COM which may of course distribute it
freely without asking.)
