Fix disappearing weapons from backpack

The normal intention to have a bag with this small size is, that not a weapon can be carried. Having 5 slots or more in a backpack is normally the signal that at least a secondary weapon can be carried inside this backpack. If a weapon will be put inside a bag without any free weapon slot, the weapon just disappears. To have a better and more intuitive playstyle every backpack with more as 5 slots should be able to carry at least 1 weapon.
This commit is contained in:
A Man
2019-10-24 08:27:33 +02:00
parent 1268f55f32
commit f7ea9cb3d7
2 changed files with 2 additions and 1 deletions

View File

@@ -29,5 +29,6 @@
[UPDATED] Added notification when status icons are disabled. (e04f0fc) @ebayShopper
[UPDATED] Added night vision mode back to DMR_DZ and M4SPR_DZE after it was removed with the 2018-04-05 A2OA CorePatch (d6cf707) @ebayShopper
[UPDATED] All M32 grenades using one inventroy slot now. (cc85067) @AirwavesMan
[UPDATED] The Czech Vest Pouch can carry one weapon now. This was changed to be more intuitive and to avoid disappearing weapons. @AirwavesMan
[INFO] Synced with DayZMod upstream up to commit fe063a8

View File

@@ -62,7 +62,7 @@ class DZ_Czech_Vest_Pouch: Bag_Base_EP1
picture = "\ca\weapons_e\data\icons\backpack_ACR_small_CA.paa";
scope = 2;
transportmaxmagazines = 12;
transportmaxweapons = 0;
transportmaxweapons = 1;
class eventHandlers
{
init="[(_this select 0),'CfgVehicles','DZ_Czech_Vest_Pouch'] execVM '\z\addons\dayz_code\init\object_BackpackAction.sqf';";