Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006870Dwarf FortressCombat -- Generalpublic2014-07-09 14:092014-07-24 15:20
harmand 
Toady One 
normaltweakalways
resolvedfixed 
DF 40.01 and earlierWindows7 64 bit
0.40.01 
0.40.05 
0006870: Bolts, crossbows and other ranged weapons have excessive SHOOT_FORCE values, leading to ranged combat issues
As described in http://www.bay12forums.com/smf/index.php?topic=115448.0 [^]

SHOOT_FORCE appears to have had 2 extra 0's appended to it needlessly, causing the well known issues with ranged combat that do not match with the rough balance and physical properties armor and weapons share with each other as regards every other form of combat in the game. SHOOT_FORCE of 1 has bolts being stopped by a dwarf's skin, while SHOOT_FORCE of 10 causes the bolt to penetrate leather armor, tear the skin, and break the bone underneath. An expected outcome. SHOOT_FORCE of 30 seems to simulate expected performance against armored targets, with weaker material bolts deflecting and same material bolts penetrating or bruising, breaking bones underneath.

Thus it is demonstrated that SHOOT_FORCE of 1000 is clearly an oversight as such power scaled as such would be appropriate for simulating modern artillery, not the force or expected results from hand-held crossbows/bows.
ARENA MODE: 2 dwarves, steel armor, bone bolts then steel bolts. With vanilla settings armor is useless against even bone bolts.

WITH MODIFIED SETTINGS: same test, results much more in line with what would be expected based on the laws of physics. scales appropriately with different materials and armor types. Chain armor much less effective than plate as expected.

RECCOMENDED RAW TWEAKS:

[ITEM_WEAPON:ITEM_WEAPON_CROSSBOW]
[NAME:crossbow:crossbows]
[SIZE:400]
[SKILL:HAMMER]
[RANGED:CROSSBOW:BOLT]
[SHOOT_FORCE:27]
[SHOOT_MAXVEL:200] This is just to make sure a near-weightless object doesn't go faster than the string could possibly go.
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:3]
[ATTACK:BLUNT:10000:4000:bash:bashes:NO_SUB:1250]

[ITEM_WEAPON:ITEM_WEAPON_BOW]
[NAME:bow:bows]
[SIZE:300]
[SKILL:SWORD]
[RANGED:BOW:ARROW]
[SHOOT_FORCE:27]
[SHOOT_MAXVEL:200]
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:3]
[ATTACK:BLUNT:10000:4000:bash:bashes:NO_SUB:1250]


[ITEM_AMMO:ITEM_AMMO_BOLTS]
[NAME:bolt:bolts]
[CLASS:BOLT]
[SIZE:150]
[ATTACK:EDGE:5:1000:stab:stabs:NO_SUB:1000]

[ITEM_AMMO:ITEM_AMMO_ARROWS]
[NAME:arrow:arrows]
[CLASS:ARROW]
[SIZE:150]
[ATTACK:EDGE:5:1000:stab:stabs:NO_SUB:1000]
0.40.01, bolts, combat, Probable Quick Fix, raw files
related to 0006262resolved Toady One Rounding Error in Calculation of Projectile Velocities 
Issue History
2014-07-09 14:09harmandNew Issue
2014-07-09 14:10harmandTag Attached: 0.40.01
2014-07-09 14:10harmandTag Attached: bolts
2014-07-09 14:11harmandTag Attached: combat
2014-07-09 14:11harmandTag Attached: raw files
2014-07-09 14:13FootkerchiefNote Added: 0025379
2014-07-09 14:13FootkerchiefAssigned To => Footkerchief
2014-07-09 14:13FootkerchiefStatusnew => needs feedback
2014-07-09 14:14FootkerchiefNote Edited: 0025379bug_revision_view_page.php?bugnote_id=0025379#r9468
2014-07-14 11:28FootkerchiefRelationship addedduplicate of 0006262
2014-07-14 11:28FootkerchiefStatusneeds feedback => resolved
2014-07-14 11:28FootkerchiefResolutionopen => duplicate
2014-07-24 14:35FootkerchiefStatusresolved => new
2014-07-24 14:35FootkerchiefRelationship replacedrelated to 0006262
2014-07-24 15:11FootkerchiefTag Attached: Probable Quick Fix
2014-07-24 15:20Toady OneNote Added: 0027453
2014-07-24 15:20Toady OneStatusnew => resolved
2014-07-24 15:20Toady OneFixed in Version => Next Version
2014-07-24 15:20Toady OneResolutionduplicate => fixed
2014-07-24 15:20Toady OneAssigned ToFootkerchief => Toady One

Notes
(0025379)
Footkerchief   
2014-07-09 14:13   
(edited on: 2014-07-09 14:14)
Anything not covered by 0006262 and 0005516?

(0027453)
Toady One   
2014-07-24 15:20   
This has become complicated by the rounding error issues (shoot force wasn't being respected vs. weight). I'm going to change the ammo values to 5/1000 and see if I can balance the force out for 0.40.05, though I doubt it'll end up perfect.