Project Zomboid

Project Zomboid

[B42]Pallontras Crossbows
162 Comments
sans 20 Jul @ 2:53am 
I encountered a bug: after looting a hand crossbow from a zombie and finding a set of metal bolts, I holstered the crossbow and tried to load it with the metal bolts—nothing happened. Then, when I clicked to load wooden bolts instead, the crossbow disappeared.
Codemonkey3 19 Jul @ 11:59am 
@MoeTHM Do you have ATRO? I think that mod is causing the bolts to duplicate.
MoeTHM 11 Jul @ 7:26pm 
Not a big deal, but I am retrieving more bolts than I brought with me.
Gor 1 Jul @ 1:26pm 
Point blank support? Thats literally all this mod was missing. Bless your lil' fingers.
Pallontras  [author] 1 Jul @ 10:37am 
@我是一个小菜坤 maybe added a patch for it, seems to work if you put this mod after point blank in the load order
[KUN]喜欢吃皮蛋拌粉 30 Jun @ 9:33pm 
This mod seems to conflict with Point Blank, as I noticed that crossbows deal no damage when both are enabled. When I disabled this mod, the crossbow worked normally again. Hopefully, compatibility can be added in the future... 😕
Pallontras  [author] 30 Jun @ 8:59am 
@Onepunch_Bonnie, @exoduss123 should be fixed now

@inpenetrablegash i might have made item spawn chance too low, will maybe increase it in the future
Onepunch_Bonnie 30 Jun @ 8:23am 
yeah mod is now breaking sound with guns
inpenetrablegash 30 Jun @ 8:16am 
I don't think this mod is actually working, I have never found a crossbow or crossbow related item/skillbook.
exoduss123 30 Jun @ 2:49am 
Tested after you updated the mod and it now breaks the sound of other firearms, makes them silent as if they were suppressed or use the sound of crossbow

Checked with only your mod enabled.
[KUN]喜欢吃皮蛋拌粉 26 Jun @ 11:05am 
OK
Pallontras  [author] 25 Jun @ 4:41pm 
@Paradox try redownloading the mod sometimes it works

@我是一个小菜坤 maybe a mod overrides the same function as this one and it bugs out, will try to fix this in the future

@SDgamer i didn't add it yet because its missing it's model and i don't make those i only do code and textures, zer0 is the one who makes the models and he won't make anything till they readd MP(he plays MP only) so could be during unstable if it re-releases during it
Paradox 25 Jun @ 12:54pm 
Even with this being the only mod on, nothing shows up.
[KUN]喜欢吃皮蛋拌粉 25 Jun @ 3:59am 
That's really strange... If you only have this mod installed, attacks deal damage normally. But when multiple mods are involved, it stops working — does anyone know why?
SDgamer 24 Jun @ 11:09pm 
Pardon me asking but, are waiting for Stable to come out or are you adding the Mag Fed Crossbow durring Unstable? As someone who likes the Urban Survival style of game play i really do need a crossbow like that
Pallontras  [author] 21 Jun @ 8:16pm 
@OxTailSafu i tthink you could but since most cans of that type are made from aluminum it's very bendable unlesss its a thick sheet so it's penetration wouldn't be as good as the other ones that is if it could penetrate at alll
OxTailSafu 21 Jun @ 7:36pm 
Yeah no worries! I absolutely love this mod, so I've just been throwing the tin cans. Do you think it'd make sense to allow soda cans to be used as well for arrow heads?
Pallontras  [author] 21 Jun @ 10:22am 
@OxTailSafu i might have forgot to make it consume in the recipe, sorry but i have no pc rn so i can't really do anything until around next week when it is supossed to be fixed so i guess just throw the cans in the trash? will fix when i have my pc again
OxTailSafu 19 Jun @ 3:54pm 
I wanted to report a bug regarding making a Crossbow Bolt Head with Tin Cans. It looks like the recipe isn't consuming the cans so you can make an infinite amount of ammo from them.
Pallontras  [author] 15 Jun @ 10:47am 
@stevenpiamba96 maybe? i haven't used that mod but some people reported some things from this will behave wierdly when using rains, like bolts duping when killing zombies, or not being able to convert attachments

