v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "23a:Speed"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Rated article "Exceptional" using the rating script)
(Fixing links within namespace (798/950))
Line 2: Line 2:
  
  
All {{L|creatures}} in Dwarf Fortress have a '''speed''' attribute which determines how quickly they move and perform other actions. The game utilizes two different speed values: '''raw speed''' (which is the value put into the creature's {{L|creature_standard.txt|definition file}}) and '''displayed speed''' (which is the "Speed" value displayed in Adventurer Mode).
+
All [[creatures]] in Dwarf Fortress have a '''speed''' attribute which determines how quickly they move and perform other actions. The game utilizes two different speed values: '''raw speed''' (which is the value put into the creature's [[creature_standard.txt|definition file]]) and '''displayed speed''' (which is the "Speed" value displayed in Adventurer Mode).
  
Raw speed is the figure used by the game to determine a creature's movement under different conditions (encumbered, {{L|attributes|agile}}, lying down, exhausted, etc.), although displayed speed represents how often a creature actually moves in-game.
+
Raw speed is the figure used by the game to determine a creature's movement under different conditions (encumbered, [[attributes|agile]], lying down, exhausted, etc.), although displayed speed represents how often a creature actually moves in-game.
  
 
== How speed works ==
 
== How speed works ==
Line 18: Line 18:
 
For displayed speed, the ''higher'' the number, the faster the creature.
 
For displayed speed, the ''higher'' the number, the faster the creature.
  
Tasks other than movement (such as {{L|mining}} or performing {{L|workshop}} tasks) are also known to be affected by a creature's speed. It is not yet known if these actions are sped in a way that is proportional to movement speed in most cases. For Legendary miners, mining is sped that way.
+
Tasks other than movement (such as [[mining]] or performing [[workshop]] tasks) are also known to be affected by a creature's speed. It is not yet known if these actions are sped in a way that is proportional to movement speed in most cases. For Legendary miners, mining is sped that way.
  
 
== Influences on speed ==
 
== Influences on speed ==
Line 24: Line 24:
 
=== Agility ===
 
=== Agility ===
  
The default raw speed for all creatures is 900. Each level of {{L|attributes|agility}} will reduce a creature's raw speed by 10%.  
+
The default raw speed for all creatures is 900. Each level of [[attributes|agility]] will reduce a creature's raw speed by 10%.  
  
Dwarves and {{L|human}} have the default raw speed:
+
Dwarves and [[human]] have the default raw speed:
  
 
{|
 
{|
Line 44: Line 44:
 
|}
 
|}
  
{{L|elf|Elves}} have a raw speed of 700:
+
[[elf|Elves]] have a raw speed of 700:
  
 
{|
 
{|
Line 64: Line 64:
 
=== Miscellaneous influences ===
 
=== Miscellaneous influences ===
  
Several creature {{L|Status icon|state}}s have an influence on speed, such as being prone (lying down), {{L|Ambusher|sneaking}}, being stunned, or being over-exerted, thirsty, hungry, or sleepy. The speed penalty for being in each of these states is modified by the creature's agility, making agility's influence on creature speed doubly important.  
+
Several creature [[Status icon|state]]s have an influence on speed, such as being prone (lying down), [[Ambusher|sneaking]], being stunned, or being over-exerted, thirsty, hungry, or sleepy. The speed penalty for being in each of these states is modified by the creature's agility, making agility's influence on creature speed doubly important.  
  
 
{|
 
{|
Line 83: Line 83:
  
 
*''Prone'' refers to a creature "on the ground", either lying down or knocked down.
 
*''Prone'' refers to a creature "on the ground", either lying down or knocked down.
*''Sneaking'' is a creature utilizing the {{L|Ambusher}} skill.
+
*''Sneaking'' is a creature utilizing the [[Ambusher]] skill.
*''Stunned'' is usually caused by getting "charged" by another creature (can also be the aftereffect of a {{L|Cave spider|cave spider}} or {{L|giant cave spider}} bite). It can also happen to injured creatures while moving.
+
*''Stunned'' is usually caused by getting "charged" by another creature (can also be the aftereffect of a [[Cave spider|cave spider]] or [[giant cave spider]] bite). It can also happen to injured creatures while moving.
 
*''Over-exerted'' is caused by taking too many combat actions in a short period of time; it is the more severe form of "Tired". Creatures which are over-exerted will usually fall to the ground, unable to stand again. An over-exerted creature which continues to fight will eventually go unconscious for a few turns.
 
*''Over-exerted'' is caused by taking too many combat actions in a short period of time; it is the more severe form of "Tired". Creatures which are over-exerted will usually fall to the ground, unable to stand again. An over-exerted creature which continues to fight will eventually go unconscious for a few turns.
*''Starving'' is due to lack of {{L|food}}. It is the more severe form of "Hungry".
+
*''Starving'' is due to lack of [[food]]. It is the more severe form of "Hungry".
 
*''Dehydrated'' is due to lack of drink. It is the more severe form of "Thirsty".
 
*''Dehydrated'' is due to lack of drink. It is the more severe form of "Thirsty".
 
*''Very Drowsy'' is due to lack of sleep. It is the more severe form of "Drowsy", and should not be confused with "Tired", which is caused by over-exertion.
 
*''Very Drowsy'' is due to lack of sleep. It is the more severe form of "Drowsy", and should not be confused with "Tired", which is caused by over-exertion.
  
The speed penalty for each state is cumulative. For instance, a prone, sneaking {{L|dwarf}} (raw speed 900) will have a modified raw speed of 4900 (displayed speed 200). An Extremely Agile elf (raw speed 490) who is prone, stunned, and thirsty will have a modified speed of 2660 and a displayed speed of 362.
+
The speed penalty for each state is cumulative. For instance, a prone, sneaking [[dwarf]] (raw speed 900) will have a modified raw speed of 4900 (displayed speed 200). An Extremely Agile elf (raw speed 490) who is prone, stunned, and thirsty will have a modified speed of 2660 and a displayed speed of 362.
  
 
The speed penality for "sneaking" is additionally modified by a creature's Ambusher skill. Each level of Ambusher skill reduces the movement penalty listed above (1000-2000) by 5%. For instance, a base-agility Novice Ambusher will have a movement penalty of 1900 when sneaking; an Agile, Competent Ambusher, 1530 (85% of 1800); and a Perfectly Agile, Legendary Ambusher, 250 (25% of 1000). One additional note to mention is that, similar to some Fortress mode skills, Ambusher skill effects actually top out at Legendary+5, whereby all of the speed penalty from sneaking is nullified allowing you to sneak as fast as you can normally walk.
 
The speed penality for "sneaking" is additionally modified by a creature's Ambusher skill. Each level of Ambusher skill reduces the movement penalty listed above (1000-2000) by 5%. For instance, a base-agility Novice Ambusher will have a movement penalty of 1900 when sneaking; an Agile, Competent Ambusher, 1530 (85% of 1800); and a Perfectly Agile, Legendary Ambusher, 250 (25% of 1000). One additional note to mention is that, similar to some Fortress mode skills, Ambusher skill effects actually top out at Legendary+5, whereby all of the speed penalty from sneaking is nullified allowing you to sneak as fast as you can normally walk.
  
Each level of thirst, hunger, drowsiness, or exhaustion (and possibly stun as well) also appears to reduce all skills by one or more levels. This can reduce your sneaking skill (and consequently, sneaking speed), or more catastrophically, your {{L|Armor user}} skill (which can cause you to suddenly be extremely encumbered).
+
Each level of thirst, hunger, drowsiness, or exhaustion (and possibly stun as well) also appears to reduce all skills by one or more levels. This can reduce your sneaking skill (and consequently, sneaking speed), or more catastrophically, your [[Armor user]] skill (which can cause you to suddenly be extremely encumbered).
  
{{L|Strange mood|Melancholy}} appears to make creatures extremely slow, adding a penalty of approximately 8000 to raw speed.
+
[[Strange mood|Melancholy]] appears to make creatures extremely slow, adding a penalty of approximately 8000 to raw speed.
  
 
=== Encumbrance ===
 
=== Encumbrance ===
Line 118: Line 118:
 
If a creature carries one weight unit ('''Γ''') more than the above listed figures, it will be encumbered. The speed penalty for encumbrance is +6 to raw speed for the first increment of encumbrance and +5 for each subsequent increment. For instance, a dwarf carrying 201Γ total will have a raw speed of 906 (displayed speed 994); carrying 202Γ, speed will be 911 (displayed 989); 203Γ, speed 916 (displayed 984), etc.
 
If a creature carries one weight unit ('''Γ''') more than the above listed figures, it will be encumbered. The speed penalty for encumbrance is +6 to raw speed for the first increment of encumbrance and +5 for each subsequent increment. For instance, a dwarf carrying 201Γ total will have a raw speed of 906 (displayed speed 994); carrying 202Γ, speed will be 911 (displayed 989); 203Γ, speed 916 (displayed 984), etc.
  
The {{L|Armor user}} skill reduces the effective weight of items that are worn but not including any items inside a worn object (like the items carried in a {{L|backpack}}). It has no effect at Novice level, but at <nolabel> level, it decreases the weight of worn items by 3/16ths. Each additional level of skill decreases the weight of items by another 1/16th, up to a maximum of 16/16ths if a creature is a {{L|legendary}} armor user.
+
The [[Armor user]] skill reduces the effective weight of items that are worn but not including any items inside a worn object (like the items carried in a [[backpack]]). It has no effect at Novice level, but at <nolabel> level, it decreases the weight of worn items by 3/16ths. Each additional level of skill decreases the weight of items by another 1/16th, up to a maximum of 16/16ths if a creature is a [[legendary]] armor user.
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Creatures}}
 
{{Category|Creatures}}
 
{{Category|Dwarves}}
 
{{Category|Dwarves}}

Revision as of 15:54, 8 December 2011

This article is about an older version of DF.


All creatures in Dwarf Fortress have a speed attribute which determines how quickly they move and perform other actions. The game utilizes two different speed values: raw speed (which is the value put into the creature's definition file) and displayed speed (which is the "Speed" value displayed in Adventurer Mode).

Raw speed is the figure used by the game to determine a creature's movement under different conditions (encumbered, agile, lying down, exhausted, etc.), although displayed speed represents how often a creature actually moves in-game.

How speed works

Creatures have to wait x turns before performing another action, where x is Raw Speed/100. If x has a fractional portion, that fractional portion will randomly determine whether an additional turn is required. For instance, a creature with a raw speed of 725 will have to wait 7 turns between actions, with a 25% chance of an additional turn of waiting (8 total).

So, for raw speeds, the lower the number, the faster the creature.

The action itself takes one turn to perform, which is why displayed speed is more representative of in-game movement. A creature with a raw speed of 900 will take one turn to perform an action, then wait 9 turns before performing another action, and can thus perform one action every 10 turns. It is not known if different actions take more than one turn to perform, although each square of movement is known to take one turn.

Displayed speed is equal to 1,000,000/(Raw Speed+100). A creature can move one square every 10,000/Displayed Speed turns, or (Raw Speed/100)+1 turns. Therefore, a creature with a raw speed of 900 will have a displayed speed of 1000, and move every 10 turns. A creature with a raw speed of 400 will have a displayed speed of 2000, and move every 5 turns. This means a raw speed of 400 (not 450) is twice as fast as 900, at least in terms of movement.

For displayed speed, the higher the number, the faster the creature.

Tasks other than movement (such as mining or performing workshop tasks) are also known to be affected by a creature's speed. It is not yet known if these actions are sped in a way that is proportional to movement speed in most cases. For Legendary miners, mining is sped that way.

Influences on speed

Agility

The default raw speed for all creatures is 900. Each level of agility will reduce a creature's raw speed by 10%.

Dwarves and human have the default raw speed:

Attribute Raw Speed Displayed Speed
default 900 1000
Agile 810 1098
Very Agile 720 1219
Extremely Agile 630 1369
Unbelievably Agile 540 1562
Perfectly Agile 450 1818

Elves have a raw speed of 700:

Attribute Raw Speed Displayed Speed
default 700 1250
Agile 630 1369
Very Agile 560 1515
Extremely Agile 490 1694
Unbelievably Agile 420 1923
Perfectly Agile 350 2222

Miscellaneous influences

Several creature states have an influence on speed, such as being prone (lying down), sneaking, being stunned, or being over-exerted, thirsty, hungry, or sleepy. The speed penalty for being in each of these states is modified by the creature's agility, making agility's influence on creature speed doubly important.

Attribute Prone or
Sneaking
Stunned Over-Exerted Starving,
Dehydrated,
Very Drowsy,
or Tired
Drowsy,
Hungry,
or Thirsty
default 2000 1000 400 200 100
Agile 1800 900 360 180 90
Very Agile 1600 800 320 160 80
Extremely Agile 1400 700 280 140 70
Unbelievably Agile 1200 600 240 120 60
Perfectly Agile 1000 500 200 100 50
  • Prone refers to a creature "on the ground", either lying down or knocked down.
  • Sneaking is a creature utilizing the Ambusher skill.
  • Stunned is usually caused by getting "charged" by another creature (can also be the aftereffect of a cave spider or giant cave spider bite). It can also happen to injured creatures while moving.
  • Over-exerted is caused by taking too many combat actions in a short period of time; it is the more severe form of "Tired". Creatures which are over-exerted will usually fall to the ground, unable to stand again. An over-exerted creature which continues to fight will eventually go unconscious for a few turns.
  • Starving is due to lack of food. It is the more severe form of "Hungry".
  • Dehydrated is due to lack of drink. It is the more severe form of "Thirsty".
  • Very Drowsy is due to lack of sleep. It is the more severe form of "Drowsy", and should not be confused with "Tired", which is caused by over-exertion.

The speed penalty for each state is cumulative. For instance, a prone, sneaking dwarf (raw speed 900) will have a modified raw speed of 4900 (displayed speed 200). An Extremely Agile elf (raw speed 490) who is prone, stunned, and thirsty will have a modified speed of 2660 and a displayed speed of 362.

The speed penality for "sneaking" is additionally modified by a creature's Ambusher skill. Each level of Ambusher skill reduces the movement penalty listed above (1000-2000) by 5%. For instance, a base-agility Novice Ambusher will have a movement penalty of 1900 when sneaking; an Agile, Competent Ambusher, 1530 (85% of 1800); and a Perfectly Agile, Legendary Ambusher, 250 (25% of 1000). One additional note to mention is that, similar to some Fortress mode skills, Ambusher skill effects actually top out at Legendary+5, whereby all of the speed penalty from sneaking is nullified allowing you to sneak as fast as you can normally walk.

Each level of thirst, hunger, drowsiness, or exhaustion (and possibly stun as well) also appears to reduce all skills by one or more levels. This can reduce your sneaking skill (and consequently, sneaking speed), or more catastrophically, your Armor user skill (which can cause you to suddenly be extremely encumbered).

Melancholy appears to make creatures extremely slow, adding a penalty of approximately 8000 to raw speed.

Encumbrance

Attribute Weight Limit
default 200
Strong 300
Very Strong 400
Extremely Strong 500
Mighty 600
Ultra-Mighty 700

If a creature carries one weight unit (Γ) more than the above listed figures, it will be encumbered. The speed penalty for encumbrance is +6 to raw speed for the first increment of encumbrance and +5 for each subsequent increment. For instance, a dwarf carrying 201Γ total will have a raw speed of 906 (displayed speed 994); carrying 202Γ, speed will be 911 (displayed 989); 203Γ, speed 916 (displayed 984), etc.

The Armor user skill reduces the effective weight of items that are worn but not including any items inside a worn object (like the items carried in a backpack). It has no effect at Novice level, but at <nolabel> level, it decreases the weight of worn items by 3/16ths. Each additional level of skill decreases the weight of items by another 1/16th, up to a maximum of 16/16ths if a creature is a legendary armor user.