CfgMovesFatigue – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (R3vo moved page CfgMovesFatigue to Arma 3 CfgMovesFatigue: Added Arma 3 Tag)
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Cfg ref|start}}
{{Cfg ref|start}}
==Introduction==
==Introduction==
See [[CfgVehicles Config Reference|CfgVehicles Config Reference Introduction]]
See [[CfgVehicles Config Reference|CfgVehicles Config Reference Introduction]] or [https://community.bistudio.com/wiki/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.'''
Line 7: Line 7:
==Alphabetical Order==
==Alphabetical Order==
{{Cfg ref|abc}}
{{Cfg ref|abc}}
===A===
===A===
====aimPrecisionSpeedCoef====
====aimPrecisionSpeedCoef====
Line 19: Line 18:
[[TokenNameValueTypes#Floats|Float]]
[[TokenNameValueTypes#Floats|Float]]
<syntaxhighlight lang="c">
<syntaxhighlight lang="c">
staminaCooldown = 15; //when you run out of stamina the sprinting is disabled for this duration
staminaCooldown = 10; //when you run out of stamina the sprinting is disabled for this duration
</syntaxhighlight>
</syntaxhighlight>


Line 31: Line 30:
[[TokenNameValueTypes#Floats|Float]]
[[TokenNameValueTypes#Floats|Float]]
<syntaxhighlight lang="c">
<syntaxhighlight lang="c">
staminaRestoration = 45; //time required for your current stamina pool (total stamina - inventory load) to restore
staminaRestoration = 30; //time required for your current stamina pool (total stamina - inventory load) to restore
</syntaxhighlight>
</syntaxhighlight>


===T===
===T===
====terrainDrainSprint====
[[TokenNameValueTypes#Floats|Float]]
[[TokenNameValueTypes#Floats|Float]]
<syntaxhighlight lang="c">
<syntaxhighlight lang="c">
Line 40: Line 40:
</syntaxhighlight>
</syntaxhighlight>


====terrainDrainRun====
[[TokenNameValueTypes#Floats|Float]]
[[TokenNameValueTypes#Floats|Float]]
<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>
====terrainSpeedCoef====
[[TokenNameValueTypes#Floats|Float]]
<syntaxhighlight lang="c">
terrainSpeedCoef = 0.9; //when terrain gradient disable sprint, animation speed is multiplied by this value
</syntaxhighlight>
</syntaxhighlight>


{{Cfg ref|end}}
{{Cfg ref|end}}
[[Category:Reference Lists]]
[[Category:Arma 3: Editing]]

Revision as of 16:17, 9 January 2019

Template:Cfg ref

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

Template:Cfg ref

A

aimPrecisionSpeedCoef

Float

aimPrecisionSpeedCoef	= 5;	//aimPrecision adjusting rate coefficient between two animation states with different aimPrecision parameter value

S

staminaCooldown

Float

staminaCooldown = 10; //when you run out of stamina the sprinting is disabled for this duration

staminaDuration

Float

staminaDuration = 60; //total amount of stamina

staminaRestoration

Float

staminaRestoration = 30; //time required for your current stamina pool (total stamina - inventory load) to restore

T

terrainDrainSprint

Float

terrainDrainSprint = -1; //when terrain gradient disable sprint, this stamina value is added to every animation state (do not stack with following terrain threshold)

terrainDrainRun

Float

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

Float

terrainSpeedCoef = 0.9; //when terrain gradient disable sprint, animation speed is multiplied by this value

Template:Cfg ref