Struct BombDamageDamageValue ​
Namespace: ValveResourceFormat.ResourceTypes.GenericData.CS2
Assembly: ValveResourceFormat.dll
Baked bomb damage information for a specific position and bombsite on the map. Stored exactly as packed in the resource file (4 bytes per value).
public struct BombDamageDamageValueProperties ​
Phase ​
Effective distance from the bombsite used for damage falloff. The game clamps this to at most 1800 for the falloff computation; when at most 1800, damage works out to 100 * BombPower / Phase, clamped to 0-255 (see BombDamage.CalculateDamage(in BombDamageBombsite, in BombDamageDamageValue)).
public ushort Phase { readonly get; set; }Property Value ​
ushort
Pitch ​
Pitch of the bomb blast direction, where 0-255 maps to a full turn. See BombDamageDamageValue.Rotation.
public byte Pitch { readonly get; set; }Property Value ​
byte
Rotation ​
Rotation of the bomb blast direction. Rotating Vector3.UnitX by this yields the game's forward vector.
public readonly Quaternion Rotation { get; }Property Value ​
Yaw ​
Yaw of the bomb blast direction, where 0-255 maps to a full turn. See BombDamageDamageValue.Rotation.
public byte Yaw { readonly get; set; }Property Value ​
byte

