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 | EVehicleHitZoneGroup : EHitZoneGroup |
enum | SCR_EPhysicsResponseIndex { NORMAL = 0, TINY_MOMENTUM = 1, SMALL_MOMENTUM = 2, MEDIUM_MOMENTUM = 3, LARGE_MOMENTUM = 4, HUGE_MOMENTUM = 5, TINY_DESTRUCTIBLE = 6, SMALL_DESTRUCTIBLE = 7, MEDIUM_DESTRUCTIBLE = 8, LARGE_DESTRUCTIBLE = 9, HUGE_DESTRUCTIBLE = 10 } |
Functions | |
enum EVehicleHitZoneGroup EHitZoneGroup | Attribute ("1.5", desc:"Max distance of hitzone, which should receive damage, from contact point.", category:"Collision Damage")] protected float m_fMaxSharedDamageDistance |
float | GetMaxSharedDamageDistance () |
float | GetFrontMultiplier () |
float | GetBottomMultiplier () |
float | GetRearMultiplier () |
float | GetLeftMultiplier () |
float | GetRightMultiplier () |
float | GetTopMultiplier () |
float | GetOccupantsDamageSpeedThreshold () |
float | GetOccupantsSpeedDeath () |
vector | GetFrontalImpact () |
void | SCR_VehicleDamageManagerComponentClass (BaseContainer prefab) |
SCR_VehicleDamageManagerComponentClass | GetPrefabData () |
float | GetSideDamageMultiplier (SCR_EBoxSide side) |
bool | IsInContact () |
override void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
void | RegisterVehicleHitZone (notnull HitZone hitZone) |
void | UnregisterVehicleHitZone (HitZone hitZone) |
void | UpdateVehicleState () |
void | UpdateMovementDamage () |
bool | GetEngineFunctional () |
protected void | SetEngineFunctional (bool functional) |
float | GetEngineMalfunctionThreshold () |
float | GetEngineEfficiency () |
protected void | SetEngineEfficiency (float efficiency) |
protected void | SetGearboxFunctional (bool functional) |
bool | GetGearboxFunctional () |
float | GetGearboxEfficiency () |
protected void | SetGearboxEfficiency (float efficiency) |
float | DamageSurroundingHitzones (vector position, float damage, EDamageType damageType) |
SCR_EBoxSide | GetHitDirection (vector position) |
override bool | OnContact (IEntity owner, IEntity other, Contact contact) |
Must be first enabled with event mask. More... | |
bool | CollisionDamage (notnull IEntity owner, notnull IEntity other, notnull Contact contact) |
override void | OnDamageStateChanged (EDamageState state) |
Update buoyancy loss rate. More... | |
override bool | CanBeHealed () |
Return true if there is damage that can be repaired. More... | |
override void | FullHeal (bool ignoreHealingDOT=true) |
void | TickResponseIndexCheck () |
protected void | RPC_OnPhysicsActive (bool activeState) |
void | ToggleResponseIndexTicking (IEntity owner, bool activeState) |
void | EOnPhysicsActive (IEntity owner, bool activeState) |
void | RegisterFlammableHitZone (notnull SCR_FlammableHitZone hitZone) |
void | UnregisterFlammableHitZone (notnull SCR_FlammableHitZone hitZone) |
override void | UpdateFireDamage (float timeSlice) |
protected void | OnVehicleFireStateChanged () |
protected void | SetVehicleFireState (SCR_ESecondaryExplosionScale state, vector origin=vector.Zero) |
protected void | OnFuelTankFireStateChanged () |
protected void | SetFuelTankFireState (SCR_ESecondaryExplosionScale state, vector origin=vector.Zero) |
protected void | OnSuppliesFireStateChanged () |
protected void | SetSuppliesFireState (SCR_ESecondaryExplosionScale state, vector origin=vector.Zero) |
protected void | UpdateVehicleFireState (out float fireRate, float timeSlice) |
protected void | UpdateFuelTankFireState (float fireRate, float timeSlice) |
protected void | UpdateSuppliesFireState (float fireRate, float timeSlice) |
float | GetMinImpulse () |
void | InitStaticMapForIndices () |
void | SCR_VehicleDamageManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
enum EVehicleHitZoneGroup : EHitZoneGroup |
Definition at line 1 of file SCR_VehicleDamageManagerComponent.c.
Enumerator | |
---|---|
NORMAL | |
TINY_MOMENTUM | |
SMALL_MOMENTUM | |
MEDIUM_MOMENTUM | |
LARGE_MOMENTUM | |
HUGE_MOMENTUM | |
TINY_DESTRUCTIBLE | |
SMALL_DESTRUCTIBLE | |
MEDIUM_DESTRUCTIBLE | |
LARGE_DESTRUCTIBLE | |
HUGE_DESTRUCTIBLE |
Definition at line 133 of file SCR_VehicleDamageManagerComponent.c.
enum EVehicleHitZoneGroup EHitZoneGroup Attribute | ( | "1.5" | , |
desc:"Max distance of | hitzone, | ||
which should receive | damage, | ||
from contact point." | , | ||
category:"Collision Damage" | |||
) |
override bool CanBeHealed | ( | ) |
Return true if there is damage that can be repaired.
Definition at line 1274 of file SCR_VehicleDamageManagerComponent.c.
bool CollisionDamage | ( | notnull IEntity | owner, |
notnull IEntity | other, | ||
notnull Contact | contact | ||
) |
[in] | owner | |
[in] | other | |
[in] | contact |
Definition at line 1102 of file SCR_VehicleDamageManagerComponent.c.
float DamageSurroundingHitzones | ( | vector | position, |
float | damage, | ||
EDamageType | damageType | ||
) |
[in] | position | |
[in] | damage | |
[in] | damageType |
Definition at line 665 of file SCR_VehicleDamageManagerComponent.c.
void EOnPhysicsActive | ( | IEntity | owner, |
bool | activeState | ||
) |
[in] | owner | |
[in] | activeState |
Definition at line 1385 of file SCR_VehicleDamageManagerComponent.c.
override void FullHeal | ( | bool | ignoreHealingDOT = true | ) |
Fix all the damage
[in] | ignoreHealingDOT |
Definition at line 1300 of file SCR_VehicleDamageManagerComponent.c.
float GetBottomMultiplier | ( | ) |
Definition at line 73 of file SCR_VehicleDamageManagerComponent.c.
float GetEngineEfficiency | ( | ) |
Definition at line 578 of file SCR_VehicleDamageManagerComponent.c.
bool GetEngineFunctional | ( | ) |
Definition at line 542 of file SCR_VehicleDamageManagerComponent.c.
float GetEngineMalfunctionThreshold | ( | ) |
Definition at line 571 of file SCR_VehicleDamageManagerComponent.c.
vector GetFrontalImpact | ( | ) |
Definition at line 122 of file SCR_VehicleDamageManagerComponent.c.
float GetFrontMultiplier | ( | ) |
Definition at line 66 of file SCR_VehicleDamageManagerComponent.c.
float GetGearboxEfficiency | ( | ) |
Definition at line 635 of file SCR_VehicleDamageManagerComponent.c.
bool GetGearboxFunctional | ( | ) |
Definition at line 628 of file SCR_VehicleDamageManagerComponent.c.
SCR_EBoxSide GetHitDirection | ( | vector | position | ) |
float GetLeftMultiplier | ( | ) |
Definition at line 87 of file SCR_VehicleDamageManagerComponent.c.
float GetMaxSharedDamageDistance | ( | ) |
Definition at line 59 of file SCR_VehicleDamageManagerComponent.c.
float GetMinImpulse | ( | ) |
Definition at line 1699 of file SCR_VehicleDamageManagerComponent.c.
float GetOccupantsDamageSpeedThreshold | ( | ) |
Definition at line 108 of file SCR_VehicleDamageManagerComponent.c.
float GetOccupantsSpeedDeath | ( | ) |
Definition at line 115 of file SCR_VehicleDamageManagerComponent.c.
SCR_VehicleDamageManagerComponentClass GetPrefabData | ( | ) |
Definition at line 260 of file SCR_VehicleDamageManagerComponent.c.
float GetRearMultiplier | ( | ) |
Definition at line 80 of file SCR_VehicleDamageManagerComponent.c.
float GetRightMultiplier | ( | ) |
Definition at line 94 of file SCR_VehicleDamageManagerComponent.c.
float GetSideDamageMultiplier | ( | SCR_EBoxSide | side | ) |
float GetTopMultiplier | ( | ) |
Definition at line 101 of file SCR_VehicleDamageManagerComponent.c.
void InitStaticMapForIndices | ( | ) |
Definition at line 1706 of file SCR_VehicleDamageManagerComponent.c.
bool IsInContact | ( | ) |
Definition at line 402 of file SCR_VehicleDamageManagerComponent.c.
override bool OnContact | ( | IEntity | owner, |
IEntity | other, | ||
Contact | contact | ||
) |
Must be first enabled with event mask.
Definition at line 1078 of file SCR_VehicleDamageManagerComponent.c.
override void OnDamageStateChanged | ( | EDamageState | state | ) |
Update buoyancy loss rate.
Definition at line 1257 of file SCR_VehicleDamageManagerComponent.c.
protected void OnFuelTankFireStateChanged | ( | ) |
Definition at line 1480 of file SCR_VehicleDamageManagerComponent.c.
protected void OnSuppliesFireStateChanged | ( | ) |
Definition at line 1502 of file SCR_VehicleDamageManagerComponent.c.
protected void OnVehicleFireStateChanged | ( | ) |
Definition at line 1460 of file SCR_VehicleDamageManagerComponent.c.
void RegisterFlammableHitZone | ( | notnull SCR_FlammableHitZone | hitZone | ) |
[in] | hitZone |
Definition at line 1427 of file SCR_VehicleDamageManagerComponent.c.
void RegisterVehicleHitZone | ( | notnull HitZone | hitZone | ) |
[in] | hitZone |
Definition at line 448 of file SCR_VehicleDamageManagerComponent.c.
protected void RPC_OnPhysicsActive | ( | bool | activeState | ) |
Definition at line 1364 of file SCR_VehicleDamageManagerComponent.c.
void SCR_VehicleDamageManagerComponent | ( | IEntityComponentSource | src, |
IEntity | ent, | ||
IEntity | parent | ||
) |
[in] | src | |
[in] | ent | |
[in] | parent |
Definition at line 1720 of file SCR_VehicleDamageManagerComponent.c.
void SCR_VehicleDamageManagerComponentClass | ( | BaseContainer | prefab | ) |
[in] | prefab |
protected void SetEngineEfficiency | ( | float | efficiency | ) |
Definition at line 584 of file SCR_VehicleDamageManagerComponent.c.
protected void SetEngineFunctional | ( | bool | functional | ) |
Definition at line 548 of file SCR_VehicleDamageManagerComponent.c.
protected void SetFuelTankFireState | ( | SCR_ESecondaryExplosionScale | state, |
vector | origin = vector.Zero |
||
) |
Definition at line 1489 of file SCR_VehicleDamageManagerComponent.c.
protected void SetGearboxEfficiency | ( | float | efficiency | ) |
Definition at line 641 of file SCR_VehicleDamageManagerComponent.c.
protected void SetGearboxFunctional | ( | bool | functional | ) |
Definition at line 609 of file SCR_VehicleDamageManagerComponent.c.
protected void SetSuppliesFireState | ( | SCR_ESecondaryExplosionScale | state, |
vector | origin = vector.Zero |
||
) |
Definition at line 1511 of file SCR_VehicleDamageManagerComponent.c.
protected void SetVehicleFireState | ( | SCR_ESecondaryExplosionScale | state, |
vector | origin = vector.Zero |
||
) |
Definition at line 1467 of file SCR_VehicleDamageManagerComponent.c.
void TickResponseIndexCheck | ( | ) |
Definition at line 1328 of file SCR_VehicleDamageManagerComponent.c.
void ToggleResponseIndexTicking | ( | IEntity | owner, |
bool | activeState | ||
) |
[in] | owner | |
[in] | activeState |
Definition at line 1373 of file SCR_VehicleDamageManagerComponent.c.
void UnregisterFlammableHitZone | ( | notnull SCR_FlammableHitZone | hitZone | ) |
[in] | hitZone |
Definition at line 1438 of file SCR_VehicleDamageManagerComponent.c.
void UnregisterVehicleHitZone | ( | HitZone | hitZone | ) |
[in] | hitZone |
Definition at line 459 of file SCR_VehicleDamageManagerComponent.c.
override void UpdateFireDamage | ( | float | timeSlice | ) |
Definition at line 1448 of file SCR_VehicleDamageManagerComponent.c.
protected void UpdateFuelTankFireState | ( | float | fireRate, |
float | timeSlice | ||
) |
Definition at line 1546 of file SCR_VehicleDamageManagerComponent.c.
void UpdateMovementDamage | ( | ) |
Definition at line 524 of file SCR_VehicleDamageManagerComponent.c.
protected void UpdateSuppliesFireState | ( | float | fireRate, |
float | timeSlice | ||
) |
Definition at line 1614 of file SCR_VehicleDamageManagerComponent.c.
protected void UpdateVehicleFireState | ( | out float | fireRate, |
float | timeSlice | ||
) |
Definition at line 1524 of file SCR_VehicleDamageManagerComponent.c.
void UpdateVehicleState | ( | ) |
Compute current simulation state of vehicle Called when hit zone damage states change
Definition at line 467 of file SCR_VehicleDamageManagerComponent.c.
category __pad0__ |
Definition at line 158 of file SCR_VehicleDamageManagerComponent.c.
category __pad1__ |
Definition at line 161 of file SCR_VehicleDamageManagerComponent.c.
category __pad2__ |
Definition at line 164 of file SCR_VehicleDamageManagerComponent.c.
category __pad3__ |
Definition at line 167 of file SCR_VehicleDamageManagerComponent.c.
params __pad4__ |
Definition at line 179 of file SCR_VehicleDamageManagerComponent.c.
params __pad5__ |
Definition at line 182 of file SCR_VehicleDamageManagerComponent.c.
params __pad6__ |
Definition at line 185 of file SCR_VehicleDamageManagerComponent.c.
AMMO_STORAGE = 70 |
Definition at line 8 of file SCR_VehicleDamageManagerComponent.c.
CARGO = 60 |
Definition at line 7 of file SCR_VehicleDamageManagerComponent.c.
params category |
CONTROLS = 150 |
Definition at line 18 of file SCR_VehicleDamageManagerComponent.c.
DRIVE_TRAIN = 30 |
Definition at line 4 of file SCR_VehicleDamageManagerComponent.c.
ENGINE = 20 |
Definition at line 3 of file SCR_VehicleDamageManagerComponent.c.
FUEL_TANKS = 40 |
Definition at line 5 of file SCR_VehicleDamageManagerComponent.c.
HULL = 10 |
Definition at line 2 of file SCR_VehicleDamageManagerComponent.c.
INSTRUMENTS = 140 |
Definition at line 17 of file SCR_VehicleDamageManagerComponent.c.
LANDING_GEAR = 120 |
Definition at line 15 of file SCR_VehicleDamageManagerComponent.c.
LIGHT = 160 |
Definition at line 19 of file SCR_VehicleDamageManagerComponent.c.
protected ref array<SCR_FlammableHitZone> m_aFlammableHitZones |
Definition at line 207 of file SCR_VehicleDamageManagerComponent.c.
protected ref array<HitZone> m_aVehicleHitZones = {} |
Common vehicle features that will influence its simulation.
Definition at line 196 of file SCR_VehicleDamageManagerComponent.c.
protected bool m_bEngineFunctional = true |
Definition at line 201 of file SCR_VehicleDamageManagerComponent.c.
protected bool m_bGearboxFunctional = true |
Definition at line 204 of file SCR_VehicleDamageManagerComponent.c.
protected bool m_bIsInContact |
Definition at line 188 of file SCR_VehicleDamageManagerComponent.c.
protected bool m_bPrintRelativeForce |
Definition at line 156 of file SCR_VehicleDamageManagerComponent.c.
protected SCR_BaseCompartmentManagerComponent m_CompartmentManager |
Definition at line 191 of file SCR_VehicleDamageManagerComponent.c.
protected CompartmentControllerComponent m_Controller |
Definition at line 197 of file SCR_VehicleDamageManagerComponent.c.
SCR_ESecondaryExplosionScale m_eFuelTankFireState |
Definition at line 234 of file SCR_VehicleDamageManagerComponent.c.
SCR_ESecondaryExplosionScale m_eSuppliesFireState |
Definition at line 237 of file SCR_VehicleDamageManagerComponent.c.
SCR_ESecondaryExplosionScale m_eVehicleFireState |
Definition at line 231 of file SCR_VehicleDamageManagerComponent.c.
float m_fBottomMultiplier |
Definition at line 34 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fEngineEfficiency = 1 |
Definition at line 200 of file SCR_VehicleDamageManagerComponent.c.
float m_fFrontMultiplier |
Definition at line 31 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fFuelTankFireDamageTimeout |
Definition at line 216 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fGearboxEfficiency = 1 |
Definition at line 203 of file SCR_VehicleDamageManagerComponent.c.
float m_fLeftMultiplier |
Definition at line 40 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fMaxRelativeForce |
Definition at line 189 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fMinImpulse |
Definition at line 190 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fOccupantsDamageSpeedThreshold |
Definition at line 49 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fOccupantsSpeedDeath |
Definition at line 52 of file SCR_VehicleDamageManagerComponent.c.
float m_fRearMultiplier |
Definition at line 37 of file SCR_VehicleDamageManagerComponent.c.
float m_fRightMultiplier |
Definition at line 43 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fSuppliesFireDamageTimeout |
Definition at line 220 of file SCR_VehicleDamageManagerComponent.c.
float m_fTopMultiplier |
Definition at line 46 of file SCR_VehicleDamageManagerComponent.c.
protected FuelManagerComponent m_FuelManager |
Definition at line 215 of file SCR_VehicleDamageManagerComponent.c.
protected ParticleEffectEntity m_FuelTankFireParticle |
Definition at line 214 of file SCR_VehicleDamageManagerComponent.c.
protected float m_fVehicleFireDamageTimeout |
Definition at line 211 of file SCR_VehicleDamageManagerComponent.c.
protected int m_iFuelTankFireStateSignalIdx |
Definition at line 224 of file SCR_VehicleDamageManagerComponent.c.
protected SCR_ImpactEffectComponent m_ImpactEffectComponent |
Definition at line 228 of file SCR_VehicleDamageManagerComponent.c.
protected int m_iSuppliesFireStateSignalIdx |
Definition at line 225 of file SCR_VehicleDamageManagerComponent.c.
protected int m_iVehicleFireStateSignalIdx |
Definition at line 223 of file SCR_VehicleDamageManagerComponent.c.
protected string m_sFuelTankFireStateSignal |
Definition at line 174 of file SCR_VehicleDamageManagerComponent.c.
protected SignalsManagerComponent m_SignalsManager |
Definition at line 208 of file SCR_VehicleDamageManagerComponent.c.
protected VehicleBaseSimulation m_Simulation |
Definition at line 198 of file SCR_VehicleDamageManagerComponent.c.
protected string m_sSuppliesFireStateSignal |
Definition at line 177 of file SCR_VehicleDamageManagerComponent.c.
protected ParticleEffectEntity m_SuppliesFireParticle |
Definition at line 219 of file SCR_VehicleDamageManagerComponent.c.
protected string m_sVehicleFireStateSignal |
Definition at line 171 of file SCR_VehicleDamageManagerComponent.c.
protected vector m_vFrontalImpact |
Definition at line 55 of file SCR_VehicleDamageManagerComponent.c.
protected vector m_vFuelTankFireOrigin |
Definition at line 243 of file SCR_VehicleDamageManagerComponent.c.
protected vector m_vSuppliesFireOrigin |
Definition at line 246 of file SCR_VehicleDamageManagerComponent.c.
protected vector m_vVehicleFireOrigin |
Definition at line 240 of file SCR_VehicleDamageManagerComponent.c.
const protected int MAX_RESPONSE_INDEX = SCR_EPhysicsResponseIndex.HUGE_MOMENTUM |
Definition at line 151 of file SCR_VehicleDamageManagerComponent.c.
enum SCR_EPhysicsResponseIndex MIN_RESPONSE_INDEX = SCR_EPhysicsResponseIndex.TINY_MOMENTUM |
NIGHT_OPTICS = 91 |
Definition at line 11 of file SCR_VehicleDamageManagerComponent.c.
OPTICS = 90 |
Definition at line 10 of file SCR_VehicleDamageManagerComponent.c.
PROPELLER = 130 |
Definition at line 16 of file SCR_VehicleDamageManagerComponent.c.
ROTOR_ASSEMBLY = 110 |
Definition at line 13 of file SCR_VehicleDamageManagerComponent.c.
TAIL_ROTOR = 111 |
Definition at line 14 of file SCR_VehicleDamageManagerComponent.c.
TURRET = 80 |
Definition at line 9 of file SCR_VehicleDamageManagerComponent.c.
VIEWPORT = 100 |
Definition at line 12 of file SCR_VehicleDamageManagerComponent.c.
WHEELS = 50 |
Definition at line 6 of file SCR_VehicleDamageManagerComponent.c.