The custom loot spawn can be adjusted to increase the occurrence of antibiotics..
http://www.opendayz.net/threads/100-custom-loot-tables-tutorial.8474/page-14#post-53096
BUT how about we decipher and play with the fn_damageHandler.sqf file to reduce the infection chance to your liking? Partularly the _hitInfection = ((exp _rndInfection) > 1.25) line
http://www.opendayz.net/threads/100-custom-loot-tables-tutorial.8474/page-14#post-53096
BUT how about we decipher and play with the fn_damageHandler.sqf file to reduce the infection chance to your liking? Partularly the _hitInfection = ((exp _rndInfection) > 1.25) line
Code:
if (_damage > 0.4) then { //0.25
//Pain and Infection
if (_unit == player) then {
_hitPain = (((_damage * _damage) min 0.75) > _bloodPercentage);
//Infection from zombies
if (_ammo == "zombie") then {
_rndInfection = random (_damage - _bloodPercentage);
_hitInfection = ((exp _rndInfection) > 1.25);
if (_newtypezed) then {
_rndInfection = random (_damage - _bloodPercentage);
_hitInfection = ((exp _rndInfection * 1.25*1.1) > 1.25);
};
if (_hitInfection) then {
r_player_infected = true;
player setVariable["USEC_infected",true,true];
};
//diag_log format["%1 (_damage - _bloodPercentage):%2 _rndInfection:%3 (exp _rndInfection):%4 _hitInfection:%5 ", __FILE__, (_damage - _bloodPercentage), _rndInfection, exp _rndInfection, _hitInfection];
};
if (_hitPain) then {
r_player_inpain = true;
player setVariable["USEC_inPain",true,true];
};
if ((_damage > 1.5) and _isHeadHit) then {
_id = [_source,"shothead"] spawn player_death;
};
};