Project Zomboid

Project Zomboid

Rifle Sling Fix [old]
134 則留言
Bambi  [作者] 2023 年 2 月 14 日 下午 2:08 
also the original creator updated the mod, use whichever one you wish, both still work.
but just know i probably will never be updating this again
Bambi  [作者] 2023 年 2 月 14 日 下午 2:03 
you CAN craft them, you can also find them in the wild, they copied their spawns from guns, so check military outposts, police, or gun stores
Lou1zz 2023 年 2 月 14 日 下午 12:44 
i need to craft this right
Bambi  [作者] 2022 年 11 月 20 日 上午 5:15 
@humble most likely, i would lol. I only made my version as a super super simplistic fix
if Akyets mod works again i would 100% use that as he knows how to code and i know very little
Heart 🎕 2022 年 11 月 19 日 下午 2:52 
The old mod was updated, should I use that instead of this?
Videogames 2022 年 10 月 30 日 下午 1:12 
@huflungpu
Yeah 'Better Belts' uses a depreciated & now-defunct hotbar API so that's 100% the cause of the compatibility weirdness. Not sure if the mod is still supported, cause i'd love to see it get updated to modern standards & compatibility.
Gurinu 2022 年 9 月 24 日 下午 11:23 
Can't seem to get this to work with 2 weapons on the back w Brita
Bambi  [作者] 2022 年 9 月 22 日 下午 2:45 
@huflungpu thank you! i will add that to the desc
huflungpu 2022 年 9 月 21 日 上午 9:13 
@Bambi Did some testing, and it works as long as the Better Belts belt is equipped after your holster and sling. Equipping a sling after the borked hotbar slots causes any further hotbar slots to also break, whereas if you equip the sling first, making it hotbar slot 2, it works fine.
Bambi  [作者] 2022 年 9 月 19 日 下午 1:36 
@huflungpu no idea, never used that mod. it might work, it at least works alongside "noir's attachments" which does also gives more hotbar slots, as long as you dont go over 10 slots it SHOULD be fine
huflungpu 2022 年 9 月 19 日 上午 9:38 
Is this compatible with the better belts mod, which adds 2 extra hotbar slots? Better belts has the same issue as the original sling mod where the hotbar keys dont work, even though the items are equipped.
WALN Zell 2022 年 8 月 11 日 下午 5:08 
Great!
Bambi  [作者] 2022 年 8 月 11 日 下午 2:40 
Last Tested: 41.71
WALN Zell 2022 年 8 月 11 日 上午 11:18 
@OMAIRI I hope so.
OMAIRI 2022 年 7 月 24 日 下午 9:35 
works 41.71?
Shadowslash 2022 年 7 月 21 日 上午 11:31 
can rifle sling be crafted? i cant find any recipe
Bambi  [作者] 2022 年 7 月 12 日 下午 4:04 
deleted two files in the "timedactions" folder, "Sling_ISEquipWeaponAction.lua" and "Sling_ISDetachItemHotbar.lua"

