Dismal Posted March 5, 2014 Report Share Posted March 5, 2014 I read that editing fn_damagehandler was the way to increase damage for zombies in server. Then i read that if i do that, it will also effect player on player pvp damage. Can anyone help me with this? JohnesNumb 1 Link to comment Share on other sites More sharing options...
0 Shizweak Posted March 5, 2014 Report Share Posted March 5, 2014 If the _ammo variable equals "zombie", the damage came from a zombie IIRC - so you can just do your custom damage based on that. Link to comment Share on other sites More sharing options...
0 Dismal Posted March 5, 2014 Author Report Share Posted March 5, 2014 doesn't this mean if ammo isn't a zombie? if (_ammo != "zombie") then { Which part of damagehanlder.sqf would i change for just zombie damage? Link to comment Share on other sites More sharing options...
0 Dismal Posted March 6, 2014 Author Report Share Posted March 6, 2014 has anyone actually edited zombie damage that can help? Link to comment Share on other sites More sharing options...
0 Razzputon Posted May 17, 2014 Report Share Posted May 17, 2014 I'm curious about this also. Anyone have any tips or thoughts on this? Link to comment Share on other sites More sharing options...
0 Chris9183 Posted June 21, 2014 Report Share Posted June 21, 2014 Deleted Link to comment Share on other sites More sharing options...
0 Incar Posted June 22, 2014 Report Share Posted June 22, 2014 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 More sharing options...
Question
Dismal
I read that editing fn_damagehandler was the way to increase damage for zombies in server.
Then i read that if i do that, it will also effect player on player pvp damage.
Can anyone help me with this?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now