Project Zomboid

Project Zomboid

2,509 个评价
Bow and Arrow
7
15
6
8
3
5
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
893.657 KB
2020 年 8 月 24 日 下午 2:25
9 月 27 日 上午 11:52
88 项改动说明 ( 查看 )

订阅以下载
Bow and Arrow

描述
Made for Build 41 and not patched for Build 42.

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. It shouldn't glitch with Advanced Trajectory, it just uses its own separate code.


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)
. Note to self on reduced action time mod incompatibility.

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:\Users\Username\Zomboid\Logs

Someone made this mod for this mod:
https://psteamcommunity.yuanyoumao.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. Oh, maybe it was the "Way of the Bow" mod)

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. I'm okay with someone using code or artwork from this mod for another mod, like a Star Wars blaster mod or another archery mod, or an edited version of this mod for example, or "NightLord1337's Archery Revamped Remastered 2000". There's no need to ask me, I might take days or months to reply. The discussions section of this mod gives an example mod for this mod.

Workshop ID: 2208315526
Mod ID: MandelaBowAndArrow
热门讨论 查看全部(20)
4
3 月 22 日 下午 4:46
Constant error between mods
Sideroht
2
6 月 27 日 下午 6:10
Suggestions:
AltenRoguerz
6
9 月 27 日 上午 11:20
Translation of "Bow and Arrow"
Texaliuz
1,191 条留言
Gluten the Sensitive  [作者] 9 月 27 日 上午 10:49 
(Maybe the word is "accredited")
Gluten the Sensitive  [作者] 9 月 27 日 上午 10:48 
Thou shalt be credited indeed.
Reifel 9 月 27 日 上午 10:34 
😊 I'm glad I could contribute!
your mod is awesome

can you add my credits on patch code as comments?
my popular mod are Wheelbarrow and Firetrail mod
Gluten the Sensitive  [作者] 9 月 27 日 上午 8:41 
Oh a bug fix. I'd better.. um... I'm downloading project zomboid to patch this mod ;-;
Reifel 9 月 10 日 下午 3:23 
@BadGUY(peekGOD) that happens to me many time too, today i spare some time to fix it

on my legolas addon
Reifel 9 月 10 日 下午 3:21 
i just fix a bug on
MandelaBowAndArrow.Client.onPlayerUpdate

my legolas addon apply the patch
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3208407350

this bug causes an infinite log error, that drops my fps to 15 constant, its caused by arrowitem.square.chunk null (either if the square is null or chunk is null) it get rid of before starting the original function

Caused by: java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoChunk.recalcHashCodeObjects()" because "this.square.chunk" is null
at zombie.iso.objects.IsoWorldInventoryObject.removeFromSquare(IsoWorldInventoryObject.java:822)
DoktorFar 9 月 9 日 下午 12:41 
Trained longbowman who never used a gun probably dont aim or reload gun very efficiently.
Monkey Butt Gamer 9 月 6 日 上午 11:42 
I thought this would level up your aiming and reloading
ARKON 9 月 5 日 下午 8:23 
Для 42го биода будет обновляться?
yeetmymeat21 8 月 23 日 下午 8:59 
Im currently using this mod in Multiplayer in Build 41 but the bow is not shooting, It uses the arrow and everything but I dont even see the zombie getting hit.