Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tutorial] One Hit to Zombies with Grenade And All Body Parts

Initiate Mage
Joined
May 9, 2014
Messages
3
Reaction score
3
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[COLOR=#ff0000] && bodyPart == 1[/COLOR]) 
   {
     damage = 1000; 
   }

Delete &&bodypart==1

Code:
if(damageSource != storecat_MELEE) 
   {
    damage = 1000; 
   }
 
Elite Diviner
Joined
Feb 18, 2014
Messages
440
Reaction score
232
There are easier ways to do this. Doesn't really require a tutorial but it can help beginners.
 
Back
Top