Title    : Laser Rifle/Footsteps
Filename : laser_b2.zip
Version  : Beta 2
Date     : 1/1/96
Author   : Kevin Dickerson
Email    : kevind@phs.mat-su.k12.ak.us
Credits  : id Software : Self explanitory.
           Rene Post   : For the great .MDL editor "Quake Model Editor"
           Simtex      : For the footstep/laser sounds.

Build time: ~5 hours

**Note:  To jump right in, type the following in the console:
        >impulse 9
        >bind q "impulse 30"
         "Q" selects the laser rifle as your current weapon.
         Let the gibs fly!


Type of Mod
-----------
Quake C  : yes
Sound    : yes
MDL      : yes


Format of QuakeC (if a Quake C Mod)
-----------------------------------
unified diff  : no
context diff  : no
.qc files     : yes
progs.dat     : yes


Description of the Modification
-------------------------------
        Nothing critical is modified, so you can incorporate the mods into
your server source pretty easily--just remember to modify "defs.qc"
appropriately in case the item number that designates the laser rifle is
already being used. One added sub is SpawnSpark(), which makes yellow
particles for the laser blast effect. The Laser Rifle eats cells. And make
sure you don't fire it in the water--it won't blow up like the lightning gun,
but it does sting (Damage=1/2 current ammo) and eat 5 cells.
        The footstep part is relatively simple, it just makes a footstep
sound at the appropriate frame of your player's model. Your player won't make
unwanted footsteps (i.e. underwater, if you're jumping)--one problem I
encountered, however is if your player is walking on a grate, like the one
in START near the hall of episode 3; if you are on one, it won't make any
sounds. Sigh.
        If you're health is in the red, the player will start screaming (pain
sounds) when he takes a step on his right foot, but he won't scream if you
have the pentagram of protection, though.
        Oh, one more little thing--when you hit something with an axe, a
piece of meatspray flies off and "zombie/z_miss.wav" is played (nice
splatter sound, id!)


Commands include:
KEY 
User-Defined    IMPULSE 30 - Select the laser rifle as your weapon.

Known bugs
* No footsteps when player steps on grates akin to the one near the hall of
  episode 3.

Fixed since last version:
* Fixed the bad laser splash sound.
* Added random damage value for laser beam.

How to Install the Modification
-------------------------------

Just unzip laser.zip like this example: "C:\QUAKE>pkunzip -d laser.zip"
Make sure you unzip it from the QUAKE directory (or into the QUAKE directory)
This modification only works with the registered version of Quake.

Directory tree made when unzipped:
        QUAKE\LASER_B2.TXT
        QUAKE\LASER\PROGS.DAT
        QUAKE\LASER\WORLD.QC
        QUAKE\LASER\CLIENT.QC
        QUAKE\LASER\PLAYER.QC
        QUAKE\LASER\WEAPONS.QC
        QUAKE\LASER\DEFS.QC
        QUAKE\LASER\README.TXT
        QUAKE\ID1\PROGS\BEAM.MDL
        QUAKE\ID1\PROGS\V_LASER.MDL
        QUAKE\ID1\SOUND\LASER\S2-053.WAV
        QUAKE\ID1\SOUND\LASER\S2-011.WAV
        QUAKE\ID1\SOUND\LASER\S2-028.WAV
        QUAKE\ID1\SOUND\LASER\S2-029.WAV
        QUAKE\ID1\SOUND\LASER\S2-019.WAV


Author Info
-----------

My first QuakeC patch--also a relatively simple one.


Distribution
------------

Original QuakeC source Copyright (C)1996, id software.

Authors MAY NOT use these modifications as a basis for any commercial or
financial use.

You may distribute this Quake modification in any electronic format as long
as all the files in this archive remain intact and unmodified from their
original form.