New Zombies
Author: Pob the ImpalerSource: https://www.insideqc.com/qctut/qctut-24.shtml
Please download this file, without it this tutorial will not work, do not mail the autor regarding problems if you dont have this file!!
I intended for this tutorial to be part of the RIPs but it wasn't really relevant
so this'll be my first non-reaper tutorial! Anyway, if Legion can do them, so can I :)
This is dead easy, and will allow you to have multiskin monsters with different
abilities depending on the skin. I used this procedure to great effect in my
RealQuake and ReaperFX patches (even if I do say so myself).
You will need the model supplied to get this to work.
The model has the standard zombie skin, plus an extra one. The extra skin was
inserted with Adquedit.
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
|
Step 3 Find the function ZombieGrenadeTouch
|
This zombie can do either next to no damage, or gib a player in one hit.
This method can be used to alter any ability a monster has depending on it's skin.
Like health or even what weapon it fires.
just use a:
if(self.skin == 1)
{
Dothis....;
}
Have fun kids!
HTMLized by: Adrian "Mr. Pink" Finol
Tags: tutorial, quakec, qc, insideqc, monster, ai