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.
Editing Gait
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{quality|Fine}}{{av}} |
− | |||
− | A '''gait''' is a mode of movement which a creature can use. In real life, the word only applies to movement on land; but in ''Dwarf Fortress'', the term describes any mode of movement by a creature, including | + | A '''gait''' is a mode of movement which a creature can use. In real life, the word only applies to movement on land; but in ''Dwarf Fortress'', the term describes any mode of movement by a creature, including swimming, flying, and climbing. |
== Gait Types == | == Gait Types == | ||
Line 8: | Line 7: | ||
There are 5 different types of gaits: walking, crawling, climbing, swimming, and flying. | There are 5 different types of gaits: walking, crawling, climbing, swimming, and flying. | ||
− | * Walking gaits are land-based gaits which require the creature to be standing up, and have more than half of their | + | * Walking gaits are land-based gaits which require the creature to be standing up, and have more than half of their [STANCE] body parts, e.g. legs, intact and working. They can be used to move across flat ground, and go up and down ramps and stairs. |
− | * Crawling gaits are like walking gaits, except that they require neither standing up nor | + | * Crawling gaits are like walking gaits, except that they require neither standing up nor [STANCE] body parts. They are much slower than walking gaits. Please note that an uninjured, slithering snake is considered to be using a walking gait, not a crawling gait: its body is its [STANCE] body part. If a snake is injured in the body, it will revert to a crawling gait. |
− | * Climbing gaits are used for moving up and down vertical surfaces, such as trees or walls, as well as for moving horizontally while supporting oneself against a vertical surface. In order to climb, a creature needs intact body parts to climb with: | + | * Climbing gaits are used for moving up and down vertical surfaces, such as trees or walls, as well as for moving horizontally while supporting oneself against a vertical surface. In order to climb, a creature needs intact body parts to climb with: [GRASP] body parts by default, or [STANCE] body parts if the creature has the [STANCE_CLIMBER] token. Stance climbers include cats and giant cave spiders. |
− | * Swimming gaits are used for moving in the water. In order to swim, a creature needs either the | + | * Swimming gaits are used for moving in the water. In order to swim, a creature needs either the [SWIMS_INNATE] tag, or [SWIMS_LEARNED], [CAN_LEARN] and skill in swimming. |
− | * Flying gaits are used for moving in the air. In order to fly, a creature needs the | + | * Flying gaits are used for moving in the air. In order to fly, a creature needs the [FLIER] tag, and for enough of its body parts tagged [FLIER] (e.g. wings) to be intact, if applicable. Flying does not require a minimum speed to stay airborne, and turning while flying is no more difficult than turning while walking. |
== Speed == | == Speed == | ||
Line 47: | Line 46: | ||
|- | |- | ||
| 439 || 20 || 12 || average [[troll]]'s top speed | | 439 || 20 || 12 || average [[troll]]'s top speed | ||
+ | |- | ||
+ | | 390 || 45 || 28 || average [[beak dog]]'s top speed | ||
|- | |- | ||
| 351 || 25 || 16 || average [[dragon]]'s top speed | | 351 || 25 || 16 || average [[dragon]]'s top speed | ||
Line 61: | Line 62: | ||
|- | |- | ||
| 214 || 41 || 25 || average elf's top speed | | 214 || 41 || 25 || average elf's top speed | ||
− | |||
− | |||
|- | |- | ||
| 183 || 48 || 30 || average [[cat]]'s top speed | | 183 || 48 || 30 || average [[cat]]'s top speed | ||
Line 76: | Line 75: | ||
| 109 || 80 || 50 || average [[gazelle]]'s top speed | | 109 || 80 || 50 || average [[gazelle]]'s top speed | ||
|- | |- | ||
− | | 100 || 87 || 54 || maximum allowed gait | + | | 100 || 87 || 54 || maximum allowed gait speed |
|} | |} | ||
Line 298: | Line 297: | ||
== Gaits and Modding == | == Gaits and Modding == | ||
− | In the | + | In the raw files, gaits are specified in c_variation_default. A better understanding of how creature gaits work can be found under [CREATURE_VARIATION:STANDARD_BIPED_GAITS] (in c_variation_default.txt), where brief information pertaining to their syntax is found. |
+ | |||
+ | To specify one of these predefined gaits,the tag [APPLY_CREATURE_VARIATION] should be used. | ||
− | + | Example, taken from the dwarf: | |
− | |||
− | + | [APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS:900:711:521:293:1900:2900] 30 kph | |
− | + | where the speeds are: "walk:jog:run:sprint:stroll:creep". Sprint's and jog's starting speed is equal to jog's max, the rest have NO_BUILD_UP tag. | |
{{Category|Game mechanics}} | {{Category|Game mechanics}} | ||
− | |||
[[ru:Gait]] | [[ru:Gait]] |