point_damageinfo
point_damageinfo is a point entity available
with any version of Mapbase.Applies damage with full control over the variables of CTakeDamageInfo, providing as much precision as possible.
KeyValues
- Damage Custom (DamageCustom) <integer>
A special, game-specific identifier mostly used in mods or multiplayer games.
A special, game-specific identifier mostly used in mods or multiplayer games.
- Damage Stats (DamageStats) <integer>
Function unknown, possibly unused
Function unknown, possibly unused
- Force Friendly Fire (ForceFriendlyFire) <choices>
Disregards friendly fire safechecks and applies the damage regardless of the attacker's relationship to the victim.
Disregards friendly fire safechecks and applies the damage regardless of the attacker's relationship to the victim.
- Ammo Type (AmmoType) <integer>
Uses a specific ammo type by order in the ammo def. (not to be confused with damage type)
Uses a specific ammo type by order in the ammo def. (not to be confused with damage type)
- Player Penetration Count (PlayerPenetrationCount) <integer>
Presumably how many players the inflictor has gone through before reaching the current victim. Appears to be unused in singleplayer games.
Presumably how many players the inflictor has gone through before reaching the current victim. Appears to be unused in singleplayer games.
- Damaged Other Players (DamagedOtherPlayers) <integer>
Function unknown, possibly unused
Function unknown, possibly unused
- Damage Force (DamageForce) <vector>
The force to apply when the damage is applied.
The force to apply when the damage is applied.
- Damage Position (DamagePosition) <vector>
What position the damage took place.
What position the damage took place.
- Reported Position (ReportedPosition) <vector>
Function unknown, possibly related to multidamage (buckshot)
Function unknown, possibly related to multidamage (buckshot)
- Suppress Death Sound (SuppressDeathSound) <choices>
Attempts to suppress the target entity's death sound.
Attempts to suppress the target entity's death sound.
Inputs
- SetInflictor
<target_destination>
Sets the inflictor.
Sets the inflictor.
- SetAttacker
<target_destination>
Sets the attacker.
Sets the attacker.
- SetWeapon
<target_destination>
Sets the weapon.
Sets the weapon.
- SetDamage
<integer>
Sets the damage.
Sets the damage.
- SetMaxDamage
<integer>
Sets the max damage.
Sets the max damage.
- SetDamageBonus
<integer>
Sets the damage bonus.
Sets the damage bonus.
- SetDamageType
<integer>
Sets the damage type.
Sets the damage type.
- SetDamageCustom
<integer>
Sets the damage custom.
Sets the damage custom.
- SetDamageStats
<integer>
Sets the damage stats.
Sets the damage stats.
- SetForceFriendlyFire
<bool>
Sets force friendly fire.
Sets force friendly fire.
- SetAmmoType
<integer>
Sets the ammo type.
Sets the ammo type.
- SetPlayerPenetrationCount
<integer>
Sets player penetration count.
Sets player penetration count.
- SetDamagedOtherPlayers
<integer>
Sets damaged other players.
Sets damaged other players.
- SetDamageForce
<vector>
Sets the damage force.
Sets the damage force.
- SetDamagePosition
<vector>
Sets the damage position.
Sets the damage position.
- SetReportedPosition
<vector>
Sets the reported position.
Sets the reported position.
- ApplyDamage
<void>
Applies damage.
Applies damage.
- ApplyDamageToEntity
<target_destination>
Applies damage to a specific entity.
Applies damage to a specific entity.
Outputs
- OnApplyDamage
<void>
Fires for every entity that takes our damage, using that as the activator.
Fires for every entity that takes our damage, using that as the activator.
- OnApplyDeath
<void>
Fires for every entity that dies from our damage, using that as the activator.
Fires for every entity that dies from our damage, using that as the activator.
