View Issue Details

IDProjectCategoryView StatusLast Update
0002633Dwarf FortressAdventure Mode -- Combatpublic2014-08-13 13:24
ReporterTomiTapio Assigned Touser6 
PrioritylowSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version0.31.10 
Summary0002633: Elven wooden swords have same sharpness as normal wood, defeated by simple clothes
DescriptionElven wooden swords lose to fiber cloth, the weapons lack qualities such as stabbing through cloth.

Cedar spear seems to work fine vs. cloth.
Steps To ReproduceStart an elf adventurer with sword skill and attack your home town's folk.
Additional Informationsuccess vs. hood:
You stab The C in the head with your larch long sword, tearing the fat and bruising the muscle and bruising the skull through the rope reed fiber hood!

lose vs. robe and cape:
You stab The C in the upper body with your larch long sword, but the attack is deflected by The C's rope reed fiber robe!
You slash The C in the right lower arm with your larch long sword, but the attack is deflected by The C's rope reed fiber robe!
Tagsclothes, clothing, elf, Elves, material, weapon

Relationships

related to 0000033 resolvedToady One Bronze colossus, skeletal creatures, fleshballs, and others are impossible to kill 
has duplicate 0003025 resolveduser6 Iron axe cannot pierce cave spider silk clothes 
related to 0004843 confirmeduser6 Clothing thickness scales linearly with body size => giant creatures have insanely thick clothing 

Activities

smjjames

2010-07-11 13:26

reporter   ~0009958

Isn't that the whole point of wooden weapons?

With a spear, you're concentrating the force on a single point, so it goes through easier.

user6

2010-07-11 16:58

  ~0009978

success vs. hood:
You stab The C in the head with your larch long sword, tearing the fat and bruising the muscle and bruising the skull through the rope reed fiber hood!

lose vs. robe and cape:
You stab The C in the upper body with your larch long sword, but the attack is deflected by The C's rope reed fiber robe!
You slash The C in the right lower arm with your larch long sword, but the attack is deflected by The C's rope reed fiber robe!


Three data points is not enough to prove there's a major balance problem. There are all sorts of combat parameters not mentioned in the combat log, such as the squareness of the hit.

TomiTapio

2010-07-12 07:42

reporter   ~0010026

Last edited: 2010-07-12 07:49

Those were examples, not the whole combat log. I didn't want to post ten screenfuls of text into the bugtracker. Other users can try the wooden sword adventurer too to verify this.

With sword's stab attacks the force should be spear-like?

Do wooden baseball bats cause significant damage? Mass and strength behind the weapons should not dissipate into clothes.

This is an issue that weakens the elven civilization, perhaps getting them wiped out in world history. Perhaps Toady might want to look into giving the elves special swords -- or metal.

user6

2010-07-12 08:22

  ~0010029

Last edited: 2010-07-12 09:53

Those were examples, not the whole combat log. I didn't want to post ten screenfuls of text into the bugtracker.

That's reasonable, but if you're trying to establish that wooden swords are consistently incapable of piercing cloth, or that there's a discrepancy between hoods and robes, we'll need you to condense those combat logs down to numbers.

One common strategy is to use large numbers of combatants in the Arena -- 10 fighters with equipment A vs. 10 fighters with equipment B.

With sword's stab attacks the force should be spear-like?

[ITEM_WEAPON:ITEM_WEAPON_SPEAR]
[ATTACK:EDGE:20:10000:stab:stabs:NO_SUB:1000]

[ITEM_WEAPON:ITEM_WEAPON_SWORD_LONG]
[ATTACK:EDGE:50:3000:stab:stabs:NO_SUB:1000]

As you can see, the spear stab has a significantly smaller contact area (20) than the sword stab (50), which makes the spear better at piercing materials.

Mass and strength behind the weapons should not dissipate into clothes.

Toady commented on that problem here: http://www.bay12forums.com/smf/index.php?topic=59642.msg1377750#msg1377750

TomiTapio

2010-07-13 09:00

reporter   ~0010142

Last edited: 2010-07-13 09:15

So I set up an arena, with 11 "skilled swordsman elves" using larch long swords and some fiber clothes (no shoes).

I imported log into OpenOffice spreadsheet so can separate into sortable columns at "," and "'". And texteditor-replaced "through" into ",through".

255 instances of cloth deflecting an attack and 65 instances of damage getting through cloth.
(15+2+12 strikes did damage without mentioning clothes.)
CSV spreadsheet file at http://dl.dropbox.com/u/8967397/elf%20sword%20log.csv

Other arena:
16 skilled spearelves with robe, cloak, pine spear.
18+20+1476 rows of damage through cloth
12 deflections by robe or cloak.
CSV at http://dl.dropbox.com/u/8967397/elf_pine_spear_log.csv

Yeah the sword puniness got my attention in elf sword adventurer fight.

user6

2010-07-13 09:09

  ~0010144

Interesting... looks like the stabs get through sometimes, but the slashes don't at all (except one slash through a mitten, which might be thinner or something).

TomiTapio

2010-07-13 09:37

reporter   ~0010148

