Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_ImpactEffectComponentClass |
Functions | |
protected array< ResourceName > | GetDefaultParticles () |
protected array< ResourceName > | GetWaterParticles () |
protected void | ResetContactsDelayed () |
void | OnImpact (notnull IEntity other, notnull Contact contact) |
protected void | OnWaterEnter () |
protected void | EmitParticles (vector transform[4], ResourceName particleResource) |
protected void | PlaySound (string soundEvent) |
protected void | RPC_OnImpactBroadcast (vector contactPos, vector contactNormal, int magnitude) |
protected void | RPC_OnWaterEnterBroadcast (vector transform[4], int magnitude) |
protected bool | TraceFilter (notnull IEntity e) |
override void | EOnInit (IEntity owner) |
Initialise this component with data from FactionsManager. More... | |
override void | OnPostInit (IEntity owner) |
Editable Mine. More... | |
Variables | |
SCR_ImpactEffectComponentClass | m_ParticleSpawnParams |
protected SoundComponent | m_SoundComponent |
const protected float | MIN_TINY_IMPULSE = 2500 |
const protected float | MIN_SMALL_IMPULSE = 5000 |
const protected float | MIN_MEDIUM_IMPULSE = 10000 |
const protected float | MIN_BIG_IMPULSE = 20000 |
const protected float | MIN_HUGE_IMPULSE = 40000 |
const protected ref array< string > | WATER_SOUNDS = {SCR_SoundEvent.SOUND_VEHICLE_WATER_SMALL, SCR_SoundEvent.SOUND_VEHICLE_WATER_MEDIUM, SCR_SoundEvent.SOUND_VEHICLE_WATER_BIG, SCR_SoundEvent.SOUND_VEHICLE_WATER_BIG} |
const protected int | MAX_CALLS_PER_CONTACT = 1 |
const protected float | RESET_TIME = 1000 |
protected int | m_iCachedContactCalls |
protected void EmitParticles | ( | vector | transform[4], |
ResourceName | particleResource | ||
) |
Definition at line 148 of file SCR_ImpactEffectComponent.c.
protected array<ResourceName> GetDefaultParticles | ( | ) |
Definition at line 29 of file SCR_ImpactEffectComponent.c.
protected array<ResourceName> GetWaterParticles | ( | ) |
Definition at line 35 of file SCR_ImpactEffectComponent.c.
void OnImpact | ( | notnull IEntity | other, |
notnull Contact | contact | ||
) |
Definition at line 47 of file SCR_ImpactEffectComponent.c.
protected void OnWaterEnter | ( | ) |
Definition at line 97 of file SCR_ImpactEffectComponent.c.
protected void PlaySound | ( | string | soundEvent | ) |
Definition at line 158 of file SCR_ImpactEffectComponent.c.
protected void ResetContactsDelayed | ( | ) |
Definition at line 41 of file SCR_ImpactEffectComponent.c.
protected void RPC_OnImpactBroadcast | ( | vector | contactPos, |
vector | contactNormal, | ||
int | magnitude | ||
) |
Definition at line 168 of file SCR_ImpactEffectComponent.c.
protected void RPC_OnWaterEnterBroadcast | ( | vector | transform[4], |
int | magnitude | ||
) |
Definition at line 193 of file SCR_ImpactEffectComponent.c.
protected bool TraceFilter | ( | notnull IEntity | e | ) |
Definition at line 206 of file SCR_ImpactEffectComponent.c.
protected int m_iCachedContactCalls |
Definition at line 26 of file SCR_ImpactEffectComponent.c.
SCR_ImpactEffectComponentClass m_ParticleSpawnParams |
protected SoundComponent m_SoundComponent |
Definition at line 13 of file SCR_ImpactEffectComponent.c.
const protected int MAX_CALLS_PER_CONTACT = 1 |
Definition at line 23 of file SCR_ImpactEffectComponent.c.
const protected float MIN_BIG_IMPULSE = 20000 |
Definition at line 18 of file SCR_ImpactEffectComponent.c.
const protected float MIN_HUGE_IMPULSE = 40000 |
Definition at line 19 of file SCR_ImpactEffectComponent.c.
const protected float MIN_MEDIUM_IMPULSE = 10000 |
Definition at line 17 of file SCR_ImpactEffectComponent.c.
const protected float MIN_SMALL_IMPULSE = 5000 |
Definition at line 16 of file SCR_ImpactEffectComponent.c.
const protected float MIN_TINY_IMPULSE = 2500 |
Definition at line 15 of file SCR_ImpactEffectComponent.c.
const protected float RESET_TIME = 1000 |
Definition at line 24 of file SCR_ImpactEffectComponent.c.
const protected ref array<string> WATER_SOUNDS = {SCR_SoundEvent.SOUND_VEHICLE_WATER_SMALL, SCR_SoundEvent.SOUND_VEHICLE_WATER_MEDIUM, SCR_SoundEvent.SOUND_VEHICLE_WATER_BIG, SCR_SoundEvent.SOUND_VEHICLE_WATER_BIG} |
Definition at line 21 of file SCR_ImpactEffectComponent.c.