Jump to content
  • 0

Zombie damage


Dismal

Question

6 answers to this question

Recommended Posts

  • 0

I'll bump this cause I'm curious as well. I'd prefer to go all Romero style with my zeds but right now they're so weak they're useless unless fast, and after looking around I can't come to a clear conclusion of how damage is controlled for just zeds.

 

Edit: Ok well based on all my looking, it appears that damage is controlled by player_zombieAttack and fn_damageHandler. You'll notice in player_zombieAttack it makes the following call.

 

[player, _wound, _damage, _unit,"zombie"] call fnc_usec_damageHandler;

 

which after checking compiles, it shows it runs...

 

fnc_usec_damageHandler =        compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf";        //Event handler run on damage

 

That being said, if it controls pvp damage as well, perhaps making a custom sqf with the fn_damageHandler script and changing the call for the player_zombieAttack, along with editing the compiles file can help to separate the damage calculations.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...