Title    : Gravity
Filename : gravity.zip
Version  : 1.0
Date     : 12/10/97
  (that's day/month/year for USA residents)
Author   : Scott Leis
Email    : sj_leis@postoffice.utas.edu.au
Credits  : ID Software, for Quake and QuakeC.


Type of Mod
-----------
QuakeC   : yes
Sound    : no
MDL      : no

Format of QuakeC
----------------
unified diff  : no
context diff  : no
.qc files     : yes
progs.dat     : yes


Description of the Modification
-------------------------------
Made a small change to world.qc which checks for a map gravity field when
entering a map. This allows for a level author to specifiy the gravity in
the map file.


How to Install the Modification
-------------------------------
Make a new dir in your Quake directory (ie grav)
and move progs.dat into that directory.
Then run Quake with the command line parameter -game <dirname>
    eg.  quake -game grav


How to Use the Modification For Your Levels
-------------------------------------------
Open the .map file for your level with a text editor such as MS-DOS Edit
or Windows Notepad. In the first section of the map file (the bit which
contains "classname" "worldspawn") add a line that looks like
	"gravity" "xxx"
where xxx is what you want the gravity set to. This must be greater than
0 or it will be ignored. As a guide, Quake's default gravity is 800; the
Episode One secret level, Ziggurat Vertigo, has gravity of 100.
  Qbsp and other map building programs ignore the gravity field, it is
only used by the QuakeC code and will have no effect if Quake is not
started with the -game parameter (as above in "how to install...").


Technical Details
-----------------
Known bugs: None.
Let me know if you find any.

This mod uses the Quake v1.06 code, and won't work for Hipnotic or
Rogue mission pack maps. It's a simple task to add the necessary lines
of code to the Hipnotic or Rogue .qc files, so if you want to, go
ahead. Just search in defs.qc and world.qc for "modified", and you'll
find the new code.


History
-------
Um, what history?


Author Information
------------------
Fourth year at the University of Tasmania, Australia. Still finishing
second and third year Computer Science subjects.
  Really just a nobody who likes stuffing around with maps for Doom, Doom2,
Heretic, Hexen, and Quake, and code for Quake... and now Hexen2 (a fantastic
game).


Copyright and Distribution Permissions
--------------------------------------
Only a couple of lines in world.qc and one line in defs.qc are added to make
this work. The code is so simple I really don't care what you do with it.


Availability
------------
This modification is available from the following places:
FTP   : ftp.cdrom.com/pub/quake and mirrors
