Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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 (EDamageState newState, EDamageState previousDamageState, bool isJIP)
int GetWheelIndex ()
void SetWheelIndex (int index)
void UpdateWheelState ()
 Set wheel parameters when damage exceeds thresholds.
void UpdateDamageSignal ()
override void PlayDestructionSound (EDamageState damageState)
void WakeUpPhysics ()
 Wake physics up.
float GetEfficiency ()

Variables

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

Enumeration Type Documentation

◆ SCR_EWheelDamageState

Definition at line 3 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 ( )
protected
Returns

Definition at line 245 of file SCR_WheelHitZone.c.

◆ GetHitZoneGroup()

override EHitZoneGroup GetHitZoneGroup ( )
protected

Definition at line 54 of file SCR_WheelHitZone.c.

◆ GetWheelIndex()

int GetWheelIndex ( )
protected
Returns

Definition at line 70 of file SCR_WheelHitZone.c.

◆ OnDamageStateChanged()

override void OnDamageStateChanged ( EDamageState newState,
EDamageState previousDamageState,
bool isJIP )
protected

Definition at line 60 of file SCR_WheelHitZone.c.

◆ OnInit()

override void OnInit ( IEntity pOwnerEntity,
GenericComponent pManagerComponent )
protected

Definition at line 45 of file SCR_WheelHitZone.c.

◆ PlayDestructionSound()

override void PlayDestructionSound ( EDamageState damageState)
protected

Definition at line 171 of file SCR_WheelHitZone.c.

◆ SetWheelIndex()

void SetWheelIndex ( int index)
protected
Parameters
index

Definition at line 77 of file SCR_WheelHitZone.c.

◆ UpdateDamageSignal()

void UpdateDamageSignal ( )
protected

Definition at line 149 of file SCR_WheelHitZone.c.

◆ UpdateWheelState()

void UpdateWheelState ( )
protected

Set wheel parameters when damage exceeds thresholds.

Definition at line 92 of file SCR_WheelHitZone.c.

◆ WakeUpPhysics()

void WakeUpPhysics ( )
protected

Wake physics up.

Definition at line 223 of file SCR_WheelHitZone.c.

Variable Documentation

◆ m_fDamagedDrag

float m_fDamagedDrag
protected

Definition at line 27 of file SCR_WheelHitZone.c.

◆ m_fDamagedLateralFrictionScale

float m_fDamagedLateralFrictionScale
protected

Definition at line 21 of file SCR_WheelHitZone.c.

◆ m_fDamagedLongitudinalFrictionScale

float m_fDamagedLongitudinalFrictionScale
protected

Definition at line 18 of file SCR_WheelHitZone.c.

◆ m_fDamagedRadiusScale

float m_fDamagedRadiusScale
protected

Definition at line 15 of file SCR_WheelHitZone.c.

◆ m_fDamagedRoughnessIncrease

float m_fDamagedRoughnessIncrease
protected

Definition at line 24 of file SCR_WheelHitZone.c.

◆ m_fDestroyedDrag

float m_fDestroyedDrag
protected

Definition at line 42 of file SCR_WheelHitZone.c.

◆ m_fDestroyedLateralFrictionScale

float m_fDestroyedLateralFrictionScale
protected

Definition at line 36 of file SCR_WheelHitZone.c.

◆ m_fDestroyedLongitudinalFrictionScale

float m_fDestroyedLongitudinalFrictionScale
protected

Definition at line 33 of file SCR_WheelHitZone.c.

◆ m_fDestroyedRadiusScale

float m_fDestroyedRadiusScale
protected

Definition at line 30 of file SCR_WheelHitZone.c.

◆ m_fDestroyedRoughnessIncrease

float m_fDestroyedRoughnessIncrease
protected

Definition at line 39 of file SCR_WheelHitZone.c.

◆ PUNCTURED

PUNCTURED = 3

Definition at line 0 of file SCR_WheelHitZone.c.