All Packets #2850
MB::AlignToTerrainComponentReplicatedState
We know its format and the Azoth server already uses it.
Tells your game whether a creature should lean to match the slope of the ground it walks on.
Activity: Other
We already have this packet in a recording. You only need to record it again if you want to help check it.
- Head to an area with wild animals and hills, such as boars, wolves or bears on a slope.
- Stay close and watch them for about two minutes while they walk around.
- 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.
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.
| At | Field | Type | Size | Meaning | Example |
|---|---|---|---|---|---|
| โ | 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.
|
1
also seen: 1, 2, 0
range 0 to 2
|