Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_WheelHitZone.c File Reference

Go to the source code of this file.

Enumerations

enum  SCR_EWheelDamageState : EDamageState
 

Functions

enum SCR_EWheelDamageState EDamageState Attribute (defvalue:"-1", uiwidget:UIWidgets.Auto, desc:"Wheel ID", category:"Wheel Damage")] protected int m_iWheelId
 
override void OnInit (IEntity pOwnerEntity, GenericComponent pManagerComponent)
 
override EHitZoneGroup GetHitZoneGroup ()
 
override void OnDamageStateChanged ()
 
int GetWheelIndex ()
 
void SetWheelIndex (int index)
 
void UpdateWheelState ()
 Set wheel parameters when damage exceeds thresholds. More...
 
protected void UpdateDamageSignal ()
 
override void PlayDestructionSound (EDamageState damageState)
 
void WakeUpPhysics ()
 Wake physics up. More...
 
float GetEfficiency ()
 

Variables

 PUNCTURED = 3
 
protected float m_fDamagedRadiusScale
 
protected float m_fDamagedLongitudinalFrictionScale
 
protected float m_fDamagedLateralFrictionScale
 
protected float m_fDamagedRoughnessIncrease
 
protected float m_fDamagedDrag
 
protected float m_fDestroyedRadiusScale
 
protected float m_fDestroyedLongitudinalFrictionScale
 
protected float m_fDestroyedLateralFrictionScale
 
protected float m_fDestroyedRoughnessIncrease
 
protected float m_fDestroyedDrag
 

Enumeration Type Documentation

◆ SCR_EWheelDamageState

Definition at line 1 of file SCR_WheelHitZone.c.

Function Documentation

◆ Attribute()

enum SCR_EWheelDamageState EDamageState Attribute ( defvalue:"-1"  ,
uiwidget:UIWidgets.  Auto,
desc:"Wheel ID"  ,
category:"Wheel Damage"   
)

◆ GetEfficiency()

float GetEfficiency ( )
Returns

Definition at line 283 of file SCR_WheelHitZone.c.

◆ GetHitZoneGroup()

override EHitZoneGroup GetHitZoneGroup ( )

Definition at line 51 of file SCR_WheelHitZone.c.

◆ GetWheelIndex()

int GetWheelIndex ( )
Returns

Definition at line 67 of file SCR_WheelHitZone.c.

◆ OnDamageStateChanged()

override void OnDamageStateChanged ( )

Definition at line 57 of file SCR_WheelHitZone.c.

◆ OnInit()

override void OnInit ( IEntity  pOwnerEntity,
GenericComponent  pManagerComponent 
)

Definition at line 42 of file SCR_WheelHitZone.c.

◆ PlayDestructionSound()

override void PlayDestructionSound ( EDamageState  damageState)

Definition at line 212 of file SCR_WheelHitZone.c.

◆ SetWheelIndex()

void SetWheelIndex ( int  index)
Parameters
index

Definition at line 74 of file SCR_WheelHitZone.c.

◆ UpdateDamageSignal()

protected void UpdateDamageSignal ( )

Definition at line 190 of file SCR_WheelHitZone.c.

◆ UpdateWheelState()

void UpdateWheelState ( )

Set wheel parameters when damage exceeds thresholds.

Definition at line 89 of file SCR_WheelHitZone.c.

◆ WakeUpPhysics()

void WakeUpPhysics ( )

Wake physics up.

Definition at line 262 of file SCR_WheelHitZone.c.

Variable Documentation

◆ m_fDamagedDrag

protected float m_fDamagedDrag

Definition at line 24 of file SCR_WheelHitZone.c.

◆ m_fDamagedLateralFrictionScale

protected float m_fDamagedLateralFrictionScale

Definition at line 18 of file SCR_WheelHitZone.c.

◆ m_fDamagedLongitudinalFrictionScale

protected float m_fDamagedLongitudinalFrictionScale

Definition at line 15 of file SCR_WheelHitZone.c.

◆ m_fDamagedRadiusScale

protected float m_fDamagedRadiusScale

Definition at line 12 of file SCR_WheelHitZone.c.

◆ m_fDamagedRoughnessIncrease

protected float m_fDamagedRoughnessIncrease

Definition at line 21 of file SCR_WheelHitZone.c.

◆ m_fDestroyedDrag

protected float m_fDestroyedDrag

Definition at line 39 of file SCR_WheelHitZone.c.

◆ m_fDestroyedLateralFrictionScale

protected float m_fDestroyedLateralFrictionScale

Definition at line 33 of file SCR_WheelHitZone.c.

◆ m_fDestroyedLongitudinalFrictionScale

protected float m_fDestroyedLongitudinalFrictionScale

Definition at line 30 of file SCR_WheelHitZone.c.

◆ m_fDestroyedRadiusScale

protected float m_fDestroyedRadiusScale

Definition at line 27 of file SCR_WheelHitZone.c.

◆ m_fDestroyedRoughnessIncrease

protected float m_fDestroyedRoughnessIncrease

Definition at line 36 of file SCR_WheelHitZone.c.

◆ PUNCTURED

PUNCTURED = 3

Definition at line 2 of file SCR_WheelHitZone.c.