[Tutorial] One Hit to Zombies with Grenade And All Body Parts
in Warz_Server.sln
Search For
Code:
if(damageSource != storecat_GRENADE && bodyPart != 1)
Delete This Code Blok
Code:
if(damageSource != storecat_GRENADE && bodyPart != 1)
{
if( g_enable_zombie_sprint->GetBool() &&
( EZombieStates::ZState_PursueSprint == ZombieState && 0.0f < SprintTimer ) )
damage = 1.0f + _zstat_MaxHealth * 0.1f;
else
damage = 0;
}
Look For This
Code:
if(damageSource != storecat_MELEE && bodyPart == 1)
{
damage = 1000;
}
Delete &&bodypart==1
Code:
if(damageSource != storecat_MELEE)
{
damage = 1000;
}
Re: [Tutorial] One Hit to Zombies with Grenade And All Body Parts
There are easier ways to do this. Doesn't really require a tutorial but it can help beginners.