Last edited: 2010-07-13 09:44

Okay, one more elf free-for-all.
16 skilled spearelves with robe, cloak, copper spear.

2x spear bash negated by cloak.

16x stabs in the head. 5x heart artery opened.
4x in the left hand. 7x in the right hand.
40x in upper body. 25x in lower body.
40x lodged firmly in the wound.
37x fractured a bone

CSV log http://dl.dropbox.com/u/8967397/elf_copper_spear_log_.csv

user6

2012-04-08 10:31

  ~0022161

Reminder sent to: TomiTapio

Is this bug still present in 0.34.01?

thvaz

2012-04-08 16:13

reporter   ~0022168

I did a quick test in the arena, and though we haven't elven weapons there, I tested with a wooden training sword confirming that this still happens in 34.07.
In fact, that unarmed man dressed in rope reed clothes won against the armed man, also wearing the same kind of clothes.

thvaz

2014-07-23 11:28

reporter   ~0027334

Still in 0.40.xx
Tested two battles, both groups with Adequate swordsman,adequeta dodge, adequate armor, birchen long swords, one group with plant fiber clothes in all body, the other naked.

12 x 12

The group with clothes won the two battles, one with 9 alive, other with 10 alive, so yes, plant fiber cloth makes a huge difference.

In single combat, even with a legendary swordsman, I noticed the behavior of the strikes inconsistent with reality. Although the clothes should occasionally avoid slashes, the blunt strenght of the strike would still cause damage, and this is not the case. The cloth most of the time completely avoid any damage.

UristDaVinci

2014-07-23 19:11

reporter   ~0027373

I don't find a bug here, rather an emergent property of the combat and material system. This is related to bug 0005346 where obsidian swords strike as blunt weapons.

1. STRUCTURAL_ELASTICITY_WOVEN_THREAD caps the shear yield at 20000 and shear fracture at 30000 for the clothing. This means that a wooden sword can cut through an adamantine cloak. This was presumably done to prevent silk clothing from protecting against animal bites and so on.

2. Wood only has [SHEAR_YIELD:40000] and [SHEAR_FRACTURE:40000], and a low MAX_EDGE. Wood weapons are typically very light.

3. DF uses a momentum-based combat system. Due to the relative properties of the clothing to the wood, the wood has to work hard and use up a lot of momentum to penetrate the clothing. The amount of momentum available depends on attacker body size, strength, weapon weight, and many other situational variables.

I recommend that modders experiment with the SHEAR_YIELD and SHEAR_FRACTURE properties, not the weapon item properties. Perhaps also use denser/heavier wood weapons to get the benefit of increased momentum?

Add Note

Note

Issue History

Date Modified Username Field Change
2010-07-11 13:23 TomiTapio New Issue
2010-07-11 13:26 smjjames Note Added: 0009958
2010-07-11 16:58 user6 Note Added: 0009978
2010-07-12 07:42 TomiTapio Note Added: 0010026
2010-07-12 07:44 TomiTapio Note Edited: 0010026
2010-07-12 07:45 TomiTapio Note Edited: 0010026
2010-07-12 07:47 TomiTapio Tag Attached: Elves
2010-07-12 07:47 TomiTapio Tag Attached: material
2010-07-12 07:47 TomiTapio Tag Attached: weapon
2010-07-12 07:47 TomiTapio Tag Attached: elf
2010-07-12 07:47 TomiTapio Tag Attached: clothes
2010-07-12 07:48 TomiTapio Note Edited: 0010026
2010-07-12 07:49 TomiTapio Note Edited: 0010026
2010-07-12 08:22 user6 Note Added: 0010029
2010-07-12 09:53 user6 Note Edited: 0010029
2010-07-13 09:00 TomiTapio Note Added: 0010142
2010-07-13 09:03 TomiTapio Note Edited: 0010142
2010-07-13 09:09 user6 Note Added: 0010144
2010-07-13 09:14 TomiTapio Note Edited: 0010142
2010-07-13 09:15 TomiTapio Note Edited: 0010142
2010-07-13 09:37 TomiTapio Note Added: 0010148
2010-07-13 09:42 TomiTapio Tag Attached: clothing
2010-07-13 09:44 TomiTapio Note Edited: 0010148
2012-02-20 18:52 user6 Relationship added has duplicate 0003025
2012-02-20 19:09 user6 Relationship added related to 0000033
2012-04-08 10:31 user6 Note Added: 0022161
2012-04-08 10:31 user6 Tag Attached: AWAITING UPDATE
2012-04-08 16:13 thvaz Note Added: 0022168
2013-09-23 09:25 user6 Tag Detached: AWAITING UPDATE
2014-01-26 09:42 user6 Relationship added related to 0004843
2014-07-23 11:28 thvaz Note Added: 0027334
2014-07-23 19:11 UristDaVinci Note Added: 0027373
2014-08-13 13:24 user6 Summary Elven wooden swords lose to fiber cloth => Elven wooden swords have same sharpness as normal wood, defeated by simple clothes
2014-08-13 13:24 user6 Assigned To => user6
2014-08-13 13:24 user6 Status new => confirmed