Item Weights (in "stones")

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Tiberius Moongazer

Item Weights (in "stones")

Post by Tiberius Moongazer »

First of all, I just want to send my congratulations to the Exult team. I've had fun with Exult myself, and I know countless others have as well. Great work here! :)

The purpose of my post here, though, is to ask a question. While working on Lazarus (www.u5lazarus.com), we've recently begun working on the encumberance part of the stat system. In order to finish it, we need the weight (in "stones") of all the pickupable in-game objects. We could simply make these up, one by one, but that would be a very long process. And it occurred to me today that basically every object in our game was also in U7, and subsequently already has a stone weight assigned to it in there.

Since you guys are the undisputed masters of the U7 usecode, I thought maybe you'd have an idea of how to extract the weight data from the game, if that's even possible. Any thoughts?

Thanks in advance! :)
Oblivious

Re: Item Weights (in "stones")

Post by Oblivious »

Uh... it's very inconsistent. Between Ultimas 5-7, weight in stones varies greatly. U7's stone system doesn't even make sense in many areas. Here's an example... *digs up ol document*

For example *tries to contain a jumble of emotions that make her want to cry, laugh, and scream all at the same time*

*In U7, a mattock is equally as heavy as a pair of NORMAL pants.
* A gorget and chain coif are also of equal weight.
*pendants weigh equally as much as a leather helmet
*A meat cleaver is lighter than a friggin' pendant!
*LEATHER LEGGINGS ARE FRIGGIN .2 STONES LIGHTER THAN NORMAL PANTS!!!! AUUUUGHHH!!!
*A knife is .1 stones heavier than a dagger
*pendants, leather helmet, dress, leather boots, and main gauche are all of equal weight.
*pants are twice as heavy as dresses

U6's stone weight system makes far more sense than U7's, but even it is a bit weird in a few places (tunics and dresses are still pretty damn heavy)

My suggestion is this:

Find out the real-life weight for each object in lbs, then convert it to stones.

Use this site:

http://www.sdplastics.com/measure.html
I can already give you the weight in stones on several objects. Hold on, here.
Oblivious

Re: Item Weights (in "stones")

Post by Oblivious »

Quarterstaff- 4 lbs, .2 stones
Halberd- 15 lbs, 1 stone (a Britannian halberd probably weighs 1.5 stones, though)
Leather- 1 stone
Ringmail- 20 lbs, 1.4 stones
Scalemail- 2.1 stones
Chainmail- 3.2 stones
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Item Weights (in "stones")

Post by drcode »

You can look at shapes in ExultStudio to see their weight, but this will be fairly tedious. If you don't mind playing with the source, look in the 'shapes' directory sources for the code that reads the "wgtvol" file, and add a statement to print out each shape's weight as it's read.

Also note that U7 (and Exult) does funny stuff with 'quantity' items like coins. You can search for 'weight' in objs/objs.cc to find the code dealing with this.
Oblivious

Re: Item Weights (in "stones")

Post by Oblivious »

Yup. 100 coins weighs the same as 1 coin when it's stacked up.

If you really must know, though....

Arrows&Bolts- 0.1
Blowgun- 0.1
Fire Wand- 0.1
Flaming Oil- 0.1
Lightning Wand- 0.1
Magic Gauntlets- 0.1
Magic Gorget- 0.1
Magic Helmet- 0.1
Magician's Wand- 0.1
Starbursts- 0.1
Bee Stinger- 0.2
Hood- 0.2
Kidney Belt- 0.2
Knife- 0.2
Leather Gloves- 0.2
Poison Dagger- 0.2
Shears- 0.2
Great Dagger- 0.3
Leather Collar- 0.3
Shoes- 0.3
Sling- 0.3
Cleaver- 0.4
Tongs- 0.4
Amulet- 0.5
Ankh- 0.5
Boomerang- 0.5
Boots- 0.5
Dagger- 0.5
Daemon Sword- 0.5
Dress- 0.5
Fellowship Medallion- 0.5
Glass Sword- 0.5
Leather Helmet- 0.5
Lightning Whip- 0.5
Magic Boomerang- 0.5
Magic Boots- 0.5
Magic Leggings- 0.5
Magic Shield- 0.5
Main Gauche- 0.5
Serpentine Dagger- 0.5
Torch- 0.5
Tunic- 0.5
Whip- 0.5
Swamp Boots- 0.6
Buckler- 0.7
Gauntlet- 0.7
Leather Leggings- 0.8
Magic Bow- 0.8
Chain Coif- 1.0
Gorget- 1.0
Hammer- 1.0
Hawk- 1.0
Magic Axe- 1.0
Pants- 1.0
Pickaxe- 1.0
Magic Sword- 1.0
Cloak- 1.5
Club- 1.5
Crested Helmet- 1.5
Custom Sword- 1.5
Hoe- 1.5
Mace- 1.5
Magic Armour- 1.5
Pitchfork- 1.5
Spear- 1.5
Throwing Axe- 1.5
Wooden Shield- 1.5
Shovel- 1.8
Decorative Sword- 2.0
Great Helm- 2.0
Greaves- 2.0
Leather Armor- 2.0
Magebane- 2.0
Morningstar- 2.0
Rake- 2.0
Scythe- 2.0
Serpentine Sword- 2.0
Spiked Shield- 2.0
Staff- 2.0
Sword- 2.0
Sword of Defense- 2.0
Hoe of Destruction- 2.0
Bow- 2.5
Firedoom Staff- 2.5
Firesword- 2.5
Kite Shield- 2.5
Caddelite Helmet- 3.0
Chain Leggings- 3.0
Crossbow- 3.0
Curved Heather- 3.0
Plate Leggings- 3.0
2H Axe- 4.0
2H Hammer- 4.0
2H Sword- 4.0
Death Scythe- 4.5
Halberd- 4.5
Juggernaut Hammer- 5.0
Scale Mail- 6.0
Chain Mail- 7.0
Antique Armour- 10.0
Plate Armour- 10.0
Oblivious

Re: Item Weights (in "stones")

Post by Oblivious »

Oh, and don't bother asking for non-equippable items... That's a whole nother can of worms... In fact, if I remember correctly, a WOODEN CHAIR weighs MORE THAN SCALEMAIL, and equally as much as an empty barrel or treasure chest!
Locked