Project Zomboid

Project Zomboid

89 个评价
[B42] Wear Vanilla Webbing with Everything
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
341.600 KB
1 月 5 日 上午 7:31
1 项改动说明 ( 查看 )

订阅以下载
[B42] Wear Vanilla Webbing with Everything

描述
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.

引用自 Helios
local group = BodyLocations.getGroup("Human")

group:getOrCreateLocation("TorsoRigEX")

引用自 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 条留言
misterchow05 10 月 6 日 上午 3:55 
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 9 月 29 日 上午 11:02 
DOes the webbing go over jacket's with this mod, or does it become invisible?
MikeM93 9 月 26 日 上午 7:23 
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  [作者] 8 月 25 日 上午 8:53 
@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 6 月 30 日 下午 3:27 
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 6 月 21 日 下午 10:04 
OOPS! Disregard my comment from earlier as i forgot a different mod handles that!
SDgamer 6 月 21 日 下午 10:02 
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 6 月 2 日 下午 1:19 
Fixes a very annoying bug where you can't wear this webbing with only *some* jackets. Appreciate this one my man thank you
Helios  [作者] 5 月 23 日 上午 7:24 
@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 4 月 14 日 上午 11:41 
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