Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
bool CNPC_BaseZombie::ShouldBecomeTorso( const CTakeDamageInfo &info, float flDamageThreshold )
{
if( m_fIsTorso )
{
// Already split.
return false;
}
// Break in half IF:
//
// Take half or more of max health in DMG_BLAST
if( (info.GetDamageType() & DMG_BLAST) && flDamageThreshold >= 0.5 )
{
return true;
}
#if 0
if( info.GetDamageType() & DMG_BUCKSHOT )
{
if( m_iHealth <= 0 || flDamageThreshold >= 0.5 )
{
return true;
}
}
#endif
return false;
}
D€vIL² said:I would have to be implemented sensibly Like if you shoot someone in the arm with a pistol an arm shouldnt come off but if you approach a ememie with a shotgun and shoot him in the face, leg, or arm at close quarters Its "real" if that body part gets blow off IMO