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).
csharp
public struct BombDamageDamageValueProperties ​
Phase ​
Effective distance from the bombsite used for damage falloff. The game clamps this to [0, 1800] and computes damage as 100 * BombPower / Phase, clamped to 0-255.
csharp
public ushort Phase { readonly get; set; }Property Value ​
Pitch ​
Pitch of the bomb blast direction, where 0-255 maps to a full turn. See .
csharp
public byte Pitch { readonly get; set; }Property Value ​
Rotation ​
Rotation of the bomb blast direction. Rotating by this yields the game's forward vector.
csharp
public readonly Quaternion Rotation { get; }Property Value ​
Yaw ​
Yaw of the bomb blast direction, where 0-255 maps to a full turn. See .
csharp
public byte Yaw { readonly get; set; }
