View Full Version : Arrowed! (ammo + encumbrance minimisation)
Das Uberdog
09-16-2011, 12:40 PM
sup bow-bros, i heard some of you lot rolled your characters as little forest gnolls or whatever and you have issues with encumbrance.
the main man Droit found out that warrior sheaths can alleviate this, but easily generating at least 5 bundles of 20 is probably annoying.
this script will sort your arrows for max efficiency based on the warrior sheath mechanics. i'm too tired to explain how it works, but if you ran it with like a sheath with 270 arrows in it you'd end up with a sheath with this many arrows in each slot:
100, 100, 30, 20, 20
and it will sort them in that order in the sheath in-game. the starting bundle sizes don't matter, just the total number of arrows.
it operates using only one hand so you can use it in the field with your bow out.
the only limitation at the moment is that all of the arrows in the sheath have to be the same kind.. i will fix this in the near future.. if any of you are carrying multiple arrow types, why do you do this? i am a noob at shooting things.
settings:
;set add ammo_container "big hairy human testicle skin satchel"
;set add main_container "heavy backpack"
;set add ammo_type "bolt"
simply doing:
;ammosort
will sort out your shit in the ammo_container, if you want to sort another container on the fly do:
;ammosort spidersilk backpack
or whatever.
you can also specify an alternative bundle size (default: 34) by:
;ammosort 20
or combine the two:
;ammosort spidersilk backpack 20
if you have any suggestions on how to make this kick ass or if you found out that it doesn't work for shit then let me know.
droit
09-16-2011, 05:46 PM
For the record, 24 arrows is the ideal number per bundle in a warrior quiver. Anyway, neat script.
Inspire
09-16-2011, 05:48 PM
I'm confused. Explain further?
Donquix
09-16-2011, 06:19 PM
I'm confused. Explain further?
warrior sheaths reduce weight by 2 lbs per item. By seperating the arrows into multiple bundles, you get multiple applications of the weight reduction.
say you had a bundle of arrows, and for the sake of argument that bundle weighs 20 lbs. if you kept it in one bundle, the final weight from the warrior sheath bonus would be 18lbs.
if you separate it into 5 bundles of 4 lbs each, you get (4-2)*5 = final weight of 10 lbs.
Das Uberdog
09-16-2011, 06:46 PM
Thanks for the info, Droit, I will update the script.
I am actually going to rewrite it because it's all fucked up and I don't even really remember making it now.
For now, there is version that kinda works on the repos.
Inspire
09-16-2011, 07:05 PM
Smart. Nice addition.
Gibreficul
09-16-2011, 07:36 PM
you have 266 faewood arrows - standard master fletched 5x
you have 100 fiery orange arrows - master fletched wood arrows, fire-eblade
you have 94 icy blue arrows -master fletched wood arrows, water (cold) eblade
you have 81 faewood pure white arrows - blessed master fletched faewood arrows
That's why you carry more than 1 type of arrow.
droit
09-16-2011, 08:51 PM
24 arrows is the ideal number if your goal is the absolute minimum weight of 0.5 lbs per bundle. If you instead want to take the most advantage of the weight reduction, use 34 arrows per bundle at 1 lb per.
Das Uberdog
09-17-2011, 10:25 PM
Okay, so I rewrote it based on Droit's info and the fact that the script was written all fucked up.. so, it works pretty much the same as before except that it defaults to 34 arrow bundles.
you can also specify the container and/or desired bundle size:
;ammosort sheath 20
;ammosort sheath
;ammosort 20
would all work (and possibly do diff things depending on your settings).
as far as different types of arrows, do you guys usually carry those in diff. containers or what?
Das Uberdog
09-20-2011, 08:44 PM
updated again, rewrote.. will add comments later
you now need a tmp container:
;set add main_container "heavy backpack"
for example
phantasm
09-20-2011, 09:12 PM
You were doing good until droit showed up and made things more complicated.
Das Uberdog
09-20-2011, 10:44 PM
okay, bugs fixed.. let me know if you have any issues plox.
Das Uberdog
09-29-2011, 03:59 PM
I fixed a bug where this would go into an infinitely awesome loop trying to find out what the new item ID is for a clump of arrows you've grabbed.
Another thing I noticed is that the sheath effect takes place after you put the arrows in, not during the put.
What I mean is, say your sheath can theoretically hold 2 bundles of 200 arrows, and 3 bundles of 24 or 34. If you put the 3 smaller bundles in, then stick in a bundle of 100, then another of 100, you might get a "that won't fit" message. Now if you break apart that bundle of 100 into a bundle of 24/34 and put that in, then "put arrow in my arrow in my container" to add the remaining, they will fit.
I don't know what the right numbers are because it was just something I noticed once.
edit: here's an example:
I>put arr in my harn
Your arrows won't fit in the weapon harness.
I>get 20 arr
You reach for a bundle of faewood arrows and remove 20 of them.
I>swap
You swap a bundle of faewood arrows to your left hand and a bundle of faewood arrows to your right hand.
I>put arr in my harn
You put a bundle of faewood arrows in your weapon harness.
I>put arr in my arr in my harn
You bundle some faewood arrows together.
I may update the script to handle this situation if it turns out that I'm using abnormally low numbers of arrows.
Questions:
- For those of you who use multiple ammo types, do you use multiple containers or only the color to differentiate?
- How many arrows/bolts do you doods carry? I have like ~250 or so.
I'd like to test this with more real-world scenarios, but I only have my ranged dude and I only use the script when I get back from hunts so, it's kinda limited testing.
Das Uberdog
09-29-2011, 05:11 PM
A what container?
wat
a tmp container?
im new. humour me.
Das Uberdog
09-29-2011, 06:20 PM
oh sorry, a temporary container, just something big enough for it to stick the arrows in while it sorts them into your harness.. i just use my main container for this.
droit
09-29-2011, 07:24 PM
I generally have two bundles of 100 ebladed fire arrows (I attuned to fire so that I could make my own with an imbed), plus one bundle of 34 blessed faewood arrows--all in a warrior quiver, of course. I also carry 3 trueshot arrows with me at all times, though I've not yet had the occasion to use one.
Donquix
09-29-2011, 07:44 PM
also carry 3 trueshot arrows with me at all times, though I've not yet had the occasion to use one.
"Droit removes a trueshot arrow from his quiver."
http://images.memegenerator.net/instances/500x/9336412.jpg
Das Uberdog
10-23-2011, 02:28 AM
updated:
- will make bundles smaller automatically if you don't have enough arrows (e.g. you have 100 arrows and req bundle size 34, it will reduce that to 20)
- if you ;trust ammoSort it will squelch all of the output and commands, so no screen scroll
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.