Hi Everyone!
I was interested in adding some stuff to this awesome game but didn’t know where to start, so I started thinking and thought of the time I was playing cata and found myself a shiny longbow, unfortunately I didn’t have 10 strength and, as you all know, you cannot gain stats ingame (without weird mutations and I’m not into that). So I found myself getting some steroids in the form of savegame editing :). While some of the longtime players might know that you just need 10 strength if you want to archer reliably, new folks don’t.
That’s why I took the liberty to add 4 new bows to the game and 1 new recipe (well new its the same as the longbow recipe). The new recipe is for a shortbow that requires 8 strength, so now you can craft a 8 strength bow instead of having to search for a compound bow.
There are a few issues though… I have found out myself that archery is quite OP, I found myself running around with a longbow and 100 arrows and 2 shot every zombie I found. (this was in 0.4 though without the durability system). Anyway as fixing the archery problem requires editing already existing code I did not do that. But I feel it requires nerfing the fast reload times of the bows as that really did make it easy to rapid fire your way to victory.
Another problem is the fact that the strength requirements for bows are hard-coded into the game and you can’t use uneven numbers as strength requirement because of this. I also did not know if I could edit certain stats on the bows, “ranged_damage” en “to_hit” to be precise as these were both 0 on the existing bows. If those are just editable it would make balancing the bows I added way easier.
Anyways, attached in this post is a .rar with the files (ranged.json recipes.json mapitemsdef.cpp and edits.txt). Edits.txt is a summary of what I edited and I strongly recommend reading it.
If you want to add this to your game you’ll have to get the source code and replace the current 3 files (not edits.txt) with the files in the .rar . HOWEVER I have not compiled or tested the game in ANY way to see if the changes work. I haven’t done any of this because my goal with this is to get it added to the main game (I know it sounds smug, but I’m just trying to add some spices to an already great dish). I’d prefer to spend my time to add more stuff to the game instead of altering the current game.
I do know that just 4 bows is not a lot, but I’d like to see this as a small start, if this is received well by the devs I’d like to work on adding some more to the archery thing before moving on to something else. Some plans I had in might were adding chickens you could kill for feathers so you could feather arrows to make them more stable (current arrows are just wooden sticks with pointy ends, at least the crafted ones, in my mind).
Current state:
-Added 4 new bows, composite bow, recurve bow, reflex bow and the shortbow. The latter being a less strength requirement alternative to the longbow
-Added Arrowheads, craftable from scrap and steel lumps
-Added Feathers, which are dropped by crows
-Added Wooden shafts, same recipe as the old wooden arrow
-Wooden arrows are now crafted with arrowheads, feathers and wooden shafts
-Buffed the compound bow to make it the best bow, but also the rarest
To do:
-Make a distinction between crafted bows and arrows from found, industrially produced, bows and arrows
-Add more types of arrows
-Make a system to adjust the draw weight, tension of the bow (gonna be tricky)
-Whatever awesome suggestions you guys come up with!
If this makes just 1 guy excited I would be honored.
-Isy
(P.S. English is not my first language and my keyboard and I have a love-hate relationship so if you see any errors, that’s why.)
Edit: Removed the .rar file and just attached the Edits.txt (contains some useful information) and added my github link https://github.com/Isylwin/Cataclysm-DDA/tree/Archery
Edit2: Check out Flare’s Archery Expansion! http://smf.cataclysmdda.com/index.php?topic=863.0
Edits.txt (2.64 KB)