CfgMovesFatigue – Arma 3
Jump to navigation
Jump to search
m (category) |
Lou Montana (talk | contribs) m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ") |
||
Line 1: | Line 1: | ||
{{Cfg ref|start}} | {{Cfg ref|start}} | ||
==Introduction== | == Introduction == | ||
See [[CfgVehicles Config Reference|CfgVehicles Config Reference Introduction]] or [[Arma_3_Stamina|Arma 3 Stamina]] for functionality description. | See [[CfgVehicles Config Reference|CfgVehicles Config Reference Introduction]] or [[Arma_3_Stamina|Arma 3 Stamina]] for functionality description. | ||
'''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.''' | '''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== | == Alphabetical Order == | ||
{{Cfg ref|abc}} | {{Cfg ref|abc}} | ||
===A=== | ===A=== | ||
====aimPrecisionSpeedCoef==== | ==== aimPrecisionSpeedCoef ==== | ||
[[TokenNameValueTypes#Floats|Float]] | [[TokenNameValueTypes#Floats|Float]] | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 15: | Line 15: | ||
===S=== | ===S=== | ||
====staminaCooldown==== | ==== staminaCooldown ==== | ||
[[TokenNameValueTypes#Floats|Float]] | [[TokenNameValueTypes#Floats|Float]] | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 21: | Line 21: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
====staminaDuration==== | ==== staminaDuration ==== | ||
[[TokenNameValueTypes#Floats|Float]] | [[TokenNameValueTypes#Floats|Float]] | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 27: | Line 27: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
====staminaRestoration==== | ==== staminaRestoration ==== | ||
[[TokenNameValueTypes#Floats|Float]] | [[TokenNameValueTypes#Floats|Float]] | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 34: | Line 34: | ||
===T=== | ===T=== | ||
====terrainDrainSprint==== | ==== terrainDrainSprint ==== | ||
[[TokenNameValueTypes#Floats|Float]] | [[TokenNameValueTypes#Floats|Float]] | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 40: | Line 40: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
====terrainDrainRun==== | ==== terrainDrainRun ==== | ||
[[TokenNameValueTypes#Floats|Float]] | [[TokenNameValueTypes#Floats|Float]] | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 46: | Line 46: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
====terrainSpeedCoef==== | ==== terrainSpeedCoef ==== | ||
[[TokenNameValueTypes#Floats|Float]] | [[TokenNameValueTypes#Floats|Float]] | ||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> |
Revision as of 18:31, 31 January 2021
Introduction
See CfgVehicles Config Reference Introduction or Arma 3 Stamina for functionality description.
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 = 10; //when you run out of stamina the sprinting is disabled for this duration
staminaDuration
staminaDuration = 60; //total amount of stamina
staminaRestoration
staminaRestoration = 30; //time required for your current stamina pool (total stamina - inventory load) to restore
T
terrainDrainSprint
terrainDrainSprint = -1; //when terrain gradient disable sprint, this stamina value is added to every animation state (do not stack with following terrain threshold)
terrainDrainRun
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
terrainSpeedCoef = 0.9; //when terrain gradient disable sprint, animation speed is multiplied by this value