Inside3D tutorials.

Inside3D
 • Front Page
 • Articles
 • Downloads
 • Forums
 • Hosting
 • Help Wanted
 • Interviews
 • Reviews
 • Staff

 
Allied Sites
 - AI Cafe
 - Bot Epidemic
 - Dark Places
 - Flat Earth
 - FrikBot
 - Ghoulish Art
 - Kilbert3D
 - Quake Info Pool
 - QSG: Quake Standards
 - Rusted Fork
 - Stroggs Gone Mad
 - More...
 
Quake
 - Getting Started
 - QuakeC Specs v1.0
 - QuakeC Tutorials
 - Quake Mod Index
 
Quake II
 - Getting Started
 - dll Sourcecode
 - Coding Tutorials
 
.dll Central
 - Getting Started
 - Learning
 - dll Primer
 - dll in C
 - dll in Delphi
 - Compilers
 
Jedi Knight
 - Getting Started
 - COG Specs
 - Sound Specs
 - Tutorials
 
Level Editing
 - Tutorials/Tips
 
 
Telefragged!!!
Created By: MaNiAc
eMail: stevet@thevision.net
Difficulty Scale: Easy


Step 1
This tutorial shows you how to make it so you can kill the zombies that just hang on the walls in the start map. Exciting!

Uh, ok let's get started. Open the file "zombie.qc" and go to line 470 which should read:

void() monster_zombie =

Step 2
Scroll down until you see the following lines(they should start on line 508):
        if (self.spawnflags & SPAWN_CRUCIFIED)
        {
                self.movetype = MOVETYPE_NONE;
                zombie_cruc1 ();
        }

Step 3
Change the above lines to:
        if (self.spawnflags & SPAWN_CRUCIFIED)
        {
                self.takedamage = TRUE;        //ADDED THIS!!!
                self.inpain = 2;               //ADDED THIS!!!
                self.movetype = MOVETYPE_NONE;
                zombie_cruc1 ();
        }

Step 4
Note: Right now, if you want to, you can compile it and it will work, but zombies will only die(gib) if they are hit with 60 pts. of damage in a "single frame"(a very short amount of time) ie. They would have to be hit the grenade/rocket laucher or you would have to have quad damage. Sooooooooo, if you want them to be killable with every weapon (poor zombies), you should proceed to (guess what?) STEP 5!

Step 5
Find line 415 near the top of "zombie.qc". This line should read:

void(entity attacker, float take) zombie_pain =

Step 6
Next, proceed to line 419 which should read:

self.health = 60; // allways reset health

Step 7
Add this line "if (!self.spawnflags & SPAWN_CRUCIFIED)" above the line I mentioned in Step 7. Now this part of the code should look like the following:

        if (!self.spawnflags & SPAWN_CRUCIFIED) //Only reset health if its not crucified
                self.health = 60;               // always reset health

Step 8
Well, now its done. Compile it and yer ready! One last note: You may not have noticed one other change between the code in Steps 6 and 7. I corrected id's spelling error! Those irresponsible people spelled "always" wrong!:) Well, besides that, you should be ready to enjoy hours of "zombie blastin'" fun!






The Inside3D content and design is copyrighted by the Inside3D team, and may not be re-produced or copied without proper consent. All rights reserved. Any work credited to any author not part of InsideQC is copyrighted by that author. If you have any feedback, suggestions or flames please send it in to the author. Inside3D is hosted by telefragged and the design was originated by project-9.