AOS REVIVALJoin Discord
Packet ID0200x14
Entities // wire record

HitEntity

Invokes the visual impact callback for an authoritative hit on a damageable entity.

S→CSentImplementation-backed10 bytes
Exact field order

Packet 20 wire layout

The first byte is the application packet ID. The rows after it appear in decode order. Sizes exclude ENet headers, the outer wrapper prefix, LZF chunk framing, and compression effects.

Packet 20 HitEntity fields in byte order
#FieldEncodingBytesPurpose
0packet_idu81Always 20 (0x14).
1entity_idi16 LE2Scene-local entity identifier.
2impact_position3 × fixed16 LE6X, Y, and Z components at 1/64-unit precision.
3typeu81Impact/effect discriminator.
Protocol convention

How to read this layout

  • LE means least-significant byte first.
  • fixed16 is two-byte sign-magnitude at 1/64 precision.
  • orientation16 uses the measured 1/8192 orientation mapping.
  • NUL strings consume their encoded byte length plus one 00 terminator.
  • Counted arrays repeat immediately in the order shown.