View Issue Details

IDProjectCategoryView StatusLast Update
0006870Dwarf FortressCombat -- Generalpublic2014-07-24 15:20
Reporterharmand Assigned ToToady One  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
PlatformDF 40.01 and earlierOSWindowsOS Version7 64 bit
Product Version0.40.01 
Fixed in Version0.40.05 
Summary0006870: Bolts, crossbows and other ranged weapons have excessive SHOOT_FORCE values, leading to ranged combat issues
DescriptionAs 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.
Steps To ReproduceARENA 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.

Additional InformationRECCOMENDED 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]
Tags0.40.01, bolts, combat, Probable Quick Fix, raw files

Relationships

related to 0006262 resolvedToady One Rounding Error in Calculation of Projectile Velocities 

Activities

user6

2014-07-09 14:13

  ~0025379

Last edited: 2014-07-09 14:14

Anything not covered by 0006262 and 0005516?

Toady One

2014-07-24 15:20

administrator   ~0027453

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.

Issue History

Date Modified Username Field Change
2014-07-09 14:09 harmand New Issue
2014-07-09 14:10 harmand Tag Attached: 0.40.01
2014-07-09 14:10 harmand Tag Attached: bolts
2014-07-09 14:11 harmand Tag Attached: combat
2014-07-09 14:11 harmand Tag Attached: raw files
2014-07-09 14:13 user6 Note Added: 0025379
2014-07-09 14:13 user6 Assigned To => user6
2014-07-09 14:13 user6 Status new => feedback
2014-07-09 14:14 user6 Note Edited: 0025379
2014-07-14 11:28 user6 Relationship added duplicate of 0006262
2014-07-14 11:28 user6 Status feedback => resolved
2014-07-14 11:28 user6 Resolution open => duplicate
2014-07-24 14:35 user6 Status resolved => new
2014-07-24 14:35 user6 Relationship replaced related to 0006262
2014-07-24 15:11 user6 Tag Attached: Probable Quick Fix
2014-07-24 15:20 Toady One Note Added: 0027453
2014-07-24 15:20 Toady One Status new => resolved
2014-07-24 15:20 Toady One Fixed in Version => Next Version
2014-07-24 15:20 Toady One Resolution duplicate => fixed
2014-07-24 15:20 Toady One Assigned To user6 => Toady One