@浟伊 maybe will remove it from the crude crossbow recipe but it's definitelly needed for the other ones, also forgot to add the stone drill as a possible tool
stevenpiamba96 15 Jun @ 10:26am 
Helloooo, Can I use B42 Rain's Firearms & Gun Parts mod at the same time as this mod?
浟伊 15 Jun @ 7:17am 
Hand drills are really hard to find. Can we replace them with other tools?
Couch 14 Jun @ 7:19pm 
Thanks for the fix!
Pallontras  [author] 14 Jun @ 7:59am 
@HergenDergen that's from back when i tried making them have actual reload time but seems like it's tied to animations, only way that i could think of to increase it would be with a custom reload animation which is currently out of my skill level

@Davlon_Valavaern will add a way to make bolt heads with metal in the future
HergenDergen 14 Jun @ 4:32am 
Thanks for getting it working! It's so sick having a crossbow mod in B42 again!

I've noticed after poking around in the scripts and Lua files that each crossbow + String/Wire type has it's own bespoke reload speed value, but after some testing in game in an isolated context, every crossbow and string type is currently reloading at the same speed, even after changing the ReloadTime value in the scripts folder to different values, the reload speed doesn't seem to change in game despite the Show Weapons Stats Plus mod reflecting the altered values.

I would love to know if there's any way to get those bespoke reload speeds from the PWPNXB_crossbowsWire & PWPNXB_crossbowsTwines' ReloadTime values to work as the current blanket reload speed allowing around 1 shot a second feels a little fast/powerful at the moment.
Davion_Valavaern 13 Jun @ 11:47pm 
Thank you for the fix.

I do have to say, I'm not a fan of needing to use stone heads on wooden bolts now, instead of being able to make them with scrap metal. I think having both as an option would be better.
jk.707 13 Jun @ 8:34pm 
Cheers for the update, for some reason it only started working when I resubscribed, but I'm happy, got my crossbow back!
uMadBro1911 12 Jun @ 8:40pm 
same
jk.707 10 Jun @ 11:55pm 
In the debug, it shows the error is found in shared/TimedActions/ISReloadWeaponAction.lua, shared/TimedActions/Firearms_ISReloadWeaponAction.lua, shared/TimedActions/PWPNXBReloadWeaponAction.lua.
Couch 10 Jun @ 8:38pm 
Yep, it's busted right now. :(
Pallontras  [author] 10 Jun @ 2:01pm 
@OxTailSafu will take a look into it something might have changed on the last zomboid patch
Uncle Seifer 10 Jun @ 12:00pm 
@OxTailSafu me to.
After 42.9 update
OxTailSafu 10 Jun @ 10:31am 
Anyone else having issues with being unable fire a crossbow? I end up getting an error while using these 2 mods here.

function: canShoot -- file: ISReloadWeaponAction.lua line # 391 | Vanilla
function: attackHook -- file: PWPNXBReloadWeaponAction.lua line # 44 | MOD: Pallontras Weapons - Crossbows
function: attackHook -- file: GaussRifleClient.lua line # 279 | MOD: Gauss Firearms

