![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Enumerations | |
| enum | SCR_ERotorDamageState : EDamageState |
Functions | |
| enum SCR_ERotorDamageState EDamageState | Attribute (defvalue:"-1", uiwidget:UIWidgets.Auto, desc:"Rotor ID", category:"Rotor Damage")] protected int m_iRotorId |
| override void | OnInit (IEntity pOwnerEntity, GenericComponent pManagerComponent) |
| override float | ComputeEffectiveDamage (notnull BaseDamageContext damageContext, bool isDOT) |
| float | RotorHitChance (vector hitTransform[3]) |
| Calculates the chance the rotor was hit by a bullet between 0 and 1. More... | |
| override void | OnDamageStateChanged () |
| float | GetRotorRadius () |
| int | GetBladeCount () |
| PointInfo | GetPointInfo () |
| int | GetRotorIndex () |
| void | SetRotorIndex (int id) |
| Register rotor hitzone with damage manager. More... | |
| void | UpdateRotorState () |
| float | GetEfficiency () |
| Set wheel parameters when damage exceeds thresholds. More... | |
| bool | IsSpinning () |
| Check if rotor is spinning. More... | |
| bool | HasCollision (vector worldPosition) |
| Check if world position is within rotor disc. More... | |
Variables | |
| MINOR = 3 | |
| MAJOR = 4 | |
| CRITICAL = 5 | |
| protected ref PointInfo | m_RotorPointInfo |
| params | __pad0__ |
| params | category |
| params | __pad1__ |
| params | __pad2__ |
| protected int | m_iBladeCount |
| protected float | m_fEfficiencyMinor |
| protected float | m_fEfficiencyMajor |
| protected float | m_fEfficiencyCritical |
| protected VehicleHelicopterSimulation | m_Simulation |
Definition at line 1 of file SCR_RotorHitZone.c.
| enum SCR_ERotorDamageState EDamageState Attribute | ( | defvalue:"-1" | , |
| uiwidget:UIWidgets. | Auto, | ||
| desc:"Rotor ID" | , | ||
| category:"Rotor Damage" | |||
| ) |
| override float ComputeEffectiveDamage | ( | notnull BaseDamageContext | damageContext, |
| bool | isDOT | ||
| ) |
Calculates the amount of damage a hitzone will receive.
| damageType | - damage type |
| rawDamage | - incoming damage, without any modifiers taken into account |
| hitEntity | - damaged entity |
| struckHitZone | - hitzone to damage |
| damageSource | - projectile |
| damageSourceGunner | - damage source instigator |
| damageSourceParent | - damage source parent entity (soldier, vehicle) |
| hitMaterial | - hit surface physics material |
| colliderID | - collider ID - if it exists |
| hitTransform | - hit position, direction and normal |
| impactVelocity | - projectile velocity in time of impact |
| nodeID | - bone index in mesh obj |
| isDOT | - true if this is a calculation for DamageOverTime |
Definition at line 67 of file SCR_RotorHitZone.c.
| int GetBladeCount | ( | ) |
Definition at line 113 of file SCR_RotorHitZone.c.
| float GetEfficiency | ( | ) |
Set wheel parameters when damage exceeds thresholds.
Definition at line 162 of file SCR_RotorHitZone.c.
| PointInfo GetPointInfo | ( | ) |
Definition at line 120 of file SCR_RotorHitZone.c.
| int GetRotorIndex | ( | ) |
Definition at line 126 of file SCR_RotorHitZone.c.
| float GetRotorRadius | ( | ) |
Definition at line 107 of file SCR_RotorHitZone.c.
| bool HasCollision | ( | vector | worldPosition | ) |
Check if world position is within rotor disc.
Definition at line 188 of file SCR_RotorHitZone.c.
| bool IsSpinning | ( | ) |
Check if rotor is spinning.
Definition at line 181 of file SCR_RotorHitZone.c.
| override void OnDamageStateChanged | ( | ) |
Definition at line 99 of file SCR_RotorHitZone.c.
| override void OnInit | ( | IEntity | pOwnerEntity, |
| GenericComponent | pManagerComponent | ||
| ) |
Definition at line 40 of file SCR_RotorHitZone.c.
| float RotorHitChance | ( | vector | hitTransform[3] | ) |
Calculates the chance the rotor was hit by a bullet between 0 and 1.
Definition at line 79 of file SCR_RotorHitZone.c.
| void SetRotorIndex | ( | int | id | ) |
Register rotor hitzone with damage manager.
Definition at line 133 of file SCR_RotorHitZone.c.
| void UpdateRotorState | ( | ) |
Definition at line 149 of file SCR_RotorHitZone.c.
| params __pad0__ |
Definition at line 16 of file SCR_RotorHitZone.c.
| params __pad1__ |
Definition at line 19 of file SCR_RotorHitZone.c.
| params __pad2__ |
Definition at line 22 of file SCR_RotorHitZone.c.
| params category |
Definition at line 17 of file SCR_RotorHitZone.c.
| @ CRITICAL = 5 |
Definition at line 4 of file SCR_RotorHitZone.c.
| protected float m_fEfficiencyCritical |
Definition at line 35 of file SCR_RotorHitZone.c.
| protected float m_fEfficiencyMajor |
Definition at line 32 of file SCR_RotorHitZone.c.
| protected float m_fEfficiencyMinor |
Definition at line 29 of file SCR_RotorHitZone.c.
| protected int m_iBladeCount |
Definition at line 26 of file SCR_RotorHitZone.c.
| protected ref PointInfo m_RotorPointInfo |
Definition at line 14 of file SCR_RotorHitZone.c.
| protected VehicleHelicopterSimulation m_Simulation |
Definition at line 37 of file SCR_RotorHitZone.c.
| @ MAJOR = 4 |
Definition at line 3 of file SCR_RotorHitZone.c.
| MINOR = 3 |
Definition at line 2 of file SCR_RotorHitZone.c.