Game Opcodes:Set Actor SubState
From FFXIV Classic Wiki
Sets the actor's SubStat parameters. These effect various passive animations.
- Opcode - 0x144
- Source - Server
- Data Size - 0x28 bytes
- Requirements - Must play an Battle Effect packet after for animations to take effect.
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | bitfield | 0x1 Bytes | substatBreakage | Turns off and on the parts flags for the model. Used to disable body parts as they are damaged (IE: Ifrit's Horn). Up to 8 flags. |
0x00 | hi/lo nibble | 0x1 Bytes | substatChant | Sets the casting animation for a model's left and right hands. HiNibble: Left hand, LoNibble: Right hand. |
0x00 | byte | 0x1 Bytes | substatGuard | Sets the guarding animation for a model's left or right hands. Used for when guarding was manual. Bit0: Right Hand, Bit1: Left Hand. |
0x00 | hi/lo nibble | 0x1 Bytes | substatWaste | Dims the main weapon to signify damage. Unused in retail. Values go from 0-3, only HiNibble changes. |
0x00 | byte | 0x1 Bytes | substatMode | |
0x00 | byte | 0x1 Bytes | substatMotionPack | Sets the idle animation for this actor. Used by most event NPCs. |
Notes
_getSubStatObject: Returns the second byte; 2 values up to 3 for the HiByte, and a third one just for the LoByte.
Visual Layout
Game Opcode layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | unknown |