Extended entity properties in snapshot protocol #35

Open
opened 2026-03-19 06:43:53 +00:00 by kit · 0 comments
Owner

Summary

Extend the binary snapshot protocol to include additional entity properties beyond the current set (position, angles, velocity, model, classname, flags).

New properties

  • Owner — owning player (if any)
  • Color — entity render color (RGBA)
  • Material override — material path override string
  • Health — current HP
  • Boolean states — frozen, on fire, asleep, alive, etc.

Design considerations

  • Some properties are universal (color, health) while others are class-specific. Need to decide whether to send everything always (wastes bandwidth for most entities) or use a flexible field encoding.
  • Boolean states could be packed into a bitfield to keep the protocol compact.
  • Material override is a string — either send it inline or use a string table like classnames/models.
  • This lays the groundwork for #32 (entity property editing) — any property sent down should eventually be editable.
  • #32 — Entity property editing UI
  • Depends on the property/action system design (#36)
## Summary Extend the binary snapshot protocol to include additional entity properties beyond the current set (position, angles, velocity, model, classname, flags). ## New properties - **Owner** — owning player (if any) - **Color** — entity render color (RGBA) - **Material override** — material path override string - **Health** — current HP - **Boolean states** — frozen, on fire, asleep, alive, etc. ## Design considerations - Some properties are universal (color, health) while others are class-specific. Need to decide whether to send everything always (wastes bandwidth for most entities) or use a flexible field encoding. - Boolean states could be packed into a bitfield to keep the protocol compact. - Material override is a string — either send it inline or use a string table like classnames/models. - This lays the groundwork for #32 (entity property editing) — any property sent down should eventually be editable. ## Related - #32 — Entity property editing UI - Depends on the property/action system design (#36)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kit/gmod-web-stream#35
No description provided.