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 "Speed"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Unrating page for DF2014 (s: 192/317))
(Tagging v50 page (4041/4888))
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Migrated_article}}
+
{{migrated article}}
{{quality|unrated}}
+
{{av}}
'''Speed''' is a numerical indicator of how much [[time]] must elapse between creature actions, with higher numbers indicating longer delays (and therefore slower actions). All creatures have a default speed of 900; this value can be overridden by a {{tt|[SPEED:#]}} [[creature token]] in the creature [[raw file]]. Note this internal value for SPEED is '''not''' the same as the "Speed" stat shown on the screen in [[Adventure mode]].
+
{{Disambig}}
  
<blockquote>
+
Speed was removed as a stat in v0.40.01.
The way it works is that the game doesn't let most creatures act every single frame - an "average" creature acts only once every 10 frames.  In order to achieve this, there is a delay on every action that a creature takes.<br>
 
<br>
 
Basically, the hundreds digit and higher represent whole turns that are skipped just filling up the waiting counter until it reaches the point of their "speed".  "Speed" is a bit of a misnomer, actually, as it's really more "turn delay".<br>
 
<br>
 
This is why most creatures have 900 speed - they are delayed 9 turns before they get their 1 turn of action, and have to wait for their delay counter to fill up before taking their next action.<br>
 
<br>
 
A creature with 975 speed, meanwhile, (which is functionally where most dwarves fall, thanks to low agility) has to wait 9 turns, then rolls a random chance to see if it goes that turn or not - with a 75% chance of having to wait another turn.<br>
 
<br>
 
Agility acts as a multiplier on speed - if someone had only 400 speed/delay to begin with, and another creature had 900 speed/delay, then regardless of whether it was low or high agility, as long as they had the same amount of agility (and equipment), the 400 speed/delay creature would act twice as fast.  A creature with 0 speed/delay has no benefit or penalty from agility at all. -- ''NW_Kohaku'' [http://www.bay12forums.com/smf/index.php?topic=81351.0]
 
</blockquote>
 
  
400 is the fastest speed that you will see in the wild without modding; creatures this fast will move at twice the speed of a typical dwarf.
+
: For information on creature movement speeds, see [[Gait]].
 
+
: For information on attack speeds, see [[Combat#Attack_Speed]].
== Adventurer Mode ==
+
: For information on minecart speeds, see [[Minecart#Numbers_behind_the_scenes]].
''(As mentioned above speed is used in a different way in Adventurer mode)''
+
: For information on falling objects, see [[Gravity]].
 
+
: For information on computer speed, see [[Maximizing framerate]].
Your adventurer's speed stat is displayed at the bottom of the screen; higher values mean that the adventurer moves, acts and attacks faster. The speed stat is calculated by <tt>speed_stat = floor(1,000,000/(SPEED + 100))</tt>, with a maximum value of 10,000.
+
[[ru:Speed]]
 
 
In addition to movement, many non-combat actions are also affected by speed, including eating. It is usually in an Adventurer's interest to have as high a speed as possible to allow for faster movement and more attacks relative to an enemy. An adventurer with low speed will notice both friendly and enemy units taking multiple turns for every turn they take. High speed may also be beneficial for those with lag issues - a higher speed means less AI turns being calculated between each player move, decreasing the processing delay between player actions.
 
 
 
==Modifiers==
 
 
 
Many factors affect effective speed. A high agility [[attribute]] results in faster actions. Higher strength also increases speed, but because it also increases body mass (more weight = slower) the effect is not as pronounced as agility. Encumbrance (carried items) lowers speed relative to the total [[weight]]. Lying down, falling down, or being stunned approximately halves a creature's speed. Drowsiness, hunger, thirst, disabilities, and [[syndrome|dizziness]] can also decrease effective speed.
 
 
 
Some actions also impose speed modifiers, such as [[Combat_skill|wearing armor]], [[ambusher|moving quietly]], running, and [[swim]]ming.
 
 
 
Skills can reduce the impact of some modifiers on speed.
 
*Training in [[Combat_skill|Armor User]] reduces the speed penalty for wearing [[armor]].
 
*Training in [[Ambusher]] reduces the penalty for hunting and sneaking.
 
*Training [[Crutch-walker]] (and carrying a [[crutch]]) reduces the penalty for a disabled leg.
 
*Training [[Swimmer]] improves speed while swimming; a high-level swimmer may actually move faster in water than on land.
 
 
 
{{Category|Modding}}
 

Latest revision as of 00:47, 21 December 2022

This article is about the current version of DF.
Note that some content may still need to be updated.


Speed was removed as a stat in v0.40.01.

For information on creature movement speeds, see Gait.
For information on attack speeds, see Combat#Attack_Speed.
For information on minecart speeds, see Minecart#Numbers_behind_the_scenes.
For information on falling objects, see Gravity.
For information on computer speed, see Maximizing framerate.