Azoth Central โ€” MB::AlignToTerrainComponentReplicatedState

All Packets #2850

MB::AlignToTerrainComponentReplicatedState

SolvedCaptured โœ“

We know its format and the Azoth server already uses it.

What it doesWe know what this does

Tells your game whether a creature should lean to match the slope of the ground it walks on.

Activity: Other

How to capture

We already have this packet in a recording. You only need to record it again if you want to help check it.

  1. Head to an area with wild animals and hills, such as boars, wolves or bears on a slope.
  2. Stay close and watch them for about two minutes while they walk around.
  3. Write down the time you arrived.

Recording tips

  • Record one activity per recording.
  • Keep each recording under 5 minutes.
  • Write down the time of each step.
  • Send the ledger.bin file only through /capture on Discord.

Send your recording or use /capture on Discord.

FieldsSpec: Inferred

When: Sent by the server with a creature when it is created. It says how the creature's model should follow the slope of the ground. It also shows up for the character of another player that stands near you (seen twice on one remote player, not at creation but later).

This state has no fixed offsets. It travels as a member inside the replicated state bundle (packet 8): component key, type, then the body. The body starts with a group mask (one bit per group, see mask_bit), then for each group present a field mask (7 bits per byte, the top bit means another mask byte follows), then only the fields whose bit is set, in order. Fields are matched by name.

AtFieldTypeSizeMeaningExample
โ€” AlignmentMode u8 1 B Which ground-alignment mode the entity uses. 0, 1 and 2 appear in the captures, and creatures such as the boar send 1. In the mode 1 the model only tilts forward and back (pitch), with no side tilt.
  • 0 Disabled
  • 1 Along the facing direction only (pitch, no side tilt)
  • 2 Both axes
1
also seen: 1, 2, 0
range 0 to 2
How to capture