for some reason it gets rid of the bug, i have no idea why it does.... but it do
KillStorm999 2022 年 7 月 12 日 下午 1:38 
Whats the small fix?
Bambi  [作者] 2022 年 6 月 25 日 上午 3:46 
yes
J0nx 2022 年 6 月 25 日 上午 12:38 
Is this compatible with the B41 weapons mod?
Raiden 2022 年 6 月 1 日 下午 7:46 
the rifle slung across the back looks awesome, I don't think you should "fix it"
Bambi  [作者] 2022 年 5 月 29 日 上午 8:24 
thats all good, ill add that to teh list of conflicts
_Onixflame_ 2022 年 5 月 28 日 下午 12:16 
ye, it was due to Noir's Attachment mod sorry
Bambi  [作者] 2022 年 5 月 27 日 下午 2:54 
@_OnixFlame_ What version are you on? and are you sure you havent accidentally renabled the old mod?
because i cannot seem to replicate that issue on 41.71
_Onixflame_ 2022 年 5 月 25 日 下午 1:03 
it is bugging with hot slot now after uptade, problem the same like in original mod
Bambi  [作者] 2022 年 4 月 18 日 下午 4:45 
@мишка фреди not that i know of :( i dont really know much about coding
drekavac 2022 年 4 月 18 日 上午 1:56 
Equipping a backpack and a sling with cause a visual bug where the rifle is slung on your back instead of the side backpack pocket
Any ways to fix this?
Bambi  [作者] 2022 年 4 月 17 日 下午 5:12 
@maste find it in containers or on cops/military
maste 2022 年 4 月 17 日 下午 4:30 
How do you get it?
Pervy Sage 2022 年 4 月 2 日 下午 3:03 
Actually that's beyond me. I thought it was simpler, but I was wrong.
Bambi  [作者] 2022 年 4 月 2 日 下午 2:36 
seems like it should be pretty straight forward, in Sling mod fix\media\lua\client\Hotbar\Sling_ISHotbarAttachDefinition.lua it looks like the "attachment" section could be deciding what kind of items are allowed to be equipped, but i could be wrong

also note that Sling mod fix\media\lua\client\Timedactions used to contain 2 luas in it that had something to do with equipping the weapon, as i said i dont code so i didnt really understand, but found those 2 files were creating the bug from the original rifle sling mod that would deequip your weapon everytime you tried to attack
so i removed them, hence why they are missing
you can still get the files from arkyets original version in the description above
Pervy Sage 2022 年 4 月 2 日 下午 2:28 
Ah ok, hmm. I might be able to do it in my files. I'll just load my changes after your mod loads.
Bambi  [作者] 2022 年 4 月 2 日 下午 2:26 
@pervysage yes im sure it could be done but i am not the man do it lol, i dont code, didnt make this mod just reuploaded a fix
Pervy Sage 2022 年 4 月 2 日 下午 2:22 
The sling can holster a shotgun or other large gun, do you think it could be modified to holster another large weapon like a bat or crowbar?
Bambi  [作者] 2022 年 3 月 31 日 下午 3:47 
@rotcth unsub from arkyets version of the mod https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2644986930
ROTCTH SPECIAL 2022 年 3 月 30 日 上午 8:42 
Bruh it still bug with Belt gear weapon
mrwide49 2022 年 3 月 28 日 上午 2:20 
Nevermind lol the sling weapon hotkey was the same one that spawned in a wild survivor. SImply switching the binding fixes it im a dumbass
mrwide49 2022 年 3 月 27 日 下午 7:38 
does anyone elses sling somehow spawn in an npc at your location whenever you equip a weapon that is attached to it?
Susp3kt 2022 年 3 月 25 日 下午 9:09 
Is this compatible with the 'Firearms B41' mod? I've noticed that 'Firearms' spawns its own 2 Point Sling and I think it might be replacing the sling with this mod as I have yet to find one ever since using it.
Strelok 2022 年 3 月 25 日 上午 6:43 
I need to loot sling? Is how it works?
Kitasan Black 2022 年 3 月 19 日 上午 7:38 
working fine in .68
Master Splinter 2022 年 3 月 16 日 下午 2:07 
Yea working in .68
Profeta 2022 年 3 月 16 日 下午 12:40 
41.68?
uogamer79 2022 年 3 月 14 日 下午 1:15 
I will be sure to do that
Bambi  [作者] 2022 年 3 月 14 日 下午 12:34 
@uogamer79 thank you so much for the kind words, but to be honest i didnt really do much lol, just uploaded this fix someone else found

I would check out Akyet's (the orignal creator) mods and give him some kind words too
uogamer79 2022 年 3 月 14 日 上午 9:33 
yeah i just wanna say that this mod is awesome and thanks for making it work on later builds
Bambi  [作者] 2022 年 3 月 14 日 上午 8:01 
@uogamer79 yes it does
uogamer79 2022 年 3 月 13 日 下午 10:21 
so does this work with brita's gun pack? probably a dumb question but i wanna make sure.
Bambi  [作者] 2022 年 2 月 24 日 上午 7:51 
@ja'Crispy if you have downloaded the mod its in
C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\2684045242
Ja'Crispy 2022 年 2 月 23 日 下午 9:02 
Where can i get the code? id like to make this mod a little different