mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add DZE_enableBloodRegen to enable/disable blood regenation
Made by @Victor-the-Cleaner
This commit is contained in:
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -212,26 +212,25 @@ while {1 == 1} do {
|
|||||||
_radTimer = 0;
|
_radTimer = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Regen some blood if player is well fed and resting
|
if (DZE_enableBloodRegen) then {
|
||||||
// Attention: regen _result must not trigger the "up" arrow of the blood icon
|
// Regen some blood if player is well fed and resting
|
||||||
if (r_player_blood < r_player_bloodTotal && {(dayz_hunger < SleepFood) && (dayz_thirst < SleepWater) && !r_player_injured && !r_player_infected && !(r_player_Sepsis select 0) && !r_player_unconscious}) then {
|
// Attention: regen _result must not trigger the "up" arrow of the blood icon
|
||||||
_result = (1-(dayz_hunger + dayz_thirst)/(SleepWater + SleepFood));
|
if (r_player_blood < r_player_bloodTotal && {(dayz_hunger < SleepFood) && (dayz_thirst < SleepWater) && !r_player_injured && !r_player_infected && !(r_player_Sepsis select 0) && !r_player_unconscious}) then {
|
||||||
|
_result = (1-(dayz_hunger + dayz_thirst)/(SleepWater + SleepFood));
|
||||||
|
|
||||||
call {
|
call {
|
||||||
if (_result < 0.25) exitWith {}; // not well fed
|
if (_result < 0.25) exitWith {}; // not well fed
|
||||||
if ((toArray(animationState player) select 5) == 112) exitWith { // prone
|
if ((toArray(animationState player) select 5) == 112) exitWith { // prone
|
||||||
_result = _result * (1 + 10 * (r_player_bloodTotal - r_player_blood) / r_player_bloodTotal);
|
_result = _result * (1 + 10 * (r_player_bloodTotal - r_player_blood) / r_player_bloodTotal);
|
||||||
};
|
};
|
||||||
if (speed player < 1) exitWith { // still
|
if (speed player < 1) exitWith { // still
|
||||||
_result = _result * (1 + 4 * sqrt((r_player_bloodTotal - r_player_blood) / r_player_bloodTotal));
|
_result = _result * (1 + 4 * sqrt((r_player_bloodTotal - r_player_blood) / r_player_bloodTotal));
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
r_player_bloodregen = r_player_bloodregen + _result;
|
||||||
};
|
};
|
||||||
r_player_bloodregen = r_player_bloodregen + _result;
|
|
||||||
};
|
|
||||||
|
|
||||||
if (r_player_blood > r_player_bloodTotal) then {
|
|
||||||
r_player_blood = r_player_bloodTotal;
|
|
||||||
};
|
};
|
||||||
|
r_player_blood = r_player_blood min r_player_bloodTotal;
|
||||||
|
|
||||||
//Record low bloow
|
//Record low bloow
|
||||||
_lowBlood = player getVariable ["USEC_lowBlood", false];
|
_lowBlood = player getVariable ["USEC_lowBlood", false];
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ if (!isDedicated) then {
|
|||||||
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
timezoneswitch = 0; // Changes murderMenu times with this offset in hours.
|
||||||
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
dayz_maxGlobalZeds = 500; // Maximum allowed zeds on the map
|
||||||
dayz_paraSpawn = false; // Helo jump spawn
|
dayz_paraSpawn = false; // Helo jump spawn
|
||||||
|
DZE_enableBloodRegen = true; // player slowly regains blood if they are well fed and resting
|
||||||
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
DZE_SelfTransfuse = true; // Allow players to give themselves blood transfusions
|
||||||
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount, infection chance, cool-down (seconds)]
|
||||||
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
dayz_DamageMultiplier = 1; // Increases the damage to the player by zombie attacks
|
||||||
|
|||||||
Reference in New Issue
Block a user