AOS REVIVALJoin Discord
Packet ID0230x17
Audio // wire record

PlaySound

Plays a one-shot or looping positional/UI sound, including pickup, round, kill, and observer-only block-tool cues.

S→CSentLive-verified7–16 bytes
Exact field order

Packet 23 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 23 PlaySound fields in byte order
#FieldEncodingBytesPurpose
0packet_idu81Always 23 (0x17).
1sound_idu81sound id value.
2flagsu81Bit 0 looping; bit 1 positioned.
3volumesign-magnitude fixed16 LE (1/64)2volume value.
4timesign-magnitude fixed16 LE (1/64)2time value.
5loop_idu81loop id value.When: looping flag set
6position3 × fixed16 LE6X, Y, and Z components at 1/64-unit precision.When: positioned flag set
7attenuationsign-magnitude fixed16 LE (1/64)2attenuation value.When: positioned flag set
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.