Class GaitMeta
- Namespace
- Vintagestory.GameContent
- Assembly
- VSEssentials.dll
Controls how a gait should be used. Also uses properties from AnimationMetaData Open in GitHub
[DocumentAsJson]
public class GaitMeta : AnimationMetaData
- Inheritance
-
GaitMeta
- Inherited Members
Fields
Backwards (Optional) (Default: False)
Used to move backwards from EntityBehaviorRideable
[DocumentAsJson("Optional", "False", false)]
public bool Backwards
Field Value
Environment (Optional) (Default: Land)
The environment that this gait should be played in
[DocumentAsJson("Optional", "Land", false)]
public EnumHabitat Environment
Field Value
MoveSpeed (Optional) (Default: 0)
The speed of entity that is multiplied by ControlMeta.MoveSpeedMultiplier during the gait
[DocumentAsJson("Optional", "0", false)]
public float MoveSpeed
Field Value
Natural (Optional) (Default: True)
[DocumentAsJson("Optional", "True", false)]
public bool Natural
Field Value
Sound (Optional) (Default: None)
Sound used during the gait
[DocumentAsJson("Optional", "None", false)]
public AssetLocation? Sound
Field Value
YawMultiplier (Optional) (Default: 1)
Determines how fast entity can turn left or right during the gait
[DocumentAsJson("Optional", "1", false)]
public float YawMultiplier
Field Value
FallbackGaitCode (Unused) (Default: None)
Currently unused. Used as a fallback when the current gait is no longer valid, i.e. when fatigued
[DocumentAsJson("Unused", "None", false)]
public string? FallbackGaitCode
Field Value
StaminaCost (Unused)
Currently unused
[DocumentAsJson("Unused", "", false)]
public float StaminaCost