LOG : Lua f:30576, t:1749576444922> zombies: 22 / 4 / 0.8833333333336855
LOG : ExitDebug f:30790, t:1749576448517> EXITDEBUG: ToggleEscapeMenu 1
LOG : ExitDebug f:30790, t:1749576448518> EXITDEBUG: ToggleEscapeMenu 3
LOG : ExitDebug f:30790, t:1749576448518> EXITDEBUG: ToggleEscapeMenu 4
LOG : ExitDebug f:30790, t:1749576448518> EXITDEBUG: ToggleEscapeMenu 5
Pallontras  [author] 10 Jun @ 8:07am 
@kelenas_sarkeen it is planed to add a recycle broken wood bolts recipe which will always drop wood shavings while also giving back bolt heads and fletchings with a chance based on your maintenance level also metal bolts too but that will just give scrap metal to melt down into other stuff
kelenas_sarkeen 10 Jun @ 5:06am 
Any chance to make broken crossbow bolts useful in some way? Maybe add a recipe that recovers some bolt-heads, making it somewhat easier to craft replacements? Or make it so they can be used as fuel in ovens, fires, and the like?
Pallontras  [author] 27 May @ 11:36am 
@penni will take a look into it, might have bugged with the new update
penni 27 May @ 10:13am 
I cant seem to reload the "Crude Crossbow (wire)" i've tried using short and normal wooden bolts as well as setting the crossbow to shoot wooden arrows
AmberGlowBug 16 May @ 8:47am 
In fact when I just did "use short wood bolts in hand crossbow" it vanished my hand crossbow x_x
AmberGlowBug 16 May @ 8:44am 
Can anyone get the hand crossbow to work? I can't get mine to load metal bolts. I have 24 short metal bolts in inventory and short wooden bolts, it won't load either.
Syxxe 14 May @ 7:03pm 
I can confirm I found which mod is causing the bolt duplication. Its advanced Trajectory realism overhaul
Pallontras  [author] 14 May @ 8:56am 
@dodon1465 will look into this bug further, i think its something to do with the zombie dying event so i'd look for mods that change zombies or zombies loot in some way

@SDgamer probably will some day, i kind of already have some models for scrap guns, just need to add it into the game
TheDon 13 May @ 11:36pm 
Anyone ever figure out what mod is making bolts duplicate when you kill zomboids? Its not the worst bug. I guess I could just only pick up one bolt from the body, and pretend the other one didn't spawn lol.
SDgamer 13 May @ 8:34pm 
Since you made the Tinkar mod and this awesome Crossbow mod, do you have plans to make a scrap gun mod? I doubt the Scrap Gun Add-on for The Workshop mod is getting updated again
Pallontras  [author] 26 Apr @ 7:08am 
@Noisy Koi it's not actually a "muzzle flash" since i've removed that(problably why this mod won't work with some gun mods), but the bullet trace still generates light, if there was muzzle flash you'd see it lighting up twice on a dark room, one from the bullet and the other from the muzzle, i kinda like your idea of using bolts as weapons, but idk if weapons can use other weapons as ammo(would require me to change bolts from ammo to weapons in the code), and i imagine using wood bolts as a melee it would probably break from the first few hits unless you hit it perfectly straight and it doesn't hit something hard like a bone, metal bolts arguably better but would probably be dull after some swings, so maybe some day i'll add tnat
Noisy Koi 25 Apr @ 4:03pm 
also it'd be cool if we could equip bolts as "short blade" weapons, perhaps with a guaranteed chance to stick in an enemy when used in melee?
Noisy Koi 25 Apr @ 3:49pm 
just noticed the crossbow has muzzle flash when fired in low light.
Pallontras  [author] 23 Apr @ 11:43am 
@상자 yeah the metal bolts bolts are only on forge for now, when i updated this mod for b42 i haven't even played it so its somewhat unbalanced right now, i've been working on a new patch to rebalance some things and also add more recipes like knap bolt heads and file down metal bars into metal bolts
상자 22 Apr @ 7:51pm 
Wait. I don't see a recipe for making metal bolts in the crafting tab, which maybe I can make them at the blacksmith! I wish you had mentioned that in the description.
상자 22 Apr @ 7:41pm 
Very cool. But I think it would be better if there was a description that shows the individuality of each item. Below is the result that I checked.

Comparing the hand and improved crossbow
Attack power, range is higher in the improved crossbow, but

Weight 1.6 vs 2.0
Magazine 5 vs 1
One-handed vs Two-handed
Pistol holster possible vs impossible

Hand crossbow is better for general use. I think the improved one is better for hunting.
I haven't made the crude version. It's almost the same difficulty as the improved version.
It seems like the compound bow is an item that can't be made. I'm thinking of searching places like the hunter's house. Thx for the mod.
Pallontras  [author] 18 Apr @ 5:18pm 
@Noisy Koi i have, i just don't know how to make clothes yet, if i someday learn how to, the quiver will probably be the first one i will make