I see many people "rating" weapon damage based on this formula:
blood damage = damage^2*55.55
So a DMR is said to do
~8000 = 12^2*55.55
Anyways looking more into this it gets more confusing to me. I can see that the fn_damageHandler.sqf scales the damage into DayZ's "blood".
That seems fairly straightforward, but where do I find (or how do I calculate) the "_damage" value seen in this line?
blood damage = damage^2*55.55
So a DMR is said to do
~8000 = 12^2*55.55
Anyways looking more into this it gets more confusing to me. I can see that the fn_damageHandler.sqf scales the damage into DayZ's "blood".
//PVP Damage
_scale = 200;
if (_damage > 0.4) then {
if (_ammo != "zombie") then {
_scale = _scale + 50;
};
if (_isHeadHit) then {
_scale = _scale + 500;
};
if ((isPlayer _source) and !(player == _source)) then {
_scale = _scale + 800;
if (_isHeadHit) then {
_scale = _scale + 500;
};
};
switch (_type) do {
case 1: {_scale = _scale + 200};
case 2: {_scale = _scale + 200};
};
if (_unitIsPlayer) then {
//Cause blood loss
//Log Damage
//diag_log ("DAMAGE: player hit by " + typeOf _source + " in " + _hit + " with " + _ammo + " for " + str(_damage) + " scaled " + str(_damage * _scale));
r_player_blood = r_player_blood - (_damage * _scale);
};
};
That seems fairly straightforward, but where do I find (or how do I calculate) the "_damage" value seen in this line?
r_player_blood = r_player_blood - (_damage * _scale);