|
| Tutorials are copyrighted by their author and the Inside3D staff. And may be used in any Quake modification provided that the author and the InsideQC staff are credited. Please direct any comments to the author. |
Created By: | Pob the Impaler |
eMail: | A.W.Johnstone@btinternet.com |
Difficulty Scale: | Easy |
Step 1 In the directory where you intend to put this patch, make a directory called progs. So you will have something like... c:\quake\zombie\progs into this progs dir put the zombie.mdl |
Step 2 Open up zombie.qc Find the function monster_zombie //===Begin multiskin code===// local float skinchance; // this is the chance that a zombie will have the plague :) skinchance = random(); if (skinchance >= 0.75) { self.skin = 1; // remember the default skin is 0 } //===End multiskin code===// |
Step 3 Find the function ZombieGrenadeTouch //===Begin multiskin code===// local float puke; // amount of damage for Plague Zombie. if (other == self.owner) return; // don't explode on owner if (other.takedamage) { if (self.owner.skin == 1) { puke = ((random() * 100) * 0.5); T_Damage (other, self, self.owner, puke ); } else { T_Damage (other, self, self.owner, 10 ); } //===End multiskin code===// |