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 "DF2014 Talk:Gait"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Creating page - requested by 89.70.243.28 (talk | contribs))
 
 
Line 1: Line 1:
<!-- DELETE THIS LINE -->{{newpage|type=cp|89.70.243.28}}
+
== Gaits and Modding ==
 +
=== Syntax explanation ===
 +
 
 +
"GAIT:type:name:full speed:build up time:turning max:start speed:energy use" refers to GAIT as in
 +
[CV_NEW_TAG:GAIT:WALK:Sprint:!ARG4:10:3:!ARG2:50:LAYERS_SLOW:STRENGTH:AGILITY:STEALTH_SLOWS:50]
 +
not to [APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS:900:675:450:225:1900:2900]
 +
 
 +
The usage of "APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS" is more complicated. Each argument passed is referred as "!ARG#", where # is arg position counted from 1, in "CV_NEW_TAG:GAIT:type:speed name" declaration.
 +
* !ARG1 is ''default'' (walking) max speed (also starting since no NO_BUILD_UP)
 +
* !ARG2 is ''fast'' speed's (jog) max (and starting), also ''faster'' and ''fastest'' starting speed
 +
* !ARG3 is ''faster'' (run) max
 +
* !ARG4 is ''fastest'' (sprint) max
 +
* !ARG5 is ''slow'' (stroll) max (and starting)
 +
* !ARG6 is ''slowest'' (creep) max (and starting)
 +
 
 +
--[[Special:Contributions/89.70.243.28|89.70.243.28]] 09:15, 30 December 2018 (UTC)

Latest revision as of 09:15, 30 December 2018

Gaits and Modding[edit]

Syntax explanation[edit]

"GAIT:type:name:full speed:build up time:turning max:start speed:energy use" refers to GAIT as in [CV_NEW_TAG:GAIT:WALK:Sprint:!ARG4:10:3:!ARG2:50:LAYERS_SLOW:STRENGTH:AGILITY:STEALTH_SLOWS:50] not to [APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS:900:675:450:225:1900:2900]

The usage of "APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS" is more complicated. Each argument passed is referred as "!ARG#", where # is arg position counted from 1, in "CV_NEW_TAG:GAIT:type:speed name" declaration.

  • !ARG1 is default (walking) max speed (also starting since no NO_BUILD_UP)
  • !ARG2 is fast speed's (jog) max (and starting), also faster and fastest starting speed
  • !ARG3 is faster (run) max
  • !ARG4 is fastest (sprint) max
  • !ARG5 is slow (stroll) max (and starting)
  • !ARG6 is slowest (creep) max (and starting)

--89.70.243.28 09:15, 30 December 2018 (UTC)