From 2c4f06c98456aa79701e913ef5d6edbcb1d393f5 Mon Sep 17 00:00:00 2001 From: ebayShopper Date: Sun, 29 Jul 2018 12:21:00 -0400 Subject: [PATCH] Disable auto refuel, repair and rearm at WarfareBVehicleServicePoint Vanilla commit: https://github.com/DayZMod/DayZ/commit/53bfc597d699404c3e2531eabffce1d1199c4a29 --- CHANGE LOG 1.0.6.3.txt | 1 + .../CfgVehicles/Buildings/WarfareBBaseStructure.hpp | 9 +++++++++ SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp | 1 + 3 files changed, 11 insertions(+) create mode 100644 SQF/dayz_code/Configs/CfgVehicles/Buildings/WarfareBBaseStructure.hpp diff --git a/CHANGE LOG 1.0.6.3.txt b/CHANGE LOG 1.0.6.3.txt index 9a2b5486f..6f1d5ac62 100644 --- a/CHANGE LOG 1.0.6.3.txt +++ b/CHANGE LOG 1.0.6.3.txt @@ -9,6 +9,7 @@ [FIXED] Rare publicVariable value restrictions for AuthKey due to RNG with basic Latin characters (d48c907) @oiad @AirwavesMan [FIXED] Freeze when iterating through CfgWeapons in A2OA 1.64 due to conflict with ItemKeys in dayz_epoch_b.pbo #2010 @S-fly [FIXED] 45Rnd_545x39_RPK error after it was removed with the 2018-04-05 A2OA CorePatch (d249227) +[FIXED] Disabled Arma's automatic vehicle refuel, repair and rearm at WarfareBVehicleServicePoint buildings. @dihan48 [UPDATED] Spawning of Zombies and Loot in Safe Zones can now be toggled, disabled by default, see configVariables.sqf/DZE_SafeZoneZombieLoot (6248add, 141b25e) @oiad @_Lance_ [UPDATED] Added notification when status icons are disabled diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildings/WarfareBBaseStructure.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildings/WarfareBBaseStructure.hpp new file mode 100644 index 000000000..fef69c476 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildings/WarfareBBaseStructure.hpp @@ -0,0 +1,9 @@ +class WarfareBBaseStructure; + +class Base_WarfareBVehicleServicePoint: WarfareBBaseStructure +{ + //Disable Arma's automatic vehicle rearm, refuel and repair. Also needed on Refuel, Repair and Reammo trucks + transportAmmo = 0; + transportFuel = 0; + transportRepair = 0; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp index 5eb79d4b4..c7cd07f8c 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp @@ -495,6 +495,7 @@ class CfgVehicles #include "Buildings\Land_telek1.hpp" #include "Buildings\Land_VASICore.hpp" #include "Buildings\Land_Vysilac_FM.hpp" + #include "Buildings\WarfareBBaseStructure.hpp" #include "Buildings\WaterSources.hpp" #include "Buildings\Land_houseV_2T2.hpp"