Report

s&box Damage System: DamageInfo with IKillSource Attribution

435aceef-df4e-4738-b453-69945155c33a

Implementing damage and kill attribution in s&box requires tracking attackers, weapons, and damage types for kill feed, statistics, and gameplay logic. Challenges include:

  1. Structuring damage information with tags
  2. Tracking the source of damage (player, NPC, world)
  3. Implementing kill icons for the feed
  4. Handling different damage types (explosion, headshot, etc.)