Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_GameModeHealthSettings.c
Go to the documentation of this file.
1 class SCR_GameModeHealthSettingsClass : ScriptComponentClass
2 {
3 }
4 
5 class SCR_GameModeHealthSettings : ScriptComponent
6 {
7  [Attribute(defvalue: "1", uiwidget: UIWidgets.Slider, desc: "Character bleeding rate multiplier", params: "0 5 0.001", precision: 3, category: "Game Mode")]
8  protected float m_fDOTScale;
9 
10  [Attribute(defvalue: "1", uiwidget: UIWidgets.Slider, desc: "Character regeneration rate multiplier", params: "0 5 0.001", precision: 3, category: "Game Mode")]
11  protected float m_fRegenScale;
12 
13  [Attribute(defvalue: "true", uiwidget: UIWidgets.CheckBox, desc: "Whether unconsciousness is allowed", category: "Game Mode")]
14  protected bool m_bPermitUnconsciousness;
15 
16  [Attribute(defvalue: "false", uiwidget: UIWidgets.CheckBox, desc: "Whether using VON during unconsciousness is allowed", category: "Game Mode")]
17  protected bool m_bPermitUnconsciousVON;
18 
19  [Attribute(defvalue: "0.75", uiwidget: UIWidgets.Slider, desc: "How much will the character be slowed down when having tourniquetted leg", params: "0 1 0.001", precision: 3, category: "Game Mode")]
21 
22  [Attribute(defvalue: "0.1", uiwidget: UIWidgets.Slider, desc: "Affects how much the bleeding is reduced", params: "0 1 0.001", precision: 3, category: "Game Mode")]
24 
25  [Attribute(defvalue: "1", uiwidget: UIWidgets.Slider, desc: "How fast will character regenerate when situated in medical compartment", params: "0 5 0.001", precision: 3, category: "Game Mode")]
27 
28  [Attribute(defvalue: "10", uiwidget: UIWidgets.Slider, desc: "Time without receiving damage or bleeding to start regeneration [s]", params: "0 600 1", category: "Game Mode")]
29  protected float m_fRegenerationDelay;
30 
31  [Attribute(defvalue: "200", uiwidget: UIWidgets.Slider, desc: "Time to fully regenerate resilience hit zone [s]", params: "0 600 1", category: "Game Mode")]
32  protected float m_fFullRegenerationTime;
33 
34  [Attribute(defvalue: "0.75", uiwidget: UIWidgets.Slider, desc: "Minimum amount of stamina needed to regenerate character hit zones", params: "0 1 0.001", precision: 3, category: "Game Mode")]
36 
37  [Attribute(defvalue: "40", uiwidget: UIWidgets.Slider, desc: "Maximal weight of all the items character can carry to regenerate character hit zones", params: "0 150 1", category: "Game Mode")]
39 
40  [Attribute(defvalue: "2", uiwidget: UIWidgets.Slider, desc: "Maximal character movement speed to regenerate character hit zones", params: "0 25 0.001", precision: 3, category: "Game Mode")]
42 
43  [Attribute(defvalue: "1.333", uiwidget: UIWidgets.Slider, desc: "Character hit zone regeneration speed when in crouch", params: "0 5 0.001", precision: 3, category: "Game Mode")]
44  protected float m_fRegenerationSpeedCrouch;
45 
46  [Attribute(defvalue: "1.666", uiwidget: UIWidgets.Slider, desc: "Character hit zone regeneration speed when in prone", params: "0 5 0.001", precision: 3, category: "Game Mode")]
47  protected float m_fRegenerationSpeedProne;
48 
49  //------------------------------------------------------------------------------------------------
53  {
54  return m_fDOTScale;
55  }
56 
57  //------------------------------------------------------------------------------------------------
60  void SetBleedingScale(float rate)
61  {
62  m_fDOTScale = rate;
63  }
64 
65  //------------------------------------------------------------------------------------------------
68  float GetRegenScale()
69  {
70  return m_fRegenScale;
71  }
72 
73  //------------------------------------------------------------------------------------------------
76  void SetRegenScale(float rate)
77  {
78  m_fRegenScale = rate;
79  }
80 
81  //------------------------------------------------------------------------------------------------
85  {
87  }
88 
89  //------------------------------------------------------------------------------------------------
92  void SetUnconsciousnessPermitted(bool permitted)
93  {
94  m_bPermitUnconsciousness = permitted;
95  }
96 
97  //------------------------------------------------------------------------------------------------
101  {
103  }
104 
105  //------------------------------------------------------------------------------------------------
108  void SetUnconsciousVONPermitted(bool permitted)
109  {
110  m_bPermitUnconsciousVON = permitted;
111  }
112 
113  //------------------------------------------------------------------------------------------------
117  {
119  }
120 
121  //------------------------------------------------------------------------------------------------
125  {
127  }
128 
129  //------------------------------------------------------------------------------------------------
133  {
135  }
136 
137  //------------------------------------------------------------------------------------------------
141  {
143  }
144 
145  //------------------------------------------------------------------------------------------------
149  {
151  }
152 
153  //------------------------------------------------------------------------------------------------
157  {
159  }
160 
161  //------------------------------------------------------------------------------------------------
165  {
166  return m_fRegenerationDelay;
167  }
168 
169  //------------------------------------------------------------------------------------------------
172  void SetRegenerationDelay(float rate)
173  {
174  m_fRegenerationDelay = rate;
175  }
176 
177  //------------------------------------------------------------------------------------------------
181  {
182  return m_fFullRegenerationTime;
183  }
184 
185  //------------------------------------------------------------------------------------------------
188  void SetResilienceHzRegenTime(float rate)
189  {
190  m_fFullRegenerationTime = rate;
191  }
192 
193  //------------------------------------------------------------------------------------------------
197  {
199  }
200 
201  //------------------------------------------------------------------------------------------------
205  {
207  }
208 
209  //------------------------------------------------------------------------------------------------
213  {
215  }
216 
217  //------------------------------------------------------------------------------------------------
221  {
223  }
224 
225  //------------------------------------------------------------------------------------------------
229  {
231  }
232 
233  //------------------------------------------------------------------------------------------------
237  {
239  }
240 
241  //------------------------------------------------------------------------------------------------
245  {
247  }
248 
249  //------------------------------------------------------------------------------------------------
252  void SetRegenerationSpeedCrouc(float rate)
253  {
255  }
256 
257  //------------------------------------------------------------------------------------------------
261  {
263  }
264 
265  //------------------------------------------------------------------------------------------------
268  void SetRegenerationSpeedProne(float rate)
269  {
271  }
272 }
m_fRegenerationMinStaminaLevel
protected float m_fRegenerationMinStaminaLevel
Definition: SCR_GameModeHealthSettings.c:35
m_fRegenerationMaxLoadoutWeight
protected float m_fRegenerationMaxLoadoutWeight
Definition: SCR_GameModeHealthSettings.c:38
SetRegenerationDelay
void SetRegenerationDelay(float rate)
Definition: SCR_GameModeHealthSettings.c:172
GetMaxCharMovementSpeedForRegeneration
float GetMaxCharMovementSpeedForRegeneration()
Definition: SCR_GameModeHealthSettings.c:228
GetMinStaminaLevelForRegeneration
float GetMinStaminaLevelForRegeneration()
Definition: SCR_GameModeHealthSettings.c:196
m_bPermitUnconsciousness
protected bool m_bPermitUnconsciousness
Definition: SCR_GameModeHealthSettings.c:14
m_fCompartmentRegenerationRateMultiplier
protected float m_fCompartmentRegenerationRateMultiplier
Definition: SCR_GameModeHealthSettings.c:26
GetBleedingScale
float GetBleedingScale()
Definition: SCR_GameModeHealthSettings.c:52
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
SetMaxCharWeightForRegeneration
void SetMaxCharWeightForRegeneration(float rate)
Definition: SCR_GameModeHealthSettings.c:220
SetBleedingScale
void SetBleedingScale(float rate)
Definition: SCR_GameModeHealthSettings.c:60
SetRegenerationSpeedProne
void SetRegenerationSpeedProne(float rate)
Definition: SCR_GameModeHealthSettings.c:268
SetUnconsciousnessPermitted
void SetUnconsciousnessPermitted(bool permitted)
Definition: SCR_GameModeHealthSettings.c:92
GetCompartmentRegenRateMultiplier
float GetCompartmentRegenRateMultiplier()
Definition: SCR_GameModeHealthSettings.c:148
GetRegenerationSpeedProne
float GetRegenerationSpeedProne()
Definition: SCR_GameModeHealthSettings.c:260
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
GetRegenerationSpeedCrouc
float GetRegenerationSpeedCrouc()
Definition: SCR_GameModeHealthSettings.c:244
GetResilienceHzRegenTime
float GetResilienceHzRegenTime()
Definition: SCR_GameModeHealthSettings.c:180
SCR_GameModeHealthSettingsClass
Definition: SCR_GameModeHealthSettings.c:1
m_fRegenerationSpeedCrouch
protected float m_fRegenerationSpeedCrouch
Definition: SCR_GameModeHealthSettings.c:44
SetRegenScale
void SetRegenScale(float rate)
Definition: SCR_GameModeHealthSettings.c:76
SetMinStaminaLevelForRegeneration
void SetMinStaminaLevelForRegeneration(float rate)
Definition: SCR_GameModeHealthSettings.c:204
m_fTourniquettedLegMovementSlowdown
protected float m_fTourniquettedLegMovementSlowdown
Definition: SCR_GameModeHealthSettings.c:20
SetTourniquettedLegMovementSlowdown
void SetTourniquettedLegMovementSlowdown(float rate)
Definition: SCR_GameModeHealthSettings.c:124
category
params category
Definition: SCR_GameModeHealthSettings.c:29
GetRegenerationDelay
float GetRegenerationDelay()
Definition: SCR_GameModeHealthSettings.c:164
m_fRegenerationSpeedProne
protected float m_fRegenerationSpeedProne
Definition: SCR_GameModeHealthSettings.c:47
GetRegenScale
float GetRegenScale()
Definition: SCR_GameModeHealthSettings.c:68
m_fRegenScale
protected float m_fRegenScale
Definition: SCR_GameModeHealthSettings.c:11
SetRegenerationSpeedCrouc
void SetRegenerationSpeedCrouc(float rate)
Definition: SCR_GameModeHealthSettings.c:252
GetTourniquettedLegMovementSlowdown
float GetTourniquettedLegMovementSlowdown()
Definition: SCR_GameModeHealthSettings.c:116
m_fTourniquetStrengthMultiplier
private float m_fTourniquetStrengthMultiplier
Definition: SCR_GameModeHealthSettings.c:23
SetResilienceHzRegenTime
void SetResilienceHzRegenTime(float rate)
Definition: SCR_GameModeHealthSettings.c:188
SetTourniquetStrengthMultiplier
void SetTourniquetStrengthMultiplier(float rate)
Definition: SCR_GameModeHealthSettings.c:140
SetUnconsciousVONPermitted
void SetUnconsciousVONPermitted(bool permitted)
Definition: SCR_GameModeHealthSettings.c:108
GetMaxCharWeightForRegeneration
float GetMaxCharWeightForRegeneration()
Definition: SCR_GameModeHealthSettings.c:212
params
Configs ServerBrowser KickDialogs params
Definition: SCR_NotificationSenderComponent.c:24
IsUnconsciousnessPermitted
bool IsUnconsciousnessPermitted()
Definition: SCR_GameModeHealthSettings.c:84
IsUnconsciousVONPermitted
bool IsUnconsciousVONPermitted()
Definition: SCR_GameModeHealthSettings.c:100
Attribute
SCR_GameModeHealthSettingsClass ScriptComponentClass Attribute(defvalue:"1", uiwidget:UIWidgets.Slider, desc:"Character bleeding rate multiplier", params:"0 5 0.001", precision:3, category:"Game Mode")] protected float m_fDOTScale
m_fRegenerationMaxMovementSpeed
protected float m_fRegenerationMaxMovementSpeed
Definition: SCR_GameModeHealthSettings.c:41
GetTourniquetStrengthMultiplier
float GetTourniquetStrengthMultiplier()
Definition: SCR_GameModeHealthSettings.c:132
m_bPermitUnconsciousVON
protected bool m_bPermitUnconsciousVON
Definition: SCR_GameModeHealthSettings.c:17
SetCompartmentRegenRateMultiplier
void SetCompartmentRegenRateMultiplier(float rate)
Definition: SCR_GameModeHealthSettings.c:156
SetMaxCharMovementSpeedForRegeneration
void SetMaxCharMovementSpeedForRegeneration(float rate)
Definition: SCR_GameModeHealthSettings.c:236