HKnight Sword
Author: PastorSource: https://www.insideqc.com/qctut/qctut-2.shtml
Step 1 Ever wanted to use that fancy sword that the Hell Knight has? We're going to make that right now, but with the axe instead. Go ahead and open the weapons.qc file. |
Step 2 Right before the W_FireAxe function, add all this new code. I'll explain as we go along... Note the star in one of the later comments. For some odd reason, when you look up, the shots go down. This line merely fixes that problem.
|
Step 3 OK now in the W_FireAxe function, add the new code in blue.
|
Step 4 It would be all done right now...but we have to precache the damn sounds and models! Again, new code is in blue...
|
Step 3 Hope you caught all that. I think by now you know how to use QuakeC patches, so I won't insult your intelligence. Have fun... |
Tags: tutorial, quakec, qc, insideqc, weapon