CfgMovesFatigue – Arma 3
Jump to navigation
Jump to search
Solzenicyn (talk | contribs) No edit summary |
|||
Line 43: | Line 43: | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
terrainDrainRun = -1; //when terrain gradient enable force walk, this stamina value is added to every animation state (do not stack with previous terrain threshold) | terrainDrainRun = -1; //when terrain gradient enable force walk, this stamina value is added to every animation state (do not stack with previous terrain threshold) | ||
</syntaxhighlight> | |||
[[TokenNameValueTypes#Floats|Float]] | |||
<syntaxhighlight lang="c"> | |||
terrainSpeedCoef = 1; //when terrain gradient disable sprint, animation speed is multiplied by this value | |||
</syntaxhighlight> | </syntaxhighlight> | ||
{{Cfg ref|end}} | {{Cfg ref|end}} |
Revision as of 17:09, 23 November 2015
Introduction
See CfgVehicles Config Reference Introduction
This class is defined in base soldier class so all soldiers in vanilla game have the same Stamina behavior. However it can be defined for each soldier class separately if desired.
Alphabetical Order
A
aimPrecisionSpeedCoef
aimPrecisionSpeedCoef = 5; //aimPrecision adjusting rate coefficient between two animation states with different aimPrecision parameter value
S
staminaCooldown
staminaCooldown = 15; //when you run out of stamina the sprinting is disabled for this duration
staminaDuration
staminaDuration = 60; //total amount of stamina
staminaRestoration
staminaRestoration = 45; //time required for your current stamina pool (total stamina - inventory load) to restore
T
terrainDrainSprint = -1; //when terrain gradient disable sprint, this stamina value is added to every animation state (do not stack with following terrain threshold)
terrainDrainRun = -1; //when terrain gradient enable force walk, this stamina value is added to every animation state (do not stack with previous terrain threshold)
terrainSpeedCoef = 1; //when terrain gradient disable sprint, animation speed is multiplied by this value