From 5ae7f920dd1aa8debd2dc5e610c94eb2928f82b6 Mon Sep 17 00:00:00 2001 From: Mikeeeyy Date: Fri, 15 Aug 2014 00:08:21 +0100 Subject: [PATCH 1/4] Update cannot build plot pole within 45m. Updates the cannot build plot pole within 45m message to use the DZE_PlotPole variable. --- SQF/dayz_epoch_b/stringtable.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index 7abfb6162..9819def7d 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -3147,14 +3147,14 @@ Nelze stavět v boji. - Cannot build plot pole within 45m of an existing plot. - Cannot build plot pole within 45m of an existing plot. - Grundstück-Markierung kann nicht innerhalb 45m von einem bestehenden Grundstück erbaut werden. - Нельзя построить столб в пределах 45м. от существующего столба. + Cannot build plot pole within %1m of an existing plot. + Cannot build plot pole within %1m of an existing plot. + Grundstück-Markierung kann nicht innerhalb %1m von einem bestehenden Grundstück erbaut werden. + Нельзя построить столб в пределах %1м. от существующего столба. - Kan bouw-paal niet bouwen op minder als 45m afstand van een bestaand bouwterrein. - Impossible de construire un panneau de propriété privée à moins de 45m d'un autre panneau du genre. - Nelze postavit hraniční značku ve vzdálenosti 45 metrů od jiné značky. + Kan bouw-paal niet bouwen op minder als %1m afstand van een bestaand bouwterrein. + Impossible de construire un panneau de propriété privée à moins de %1m d'un autre panneau du genre. + Nelze postavit hraniční značku ve vzdálenosti %1 metrů od jiné značky. PgUp to raise or PgDn to lower (Hold ALT to raise faster or CTRL slower), Q or E to flip 180. Space-Bar to build. From 49fe5f48465d388bc1f9838dbdd17fc960237257 Mon Sep 17 00:00:00 2001 From: Mikeeeyy Date: Fri, 15 Aug 2014 00:10:24 +0100 Subject: [PATCH 2/4] Update cannot build plot pole within 45m. Updates the cannot build plot pole within 45m message to use the DZE_PlotPole variable. --- SQF/dayz_code/actions/player_build.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_build.sqf b/SQF/dayz_code/actions/player_build.sqf index ff7534816..2da975bc1 100644 --- a/SQF/dayz_code/actions/player_build.sqf +++ b/SQF/dayz_code/actions/player_build.sqf @@ -137,7 +137,7 @@ _findNearestPole = []; _IsNearPlot = count (_findNearestPole); // If item is plot pole && another one exists within 45m -if(_isPole && _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_44") , "PLAIN DOWN"]; }; +if(_isPole && _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(format [localize "str_epoch_player_44", DZE_PlotPole select 1]) , "PLAIN DOWN"]; }; if(_IsNearPlot == 0) then { From 5bb15f0c664c7ba9c1c993baf0d0739e691161c8 Mon Sep 17 00:00:00 2001 From: McKeighan Date: Fri, 15 Aug 2014 13:36:47 -0400 Subject: [PATCH 3/4] Update UAZ.hpp Armor of only 50 on the upgrade seemed light since it's baseline is 40. The normal ratio of armor increase is X 2.5, so this has been applied to the 40. (results in 100 armor). Added damage resistance to the armor to increase it's effectiveness. --- SQF/dayz_code/Configs/CfgVehicles/LAND/UAZ.hpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgVehicles/LAND/UAZ.hpp b/SQF/dayz_code/Configs/CfgVehicles/LAND/UAZ.hpp index 4d1cb6ea9..38ab8f849 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/LAND/UAZ.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/LAND/UAZ.hpp @@ -219,7 +219,8 @@ class UAZ_Unarmed_TK_CIV_EP1_DZE1: UAZ_Unarmed_TK_CIV_EP1 { // Armor 2 class UAZ_CDF_DZE2: UAZ_CDF_DZE1 { - armor = 50; // car 20 + armor = 100; // UAZ 40 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -266,7 +267,8 @@ class UAZ_CDF_DZE2: UAZ_CDF_DZE1 { }; }; class UAZ_INS_DZE2: UAZ_INS_DZE1 { - armor = 50; // car 20 + armor = 100; // UAZ 40 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -313,7 +315,8 @@ class UAZ_INS_DZE2: UAZ_INS_DZE1 { }; }; class UAZ_RU_DZE2: UAZ_RU_DZE1 { - armor = 50; // car 20 + armor = 100; // UAZ 40 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -360,7 +363,8 @@ class UAZ_RU_DZE2: UAZ_RU_DZE1 { }; }; class UAZ_Unarmed_TK_EP1_DZE2: UAZ_Unarmed_TK_EP1_DZE1 { - armor = 50; // car 20 + armor = 100; // UAZ 40 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -407,7 +411,8 @@ class UAZ_Unarmed_TK_EP1_DZE2: UAZ_Unarmed_TK_EP1_DZE1 { }; }; class UAZ_Unarmed_UN_EP1_DZE2: UAZ_Unarmed_UN_EP1_DZE1 { - armor = 50; // car 20 + armor = 100; // UAZ 40 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -454,7 +459,8 @@ class UAZ_Unarmed_UN_EP1_DZE2: UAZ_Unarmed_UN_EP1_DZE1 { }; }; class UAZ_Unarmed_TK_CIV_EP1_DZE2: UAZ_Unarmed_TK_CIV_EP1_DZE1 { - armor = 50; // car 20 + armor = 100; // UAZ 40 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; From 1bdd96cd880e97606cc44c2193c6765d726ccebd Mon Sep 17 00:00:00 2001 From: McKeighan Date: Fri, 15 Aug 2014 13:39:06 -0400 Subject: [PATCH 4/4] Update Volha.hpp added armor damage resistance on upgrade. --- SQF/dayz_code/Configs/CfgVehicles/LAND/Volha.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/Configs/CfgVehicles/LAND/Volha.hpp b/SQF/dayz_code/Configs/CfgVehicles/LAND/Volha.hpp index d5cc20d27..c2e2614ff 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/LAND/Volha.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/LAND/Volha.hpp @@ -281,6 +281,7 @@ class Volha_2_TK_CIV_EP1_DZE1: Volha_2_TK_CIV_EP1 { // Armor 2 class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 { armor = 50; // car 20 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -328,6 +329,7 @@ class VolhaLimo_TK_CIV_EP1_DZE2: VolhaLimo_TK_CIV_EP1_DZE1 { }; class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 { armor = 50; // car 20 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -375,6 +377,7 @@ class Volha_1_TK_CIV_EP1_DZE2: Volha_1_TK_CIV_EP1_DZE1 { }; class Volha_2_TK_CIV_EP1_DZE2: Volha_2_TK_CIV_EP1_DZE1 { armor = 50; // car 20 + damageResistance = 0.02099; class HitPoints: HitPoints { class HitLFWheel: HitLFWheel { armor = 0.3; @@ -459,4 +462,4 @@ class Volha_1_TK_CIV_EP1_DZE4: Volha_1_TK_CIV_EP1_DZE3 { }; class Volha_2_TK_CIV_EP1_DZE4: Volha_2_TK_CIV_EP1_DZE3 { fuelCapacity = 210; // car 100 -}; \ No newline at end of file +};