Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_DestructionFractalComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_DestructionFractalComponent
 Fractal destruction component. For objects that should shatter/splinter etc. More...
class  SCR_FractalVariation
class  SCR_FragmentHierarchyTitle
class  SCR_FragmentDebris
class  SCR_FragmentLinkage

Enumerations

enum  SCR_EFractalDestructionForceModel

Functions

enum SCR_EFractalDestructionForceModel ComponentEditorProps (category:"GameScripted/Destruction", description:"Fractal destruction component. For objects that should shatter/splinter etc")
SCR_DestructionFractalComponent SCR_DestructionDamageManagerComponent _WB_GetCustomTitle (BaseContainer source, out string title)
int CountFragments ()
bool GetFragmentIndexIsAnchor (int index)
ResourceName GetFragmentModel (int index, out bool isAnchor)
ResourceName GetFragmentDebrisModel (int index, out bool isAnchor)
class SCR_FragmentDebris BaseContainerProps ()
void Spawn (SCR_FragmentEntity fragment, Physics parentPhysics, float damage, vector hitDirection)
class SCR_FragmentDebris SCR_FragmentHierarchyTitle ()] class SCR_FragmentHierarchy

Variables

 FORCE_NONE = -1
 FORCE_UNFRACTURED
 FORCE_FRACTURED
ResourceName m_ModelNormal
ResourceName m_ModelDestroyed
ref array< ResourceNamem_aModelFragments
ref array< ResourceNamem_aModelAnchorFragments
ref array< ResourceNamem_aDebrisModelFragments
ref array< ResourceNamem_aDebrisModelAnchorFragments
ref SCR_FragmentHierarchy m_Hierarchy
float m_fMass
float m_fLifetimeMin
float m_fLifetimeMax
float m_fDistanceMax
int m_fPriority
float m_fDamageToImpulse
float m_fRandomVelocityLinear
float m_fRandomVelocityAngular

Enumeration Type Documentation

◆ SCR_EFractalDestructionForceModel

Function Documentation

◆ _WB_GetCustomTitle()

SCR_DestructionFractalComponent SCR_DestructionDamageManagerComponent _WB_GetCustomTitle ( BaseContainer source,
out string title )

Definition at line 1 of file SCR_DestructionFractalComponent.c.

◆ BaseContainerProps()

class SCR_FragmentDebris BaseContainerProps ( )

◆ ComponentEditorProps()

enum SCR_EFractalDestructionForceModel ComponentEditorProps ( category:"GameScripted/Destruction" ,
description:"Fractal destruction component. For objects that should shatter/splinter etc"  )

Definition at line 1 of file SCR_DestructionFractalComponent.c.

◆ CountFragments()

int _WB_GetCustomTitle::CountFragments ( )
protected
Returns
how many fragments are in the list (including anchor fragments)

Definition at line 1153 of file SCR_DestructionFractalComponent.c.

◆ GetFragmentDebrisModel()

ResourceName _WB_GetCustomTitle::GetFragmentDebrisModel ( int index,
out bool isAnchor )
protected
Parameters
[in]index
[out]isAnchor
Returns
the debris model to use for the input fragment index

Definition at line 1198 of file SCR_DestructionFractalComponent.c.

◆ GetFragmentIndexIsAnchor()

bool _WB_GetCustomTitle::GetFragmentIndexIsAnchor ( int index)
protected
Returns
whether the input fragment index is an anchor

Definition at line 1160 of file SCR_DestructionFractalComponent.c.

◆ GetFragmentModel()

ResourceName _WB_GetCustomTitle::GetFragmentModel ( int index,
out bool isAnchor )
protected
Parameters
[in]index
[out]isAnchor
Returns
the model to use for the input fragment index

Definition at line 1174 of file SCR_DestructionFractalComponent.c.

◆ SCR_FragmentHierarchyTitle()

class SCR_FragmentDebris SCR_FragmentHierarchyTitle ( )

Definition at line 1237 of file SCR_DestructionFractalComponent.c.

◆ Spawn()

void BaseContainerProps::Spawn ( SCR_FragmentEntity fragment,
Physics parentPhysics,
float damage,
vector hitDirection )
protected

Spawns the object

Parameters
[in]fragment
[in]parentPhysics
[in]damage
[in]hitDirection

Definition at line 30 of file SCR_DestructionFractalComponent.c.

Variable Documentation

◆ FORCE_FRACTURED

FORCE_FRACTURED

Definition at line 11 of file SCR_DestructionFractalComponent.c.

◆ FORCE_NONE

FORCE_NONE = -1

Definition at line 9 of file SCR_DestructionFractalComponent.c.

◆ FORCE_UNFRACTURED

FORCE_UNFRACTURED

Definition at line 10 of file SCR_DestructionFractalComponent.c.

◆ m_aDebrisModelAnchorFragments

ref array<ResourceName> m_aDebrisModelAnchorFragments
protected

Definition at line 1146 of file SCR_DestructionFractalComponent.c.

◆ m_aDebrisModelFragments

ref array<ResourceName> m_aDebrisModelFragments
protected

Definition at line 1143 of file SCR_DestructionFractalComponent.c.

◆ m_aModelAnchorFragments

ref array<ResourceName> m_aModelAnchorFragments
protected

Definition at line 1140 of file SCR_DestructionFractalComponent.c.

◆ m_aModelFragments

ref array<ResourceName> m_aModelFragments
protected

Definition at line 1137 of file SCR_DestructionFractalComponent.c.

◆ m_fDamageToImpulse

float m_fDamageToImpulse
protected

Definition at line 16 of file SCR_DestructionFractalComponent.c.

◆ m_fDistanceMax

float m_fDistanceMax
protected

Definition at line 10 of file SCR_DestructionFractalComponent.c.

◆ m_fLifetimeMax

float m_fLifetimeMax
protected

Definition at line 7 of file SCR_DestructionFractalComponent.c.

◆ m_fLifetimeMin

float m_fLifetimeMin
protected

Definition at line 4 of file SCR_DestructionFractalComponent.c.

◆ m_fMass

float m_fMass
protected

Definition at line 1 of file SCR_DestructionFractalComponent.c.

◆ m_fPriority

int m_fPriority
protected

Definition at line 13 of file SCR_DestructionFractalComponent.c.

◆ m_fRandomVelocityAngular

float m_fRandomVelocityAngular
protected

Definition at line 22 of file SCR_DestructionFractalComponent.c.

◆ m_fRandomVelocityLinear

float m_fRandomVelocityLinear
protected

Definition at line 19 of file SCR_DestructionFractalComponent.c.

◆ m_Hierarchy

ref SCR_FragmentHierarchy m_Hierarchy
protected

Definition at line 1149 of file SCR_DestructionFractalComponent.c.

◆ m_ModelDestroyed

ResourceName m_ModelDestroyed
protected

Definition at line 1134 of file SCR_DestructionFractalComponent.c.

◆ m_ModelNormal

ResourceName m_ModelNormal
protected

Definition at line 1131 of file SCR_DestructionFractalComponent.c.