DIFF

class EffBulletImpactBaseSource

EffBulletImpactBase EffectParticle Effect Managed

All members, including inherited

Constructors 1

void EffBulletImpactBase()

Constants 2

static const int SURVIVOR_HEAD = 0

Head component

static const int INFECTED_HEAD = 3

Head component

Members 22

float m_Weight

projectile weight in kg

Referenced by EvaluateEffect()
int m_ComponentIndex
Referenced by EvaluateEffect()
static vector INVALID = "0 0 0"
Referenced by Event_OnStarted()
int m_ParticleEnter = -1
int m_ParticleExit = -1
int m_ParticleRicochet = -1
float m_RicochetSplashCoef = 0.002
float m_EnterAngledSplashCoef = 0.01

Methods 13

override void OnCheckUpdate()
void SetAngledEnterValue(float f)
References m_AngledEnter
void EvaluateEffect(Object directHit, int componentIndex, vector pos, int impact_type, vector surfNormal, vector exitPos, vector inSpeed, vector outSpeed, string ammoType)
float CalculateStoppingForce(float in_speedf, float out_speedf, string ammoType, float weight)
Referenced by EvaluateEffect()
void OnEnterCalculations(Particle p)
Referenced by Event_OnStarted()
void OnExitCalculations(Particle p, float outSpeedf)
Referenced by Event_OnStarted()
void OnRicochetCalculations(Particle p, float outspeedf)
Referenced by Event_OnStarted()
void OnEnterAngledCalculations(Particle p)
Referenced by Event_OnStarted()