Project Zomboid

Project Zomboid

89 ratings
[B42] Wear Vanilla Webbing with Everything
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
341.600 KB
5 Jan @ 7:31am
1 Change Note ( view )

Subscribe to download
[B42] Wear Vanilla Webbing with Everything

Description
Allows vanilla webbing to be worn with shoulder holster, fanny packs and other things it normally takes off.

Complementary mod


Q: what does this mod do?:

Mod creates a new body clothing location "TorsoRigEx" then adjusts the 4 vanilla webbings in game to move it to said body location, which in turn allows it to be worn with fannypacks, etc because the vanilla body location for webbings removes all fannypacks + other stuff when equipped.

Originally posted by Helios:
local group = BodyLocations.getGroup("Human")

group:getOrCreateLocation("TorsoRigEX")

Originally posted by Helios:
local item = ScriptManager.instance:getItem("Bag_ALICE_BeltSus")
if item then
item:DoParam("BodyLocation = TorsoExtraVest")
item:DoParam("CanBeEquipped = TorsoRigEX")
end
--
local item = ScriptManager.instance:getItem("Bag_ALICE_BeltSus_Camo")
if item then
item:DoParam("BodyLocation = TorsoExtraVest")
item:DoParam("CanBeEquipped = TorsoRigEX")
end
--
local item = ScriptManager.instance:getItem("Bag_ALICE_BeltSus_Green")
if item then
item:DoParam("BodyLocation = TorsoExtraVest")
item:DoParam("CanBeEquipped = TorsoRigEX")
end
--
local item = ScriptManager.instance:getItem("Bag_ChestRig")
if item then
item:DoParam("BodyLocation = TorsoExtraVest")
item:DoParam("CanBeEquipped = TorsoRigEX")
end


shouldn't be any bugs, errors or mod incompatibilities but if somehow there are, drop them in comments.



Workshop ID: 3401228213
Mod ID: webbingsatchel
14 Comments
misterchow05 6 Oct @ 3:55am 
Temporary fix to get this mod working again:

Go to:
C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3401228213\mods\WebbingPlusSatchel\42\media\lua\client

Open the WebbingPlusSatchels.lua and replace everything with:

local item = ScriptManager.instance:getItem("Bag_ALICE_BeltSus")
if item then
item:DoParam("BodyLocation = Webbing")
item:DoParam("CanBeEquipped = TorsoRigEX")
end

local item = ScriptManager.instance:getItem("Bag_ALICE_BeltSus_Camo")
if item then
item:DoParam("BodyLocation = Webbing")
item:DoParam("CanBeEquipped = TorsoRigEX")
end

local item = ScriptManager.instance:getItem("Bag_ALICE_BeltSus_Green")
if item then
item:DoParam("BodyLocation = Webbing")
item:DoParam("CanBeEquipped = TorsoRigEX")
end

local item = ScriptManager.instance:getItem("Bag_ChestRig")
if item then
item:DoParam("BodyLocation = Webbing")
item:DoParam("CanBeEquipped = TorsoRigEX")
end
Thimaf 29 Sep @ 11:02am 
DOes the webbing go over jacket's with this mod, or does it become invisible?
MikeM93 26 Sep @ 7:23am 
So 42.12.0 just dropped and I guess it broke the way you fixed their game for them. Any idea on how to adjust the code? I know you said you're waiting for a stable 42 to update the mod yourself so I'm just asking if there's a diy approach you can think of.
Helios  [author] 25 Aug @ 8:53am 
@SDgamer should be able to wear everything including a bulletproof vest (if thats what you mean by protective vest) maybe updates changed something and now the mod works funny, i'll look into it soon
SDgamer 30 Jun @ 3:27pm 
Besides the Tarp Webbing, the Chest Rigs and ALICE Belts can't be worn with Protective Vest. Do you plan on changing that? Also the Tarp Webbing allow a Fanny Pack to go on your lower back
SDgamer 21 Jun @ 10:04pm 
OOPS! Disregard my comment from earlier as i forgot a different mod handles that!
SDgamer 21 Jun @ 10:02pm 
Not sure when B42 will reach Stable but, once it does the Tarp Sling Bag and Fanny Pack don't work with your mod. Previous Satchels and Sling Bags do though
Weaver 2 Jun @ 1:19pm 
Fixes a very annoying bug where you can't wear this webbing with only *some* jackets. Appreciate this one my man thank you
Helios  [author] 23 May @ 7:24am 
@SDgamer apologies been busy, probs not gonna update till b42 comes to stable, anyone who wants to use this mod as a base to fix the tarp webbing, feel free
SDgamer 14 Apr @ 11:41am 
Not sure when you are going to update this mod again or if you need to but, judging from the patch notes the Devs added a Tarp Webbing that we can make