Difference between revisions of "Game Opcodes:Set Actor SubState"
From FFXIV Classic Wiki
(→Data) |
(→Data) |
||
Line 15: | Line 15: | ||
! style="text-align: center; font-size: 14px;" | Description | ! style="text-align: center; font-size: 14px;" | Description | ||
|- | |- | ||
− | | 0x00 || byte|| 8bit Bitfield || substatBreakage || Turns off and on the parts flags for the model. Used to disable body parts as they are damaged (IE: Ifrit's Horn). | + | | 0x00 || byte|| 8bit Bitfield || 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 || byte|| 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 || substatChant || Sets the casting animation for a model's left and right hands. HiNibble: Left hand, LoNibble: Right hand. |
Revision as of 10:14, 3 September 2018
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 | byte | 8bit Bitfield | 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 | byte | 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. |
0x00 | byte | 0x1 Bytes | substatWaste | Dims the main weapon to signify damage. Unused in retail. Values go from 0-3, Hi/LoNibble changes two separate waste values (for 2handed?). |
0x00 | byte | 0x1 Bytes | substatMode | |
0x00 | byte | 0x1 Bytes | substatMotionPack | Sets the idle animation for this actor. Used by most event NPCs. |
Visual Layout
Game Opcode layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | unknown |