home *** CD-ROM | disk | FTP | other *** search
- Homing Missiles v.001
- by Vhold <vhold@netwizards.net>
- http://netwizards.net/~vhold/
-
- ===========
- To use:
-
- Put the progs.dat from homing.zip in a subdir off of your quake directory.
- A good name might be something like "homing" or "vhold"...
- then just type "quake -game homing" or whatever directory you put it in.
- ============
-
- Extra notes .....
-
- If you want to see, I also included the weapons.qc that contains the code
- for the homing missile. It was relatively very easy, except for one thing,
- the behavior of the traceline function.. This messed me up for a couple
- few hours.
-
- Just so everybody else knows, to properly use traceline
- to determine if there are any barriers between two entities.. Do this
-
- traceline(entity.origin,entity2.origin,TRUE,self);
-
- then, it puts the result in the global variable trace_fraction..
- There is NO BREAK if trace_fraction is greater then or equal to 1
- Anything else, and there is a break. I originally attempted to use traceline
- like the "visable" function in ai.qc uses it, in a boolean context, but
- this is no good since 0.5 evaluates to true...
-
- Also.. this weapons.qc also contains my extra "impulse 20" command
- that lets you throw a backpack with a little ammo from every category,
- that should make an interesting addition to team games. I suggest
- bind b "impulse 20"
- to easily throw backpacks in play..
-
- I also made some other little changes.. I made crucified zombies killable,
- and made the players throw extra gibs when they are gibbed.. I also included
- the related .qc for those.
-
- Have fun!
- __ ___ _ _
- \ \ / / |__ ___ | | __| | vhold@netwizards.net
- \ \ / /| '_ \ / _ \| |/ _` | http://netwizards.net/~vhold/
- \ V / | | | | (_) | | (_| |
- \_/ |_| |_|\___/|_|\__,_|
-