![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_DamageManagerComponentClass |
Functions | |
| SCR_DamageManagerComponentClass DamageManagerComponentClass | Attribute (defvalue:SCR_EBurningState.SMOKING_LIGHT.ToString(), uiwidget:UIWidgets.ComboBox, desc:"State from which vehicle will be considered on fire thus players will be able to extinguish it", enums:ParamEnumArray.FromEnum(SCR_EBurningState))] protected SCR_EBurningState m_iMinimumBurningState |
| SCR_SecondaryExplosions | GetSecondaryExplosions () |
| SCR_SecondaryExplosions | GetSecondaryFires () |
| bool | GetBurnStateForHealth (float health, out SCR_EBurningState state) |
| array< int > | GetGroupHitZoneIds (EHitZoneGroup hitZoneGroup) |
| void | InitPrefabData (notnull IEntity owner, notnull SCR_DamageManagerComponent dmgManager) |
| void | GetPhysicalHitZones (out notnull array< HitZone > physicalHitZones) |
| Return hit zones with colliders assigned. | |
| void | GetRegeneratingHitZones (out notnull array< SCR_RegeneratingHitZone > regeneratingHitZones) |
| Return hit zones with passive regeneration enabled. | |
| void | RpcDo_SetFireState_ (int hitZoneIndex, SCR_EBurningState fireState) |
| void | RpcDo_SetFireState (int hitZoneIndex, SCR_EBurningState fireState) |
| override bool | FilterContact (IEntity owner, IEntity other, Contact contact) |
| No contacts for destroyed entities. | |
| int | GetSurroundingHitzones (vector origin, Physics physics, float maxDistance, out array< HitZone > outHitzones) |
| float | GetMinDestroyDamage (EDamageType damageType, array< HitZone > hitzones) |
| notnull SCR_DamageManagerData | GetScriptedDamageManagerData () |
| void | OnDamage (notnull BaseDamageContext damageContext) |
| override bool | ShouldOverrideInstigator (notnull Instigator currentInstigator, notnull Instigator newInstigator) |
| void | ~SCR_DamageManagerComponent () |
| int | GetHitZonesOfGroup (EHitZoneGroup hitZoneGroup, out notnull array< HitZone > groupHitZones, bool clearArray=true) |
| int | GetHitZonesOfGroupFromOwner (EHitZoneGroup hitZoneGroup, out notnull array< HitZone > groupHitZones, bool clearArray=true) |
| int | GetHitZonesOfGroups (notnull array< EHitZoneGroup > hitZoneGroups, out notnull array< HitZone > groupHitZones) |
| int | GetHitZonesOfGroupsFromOwner (notnull array< EHitZoneGroup > hitZoneGroups, out notnull array< HitZone > groupHitZones) |
| float | GetGroupDamageOverTime (ECharacterHitZoneGroup hitZoneGroup, EDamageType damageType) |
| void | Kill (notnull Instigator instigator) |
| void | DamageRandomHitZones (float damage, EDamageType type, notnull Instigator instigator, bool onlyPhysical=true, vector outMat[3]={}, bool damageDefault=false) |
| bool | CanBeHealed (bool ignoreHealingDOT=true) |
| void | FullHeal (bool ignoreHealingDOT=true) |
| Fix all the damage. | |
| float | HealHitZones (float healthToDistribute, bool sequential=false, float maxHealThresholdScaled=1, array< HitZone > alternativeHitZones=null) |
| float | HealHitZonesInSequence (float healthToDistribute, float maxHealThresholdScaled, array< HitZone > targetHitZones) |
| float | HealHitZonesInParallel (float healthToDistribute, float maxHealThresholdScaled, array< HitZone > targetHitZones) |
| void | ReduceSmoke () |
| Reduce smoke output based on the total health of hit zones. | |
| float | GetHitZonesDamage (float untilThresholdScaled=1, array< HitZone > alternativeHitZones=null) |
| float | GetHitZonesHealthScaled (array< HitZone > alternativeHitZones=null) |
| float | GetSingleHitZonesHealthScaled (array< HitZone > alternativeHitZones=null, bool getLowestHealth=true) |
| ResourceName | GetSecondaryExplosion (float value, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES, bool fire=false, out bool hasData=false) |
| Determine secondary explosion prefab based on explosion value, type and resource type if defined. | |
| SCR_SecondaryExplosion | GetSecondaryExplosionForScale (SCR_ESecondaryExplosionScale scale, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES) |
| Determine secondary explosion prefab based on explosion scale, type and resource type if defined. | |
| SCR_ESecondaryExplosionScale | GetSecondaryExplosionScale (float value, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES) |
| Determine secondary explosion prefab based on explosion value, type and resource type if defined. | |
| ResourceName | GetSecondaryFireParticle (float value, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES) |
| Determine secondary explosion prefab based on explosion value, type and resource type if defined. | |
| bool | IsOnFire (HitZone hitZone=null) |
| bool | IsOnFire (notnull array< HitZone > hitZones) |
| void | SecondaryExplosion (ResourceName prefabName, notnull Instigator instigator, notnull EntitySpawnParams spawnParams) |
| Spawn secondary explosion. | |
| SCR_ResourceEncapsulator | GetResourceEncapsulator (EResourceType suppliesType=EResourceType.SUPPLIES) |
| void | SupplySecondaryExplosion (notnull Instigator instigator) |
| Spawn supply secondary explosion when vehicle becomes destroyed. | |
| vector | GetSecondaryExplosionPosition (typename hitZoneType, out float totalWeight=0) |
| Get weighed average position of explosion for hitzones of specified type. | |
| void | FuelSecondaryExplosion (notnull Instigator instigator) |
| Spawn fuel secondary explosion when vehicle becomes destroyed. | |
| void | UpdateFireDamage (float timeSlice) |
| void | UpdateFireParticles (vector position, out ParticleEffectEntity particles, SCR_ESecondaryExplosionScale state, SCR_ESecondaryExplosionType fireType, EResourceType resourceType=EResourceType.SUPPLIES) |
| void | ConnectToFireDamageSystem () |
| void | DisconnectFromFireDamageSystem () |
| override void | OnDamageStateChanged (EDamageState newState, EDamageState previousDamageState, bool isJIP) |
| Invoked when damage state changes. | |
| override void | OnDamageOverTimeAdded (EDamageType dType, float dps, HitZone hz) |
| override void | OnDamageOverTimeRemoved (EDamageType dType, HitZone hz) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| override bool | HijackDamageHandling (notnull BaseDamageContext damageContext) |
Variables | |
| ref SCR_SecondaryExplosions | m_SecondaryExplosions |
| ref SCR_SecondaryExplosions | m_SecondaryFires |
| ref SCR_RepairConfig | m_RepairConfig |
| ref map< EHitZoneGroup, ref array< int > > | m_mHitZoneGroupMap |
| const float | SIMULATION_IMPRECISION_MULTIPLIER = 1.1 |
| int | m_iTimetickInstigator = System.GetTickCount() |
| int | m_iTimeThresholdInstigatorReplacement = 180000 |
| int | m_iPlayerId = 0 |
| int | m_iDamageManagerDataIndex = -1 |
| SCR_DamageManagerComponentClass DamageManagerComponentClass Attribute | ( | defvalue:SCR_EBurningState.SMOKING_LIGHT. | ToString(), |
| uiwidget:UIWidgets. | ComboBox, | ||
| desc:"State from which vehicle will be considered on fire thus players will be able to extinguish it" | , | ||
| enums:ParamEnumArray. | FromEnumSCR_EBurningState ) |
Return true if there is damage that can be repaired
| [in] | ignoreHealingDOT | If this is false the method will return that the entity can be healed also if the damageType is positive, such as HEALING |
Definition at line 615 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 1320 of file SCR_DamageManagerComponent.c.
|
protected |
Damage random physical hit zones up to damage amount
| damage | Total damage to be applied |
| type | Type of damage |
| instigator | Entity that fired the projectile or otherwise caused the damage |
| onlyPhysical | Whether only physical hit zones should be damaged |
| outMat | [hitPosition, hitDirection, hitNormal] |
| damageDefault | Whether to damage default hit zone as well |
Definition at line 562 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 1329 of file SCR_DamageManagerComponent.c.
No contacts for destroyed entities.
Definition at line 177 of file SCR_DamageManagerComponent.c.
|
protected |
Spawn fuel secondary explosion when vehicle becomes destroyed.
Definition at line 1273 of file SCR_DamageManagerComponent.c.
Fix all the damage.
Definition at line 658 of file SCR_DamageManagerComponent.c.
|
protected |
Retreives burn state for provided health
| [in] | health | percenatage of total health (0.0 to 1.0) |
| [out] | state | output that will contain state that coresponds to the provided health or SCR_EBurningState.NONE if there is no such state |
Definition at line 28 of file SCR_DamageManagerComponent.c.
|
protected |
Get total damage over time of given hitzone group
| hitZoneGroup | Hitzone group to get damage over time from |
| damageType | Damage type to get damage over time from |
Definition at line 518 of file SCR_DamageManagerComponent.c.
|
protected |
Retreives a list of ids which are corresponding to the id of the hit zones that are part of the provided group
| [in] | hitZoneGroup |
Definition at line 43 of file SCR_DamageManagerComponent.c.
|
protected |
Get all damage dealt to hitzones. Maxhealth minus current health is damage.
| untilThresholdScaled | When set damage until this scaled threshold is returned. |
| alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
Definition at line 864 of file SCR_DamageManagerComponent.c.
Get Health scaled of all hitzones
| alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
Definition at line 895 of file SCR_DamageManagerComponent.c.
|
protected |
Get a list of all hit zones of specific hit zone group from entire hierarchy of the owner of this component
| [in] | hitZoneGroup | group to get hit zones of |
| [out] | groupHitZones | List of group hit zones found |
| [in] | clearArray |
Definition at line 418 of file SCR_DamageManagerComponent.c.
|
protected |
Get a list of all hit zones of specific hit zone group only from owner of this component
| [in] | hitZoneGroups | group to get hit zones of |
| [out] | groupHitZones | List of group hit zones found |
| [in] | clearArray |
Definition at line 443 of file SCR_DamageManagerComponent.c.
|
protected |
Get a list of all hit zones of specific hit zone group from entire hierarchy of the owner of this component
| [in] | hitZoneGroups | List of Hitzone groups to get hit zones of |
| [out] | groupHitZones | List of group hit zones found |
Definition at line 463 of file SCR_DamageManagerComponent.c.
|
protected |
Get a list of all hit zones of specific hit zone group only from the owner of this component
| [in] | hitZoneGroups | List of Hitzone groups to get hit zones of |
| [out] | groupHitZones | List of group hit zones found |
Definition at line 489 of file SCR_DamageManagerComponent.c.
|
protected |
\ param damageType determinese which damage multipliers are taken into account
! Made specifically for cases where hitzones are not parented
Definition at line 235 of file SCR_DamageManagerComponent.c.
|
protected |
Return hit zones with colliders assigned.
Definition at line 113 of file SCR_DamageManagerComponent.c.
|
protected |
Return hit zones with passive regeneration enabled.
Definition at line 140 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 1125 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 262 of file SCR_DamageManagerComponent.c.
|
protected |
Determine secondary explosion prefab based on explosion value, type and resource type if defined.
Definition at line 969 of file SCR_DamageManagerComponent.c.
|
protected |
Determine secondary explosion prefab based on explosion scale, type and resource type if defined.
Definition at line 990 of file SCR_DamageManagerComponent.c.
Get weighed average position of explosion for hitzones of specified type.
Definition at line 1218 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 12 of file SCR_DamageManagerComponent.c.
|
protected |
Determine secondary explosion prefab based on explosion value, type and resource type if defined.
Definition at line 1005 of file SCR_DamageManagerComponent.c.
|
protected |
Determine secondary explosion prefab based on explosion value, type and resource type if defined.
Definition at line 1020 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 18 of file SCR_DamageManagerComponent.c.
|
protected |
Get single Health scaled from hitzones. Will return lowest or highest value
| alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
| getLowestHealth | If true it will return the hitzone health that is lowest, else it will return the hitzone health that is highest |
Definition at line 928 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 184 of file SCR_DamageManagerComponent.c.
|
protected |
Partially heal the hitZones of an entity
| healthToDistribute | The total value to be distributed among the hitzones |
| sequential | If true, apply health sequentially, if false apply health in parallel |
| maxHealThresholdScaled | When set, hitzone is healed only up to this threshold. Must be between 0 and 1. |
| alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
Definition at line 702 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 755 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 726 of file SCR_DamageManagerComponent.c.
|
protected |
Called when this DamageManager is about to handle damage. Any modifications done to the damageContext will persist for the rest of the damage handling process return false if damage handling should proceed with the changes done to the DamageContext. return true if damage should be discarded / was fully hijacked and should no longer be applied on this damage manager (e.g.: damage was passed to another dmg manager, so we dont handle damage on this manager).
! param[in] damageContext
Definition at line 1424 of file SCR_DamageManagerComponent.c.
|
protected |
| [in] | owner | who tried to do the initialization |
| [in] | dmgManager | which tried to do the initialization |
Definition at line 54 of file SCR_DamageManagerComponent.c.
Determine if provided or any hit zone from this damage manager is on fire
| [in] | hitZone | zone that will be checked if it is burning and if null then will check all hit zones |
Definition at line 1036 of file SCR_DamageManagerComponent.c.
Determine if any hit zone from this damage manager is on fire
| [in] | hitZones | list of hit zones that should be checked and if empty then all hit zones are going to be checked |
Definition at line 1051 of file SCR_DamageManagerComponent.c.
|
protected |
Neutralize the entity with a specific damage type, registering the killer entity.
| instigator | Source of the damage |
Definition at line 536 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 317 of file SCR_DamageManagerComponent.c.
|
protected |
Invoked every time the DoT is added to certain hitzone.
Definition at line 1363 of file SCR_DamageManagerComponent.c.
|
protected |
Invoked when provided damage type is removed from certain hitzone.
Definition at line 1386 of file SCR_DamageManagerComponent.c.
|
protected |
Invoked when damage state changes.
Definition at line 1339 of file SCR_DamageManagerComponent.c.
|
protected |
Reduce smoke output based on the total health of hit zones.
Definition at line 804 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 169 of file SCR_DamageManagerComponent.c.
|
protected |
Set fire rate of a flammable hitzone
| hitZoneIndex | Index of the hitzone to set fire rate for |
| fireRate | Rate of fire to be applied |
Definition at line 161 of file SCR_DamageManagerComponent.c.
|
protected |
Spawn secondary explosion.
Definition at line 1076 of file SCR_DamageManagerComponent.c.
|
protected |
Called whenever an instigator is going to be set.
| currentInstigator | This damage manager's last instigator |
| newInstigator | The new instigator for this damage manager |
Definition at line 336 of file SCR_DamageManagerComponent.c.
|
protected |
Spawn supply secondary explosion when vehicle becomes destroyed.
Definition at line 1144 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 1871 of file SCR_VehicleDamageManagerComponent.c.
|
protected |
Update visual effects and store result in particles variable
| position | origin of particle effect entity in owner local space |
| particles | variable to store ParticleEffectEntity |
| fireType | type of fire particles to be created |
| resourceType | type of resource if fireType is RESOURCE, by default SUPPLIES |
Definition at line 1293 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 387 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 108 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 106 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 105 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 104 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 9 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 7 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 1 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 4 of file SCR_DamageManagerComponent.c.
|
protected |
Definition at line 96 of file SCR_DamageManagerComponent.c.