Weight of an Arrow and favorite mage light flavor

Discuss Daggerfall Unity and Daggerfall Tools for Unity.
Post Reply
Ommamar
Posts: 541
Joined: Thu Jul 18, 2019 3:08 am

Weight of an Arrow and favorite mage light flavor

Post by Ommamar »

Is there any way to break down stacks of arrows? I am curious the weight of a single arrow, I have seen arrows on merchant shelves that appear to be a single arrow but when I buy them they magically seem to turn in to ten arrows.

The next part is just an opinion query what is your preferred flavor of mage light?

User avatar
Interkarma
Posts: 7245
Joined: Sun Mar 22, 2015 1:51 am

Re: Weight of an Arrow and favorite mage light flavor

Post by Interkarma »

You can hold down Ctrl key and "remove" an arrow stack to split stack and just remove a single arrow. Their weight is 0.25kg apiece or 8.81 oz. This is a really heavy arrow! But it's pretty standard video game logic (in before someone mentions bobby pins). Arrow weights are from the item templates data extracted from FALL.EXE.

My preferred Mage Light variant is Inferno. Love that low red glow.

User avatar
pango
Posts: 3358
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Weight of an Arrow and favorite mage light flavor

Post by pango »

Arrows have no effective weight though:
https://github.com/Interkarma/daggerfal ... em.cs#L635:

Code: Select all

        // Horses, carts and arrows are not counted against encumbrance.
        public float EffectiveUnitWeightInKg()
        {
            if (ItemGroup == ItemGroups.Transportation || TemplateIndex == (int)Weapons.Arrow)
                return 0f;
            return weightInKg;
        }
I was surprised by that, but it actually matches classic Daggerfall behavior.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Ommamar
Posts: 541
Joined: Thu Jul 18, 2019 3:08 am

Re: Weight of an Arrow and favorite mage light flavor

Post by Ommamar »

Interkarma wrote: Thu Aug 01, 2019 4:52 am You can hold down Ctrl key and "remove" an arrow stack to split stack and just remove a single arrow. Their weight is 0.25kg apiece or 8.81 oz. This is a really heavy arrow! But it's pretty standard video game logic (in before someone mentions bobby pins). Arrow weights are from the item templates data extracted from FALL.EXE.

My preferred Mage Light variant is Inferno. Love that low red glow.
Thanks for the info, yes the stacks stuck me as being heavy so I was wondering what the weight of a single one is.

I prefer Storm as it gives kind of blueish silver light.

User avatar
Interkarma
Posts: 7245
Joined: Sun Mar 22, 2015 1:51 am

Re: Weight of an Arrow and favorite mage light flavor

Post by Interkarma »

pango wrote: Thu Aug 01, 2019 5:20 am Arrows have no effective weight though:
That's right! I had forgotten that exchange. Cheers. :)

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Weight of an Arrow and favorite mage light flavor

Post by Hazelnut »

I always rationalise the arrow weight not counting against player encumbrance as being because they are in a quiver, which makes perfect sense... if you squint. If it were not for following classic, I would have given arrows a more realistic weight and left them counting against encumbrance (like they did originally in DFU) but the consequence is that archers have quite the weight penalty just for carrying their ammo, so for the sake of DF as a game I think matching classic is a good solution. Main thing that bothers me is that players have to notice that arrows do not count since they are given weight in the UI info.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
mikeprichard
Posts: 1037
Joined: Sun Feb 19, 2017 6:49 pm

Re: Weight of an Arrow and favorite mage light flavor

Post by mikeprichard »

Hazelnut wrote: Thu Aug 01, 2019 7:50 am Main thing that bothers me is that players have to notice that arrows do not count since they are given weight in the UI info.
Is the UI something that could be fixed, or is it baked in (I'm afraid it's the latter)? Naturally, it is very confusing.

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Weight of an Arrow and favorite mage light flavor

Post by Hazelnut »

It matches classic and I don't feel this is somewhere DFU should diverge.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
mikeprichard
Posts: 1037
Joined: Sun Feb 19, 2017 6:49 pm

Re: Weight of an Arrow and favorite mage light flavor

Post by mikeprichard »

OK - seems to be perfect territory for a base DFU bugfix to me, similar to others already done (the UI is clearly wrong), but as usual I'm not the one doing the coding, so whatever works!

Ommamar
Posts: 541
Joined: Thu Jul 18, 2019 3:08 am

Re: Weight of an Arrow and favorite mage light flavor

Post by Ommamar »

Hazelnut wrote: Thu Aug 01, 2019 7:50 am I always rationalise the arrow weight not counting against player encumbrance as being because they are in a quiver, which makes perfect sense... if you squint. If it were not for following classic, I would have given arrows a more realistic weight and left them counting against encumbrance (like they did originally in DFU) but the consequence is that archers have quite the weight penalty just for carrying their ammo, so for the sake of DF as a game I think matching classic is a good solution. Main thing that bothers me is that players have to notice that arrows do not count since they are given weight in the UI info.
The only way I figured that out was while playing a no magic build that also had no potions I was trying to drop enough stuff to be able to swim. I saw the arrows weight in the UI but when I dropped them there was no adjustment nor was there any when I picked them up. I understand why they are implemented as they are but it would make sense for them to have weight then actually have an equitable quiver that reduces their weight. Of course I don't think they should way .25kg a piece maybe 1kg for a bundle of ten would be reasonable.

Post Reply