Inside3D tutorials.
Created By: | ShockMan |
eMail: | qfiles@quakemania.com |
Difficulty Scale: | Medium |
void(vector org, vector vel, float damage) SpawnBlood;after that find "void() T_Damage" and in that function find:
if (targ.health <= 0) { Killed (targ, attacker); return; }before this add:
if (targ.health <= 20) // set 20 to the health you want the bleeding to start { targ.bleed = TRUE; // bleed }
.float bleed;
WaterMove ();and after that add:
If (self.bleed == TRUE) Bleeding(self);then go to combat.qc again, and at the end add this:
void(entity org) Bleeding = { SpawnBlood (org.origin, '0 0 0', 70); // make the blood };