|
void | EffBulletImpactBase () |
|
override void | OnCheckUpdate () |
|
void | SetEnterParticle (int id) |
|
void | SetExitParticle (int id) |
|
void | SetRicochetParticle (int id) |
|
void | SetSingleParticle (int id) |
|
void | SetAngledEnterValue (float f) |
|
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) |
|
void | OnEnterCalculations (Particle p) |
|
void | OnExitCalculations (Particle p, float outSpeedf) |
|
void | OnRicochetCalculations (Particle p, float outspeedf) |
|
void | OnEnterAngledCalculations (Particle p) |
|
override void | Event_OnStarted () |
|
Закрытые члены унаследованные от EffectParticle |
override EffectType | GetEffectType () |
| Get what type of effect the Effect is.
|
|
override bool | IsParticle () |
| Check whether the Effect is EffectParticle without casting.
|
|
void | SetParticle (Particle p) |
| Sets the main particle which this Effect will manage.
|
|
Particle | GetParticle () |
| Gets the main particle which this Effect is managing.
|
|
override void | Start () |
| Plays all elements this effect consists of.
|
|
override void | Stop () |
| Stops all elements this effect consists of.
|
|
void | AttachTo (Object obj, vector local_pos="0 0 0", vector local_ori="0 0 0", bool force_rotation_to_world=false) |
| Read Particle.AddAsChild.
|
|
void | ReAttach () |
| Helper method to attach to parent using stored settings.
|
|
void | AddAsChild (Object obj, vector local_pos, vector local_ori, bool force_rotation_to_world) |
| Helper method to attach to parent.
|
|
void | Event_OnPlayStart () |
| Event which just simply exists (DEPRECATED)
|
|
void | Event_OnPlayStarted () |
| Event which just simply exists (DEPRECATED)
|
|
void | SetParticleID (int id) |
| Sets the id of the particle to be used.
|
|
int | GetParticleID () |
| Gets the id of the particle to be used.
|
|
void | SetCurrentParticleID (int id) |
| Sets the id of the particle to be used.
|
|
int | GetCurrentParticleID () |
| Gets the current id of the managed Particle.
|
|
override void | SetCurrentParent (Object parent_obj, bool updateCached=true) |
| Set current parent of the managed Particle.
|
|
override Object | GetCurrentParent () |
| Get the current parent of the managed Particle.
|
|
override void | SetCurrentPosition (vector pos, bool updateCached=true) |
| Set the current world position of the managed Particle.
|
|
override vector | GetCurrentPosition () |
| Get the current world position of the managed Particle.
|
|
override void | SetCurrentLocalPosition (vector pos, bool updateCached=true) |
| Set the current local position of the managed Particle.
|
|
override vector | GetCurrentLocalPosition () |
| Get the current local position of the managed Particle.
|
|
void | SetOrientation (vector ori) |
| Set orientation of the EffectParticle.
|
|
vector | GetOrientation () |
| Get the orientation of the EffectParticle.
|
|
void | SetCurrentOrientation (vector ori, bool updateCached=true) |
| Set the current orientation of the managed Particle.
|
|
vector | GetCurrentOrientation () |
| Get the current orientation of the managed Particle.
|
|
void | ForceParticleRotationRelativeToWorld (bool state) |
| Set orientation setting to be used by the effect when the Effect starts.
|
|
bool | IsParticleRotationRelativeToWorld () |
| Get the orientation setting to be used by the effect when the Effect starts.
|
|
bool | IsParticleCurrentRotationRelativeToWorld () |
| Get the current orientation setting to be used by the managed Particle.
|
|
void | EffectParticle () |
| ctor
|
|
void | ~EffectParticle () |
| dtor
|
|
override void | InitEffect () |
| init
|
|
override string | GetDebugName () |
| Override when getting debug information.
|
|
override void | ValidateStart () |
| Validation whether an effect truly started playing or if the Effect should stop as none is present.
|
|
void | CheckLifeSpan () |
| Was never called and probably should never be called.
|
|
void | SetDecalOwner (Object o) |
|
222 {
226
228
230 {
232
234 {
238
240 }
241 }
242 else
243 {
245
247 {
249 {
252 }
253 else
254 {
256 }
257
259
261 }
262
264 {
266
268 {
272
274 }
275 }
276 else
277 {
279 {
283
285
287 {
289
291 {
295
297 }
298 }
299 }
300 }
301 }
302
304 {
306 }
307
308
309
310
312 {
315
316
318
319
324
326 {
328
332
338 }
339 }
340 }
DayZGame GetDayZGame()
Definition DayZGame.c:3748
string Type
Definition JsonDataContaminatedArea.c:11
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Definition ParticleManager.c:84
void OnEnterCalculations(Particle p)
Definition BulletImpactBase.c:102
void OnEnterAngledCalculations(Particle p)
Definition BulletImpactBase.c:199
int m_ParticleRicochet
Definition BulletImpactBase.c:26
int m_ParticleExit
Definition BulletImpactBase.c:25
int m_ParticleEnter
Definition BulletImpactBase.c:24
void OnExitCalculations(Particle p, float outSpeedf)
Definition BulletImpactBase.c:155
float m_AngledEnter
Definition BulletImpactBase.c:33
static vector INVALID
Definition BulletImpactBase.c:21
void OnRicochetCalculations(Particle p, float outspeedf)
Definition BulletImpactBase.c:177
void SetParticle(Particle p)
Sets the main particle which this Effect will manage.
Definition EffectParticle.c:134
Definition Hit_MeatBones.c:2
Legacy way of using particles in the game.
Definition Particle.c:7
Definition ParticleList.c:12
static const int IMPACT_DISTANT_DUST
Definition ParticleList.c:193
Definition EnConvert.c:106
proto vector Normalized()
return normalized vector (keeps orginal vector untouched)
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto vector VectorToAngles()
Converts vector to spherical coordinates with radius = 1.
static float Dot(vector v1, vector v2)
Returns Dot product of vector v1 and vector v2.
Definition EnConvert.c:271
EmitorParam
Definition EnVisual.c:114
Перекрестные ссылки vector::Distance(), vector::Dot(), GetDayZGame(), GetGame(), ParticleList::IMPACT_DISTANT_DUST, INVALID, vector::Length(), m_AngledEnter, m_ExitPos, m_ImpactType, m_InSpeed, m_OutSpeed, m_ParticleEnter, m_ParticleExit, m_ParticleRicochet, m_Pos, m_SurfNormal, vector::Normalized(), OnEnterAngledCalculations(), OnEnterCalculations(), OnExitCalculations(), OnRicochetCalculations(), ParticleManager(), EffectParticle::SetParticle(), Type и vector::VectorToAngles().