Bow and Arrow

If you liked this item, please rate it up on Steam Workshop page.

Author: Gluten the Sensitive

Last revision: 26 Mar, 2024 at 19:01 UTC (4)

File size: 881.57 KB

On Steam Workshop

Description:

Adds archery.
Glitched in multiplayer (Arrows are more lethal because of a game limitation (This could be worked around). The bow looks different to other players when it is drawn (A fix was attempted but with only one instance of the game running, for lack of RAM)).
Not working with a controller (For lack of a controller to test with. Oh, a controller can be emulated).
In the latest game version the arrows do not pitch up or down.

(I am currently not playing project zomboid or modding it much though)

You assemble arrows with the right-click menu, like with firearm attachments, instead of with the recipe menu.

How fast your character can nock an arrow and how well he can aim depend on his archery skill (and panic and tiredness). Your character can start with the "Archer" trait. Hitting targets is easier when they are close than when they are far away. An arrow is nocked with the reload button. The bow uses the same controls as firearms, so you can check the controls page. This mod shows green circles over the targets’ heads as part of a custom targeting system.

It’s not exactly balanced right now, but it might be a bit of fun, maybe. (This sentence was typed long ago :/ )

A wooden bow can be made by the character. There is also a compound bow without a recipe.
Bow: Plank + knife
Bow string: Twine
Arrow shaft: Sturdy stick + knife
Arrowhead: Either a nail hammered against a big hammerhead; or spoon/butterknife and saw; or a sharpned stone
Fletchings: DuctTape or something + scissors; or from butchering a bird

This mod uses its own aiming system, so it doesn’t intermesh with any other mod that does things with aiming systems unless the other mod is specifically programmed to do so. For example it probably does not collaborate with Advanced Trajectory.

Possible additions (Though actually perhaps I am unlikely to put the time into doing most of these. Also archery is going to be added to the base game which makes me extra unlikely to so much more work on this mod):
. Adding more detail to bow making, like different sorts of wood and different bow designs and humidity (Probably not. It would ideally involve finding how to get the Lua to distinguish conifer wood from deciduous wood).
. Balancing (Two different ways of aiming – looking down the arrow, and not looking down the arrow. The Archer trait giving good looking-down-the-arrow skill. Looking down the arrow being slow to aim and bad against moving targets. Instinctive archery being good for hitting moving targets, and at shooting without spending time aiming)
. Seeing arrows stuck in zombies (partly done)
. A quiver (done. added compatibility with another mod’s quiver)
. Translations (got some Russian and Korean)
. Other sorts of bow like recurve laminated and composite and mechanical, and stone-shooting (added one)
. Shooting at zombies lower down than the archer.
. Shooting at superb and subpar survivors.
. Target practice.
. Getting tired from drawing the bow
. Having separate aim and draw buttons
. The sounds someone made (or maybe not eew)
. Shooting over fences
. A bow holster
. Shooting molotovs
. Strings snapping
. Making the compound bow look better on the back with a bag
. Aiming with a controller (using a controller emulator)

Acknowledgements:
. To make the arrow move and detect collisions I used Driving Cars Mod by nolanritchie to start with, where the item is picked up and put down again to move it.
. The lua tooltip things were originally copied from something like ORGM.

Zomboid log file for error messages:
HardDrive:UsersUsernameZomboidLogs

Someone made this mod for this mod:
https://steamcommunity.com/sharedfiles/filedetails/?id=2824362101
"Bow and Arrow Addon" "QoL Addon"

There is also a mod for alternative drawing. And there’s another one that implements that mod differently. This code has not yet been merged with this mod, my apology for being tardy :c

Compatible with the quiver in the mod "Better Belts". The quiver makes nocking an arrow a bit faster too.

There’s a mod that does something with this mod and others. (I wonder what I meant by this line)

In case you want to know how to do things with this mod’s modular arrow system, There’s an example mod that adds a glass arrowhead and things in the "discussions" section of this page.

I remember there was a mod that makes changes to this mod like adding flint arrowheads and more ways of making fletchings but it’s not listed in this mod description, which is inconvenient.

I’m all right with mods of this mod being made, like retextures and other things, and also mod packs.

Workshop ID: 2208315526
Mod ID: MandelaBowAndArrow

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.