Difference between revisions of "Game Opcodes:Set Actor MainState"
From FFXIV Classic Wiki
(Created page with "Sets the actor's MainState, changing the mode they are in. :; Opcode - 0x134 :; Source - Server :; Data Size - 0x28 bytes :; Requirements - Must play an Battle Effect packet...") |
m (Fixed values on 0x5B/BC) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
| 0x00 || byte || 0x1 Bytes || state || Turns off and on the partsBreak 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 || state || Turns off and on the partsBreak flags for the model. Used to disable body parts as they are damaged (IE: Ifrit's Horn). Up to 8 flags. | ||
|- | |- | ||
− | | 0x01 || byte || 0x1 Bytes || unknown || | + | | 0x01 || byte || 0x1 Bytes || unknown || Unknown but players usually 0xBF and monsters 0x3. |
|} | |} | ||
== Known States == | == Known States == | ||
− | {| class="wikitable sortable | + | {| class="wikitable sortable" |
! width="50px" style="text-align: center; font-size: 14px;" | Value | ! width="50px" style="text-align: center; font-size: 14px;" | Value | ||
− | ! | + | ! style="text-align: center; font-size: 14px;" | Description |
|- | |- | ||
− | | 0x00 || Passive | + | | 0x00 || Passive; default state of all actors, shows field idle. |
|- | |- | ||
− | | 0x01 || Dead | + | | 0x01 || Dead; changes the nameplate and disables targeting and commands. |
|- | |- | ||
− | | 0x02 || Active | + | | 0x02 || Active; starts battle idle and allows for battle commands to fire. |
|- | |- | ||
− | | 0x03 || Dead | + | | 0x03 || Dead 2; unknown. |
|- | |- | ||
− | | 0x0A || Sitting (Object) | + | | 0x0A || Sitting (Object); used when sitting on a bed or bench. |
|- | |- | ||
− | | | + | | 0x0D || Sitting (Floor); used when sitting on the floor. |
+ | |- | ||
+ | | 0x0E || | ||
|- | |- | ||
− | | 0x0F || Mounted | + | | 0x0F || Mounted; plays a mount/dismount animation on transition. |
|- | |- | ||
− | | 0x1E || | + | | 0x1E || Crafting; kneels down to prepare |
|- | |- | ||
− | | 0x1F || | + | | 0x1F || Crafting; brings out main hand tool |
|- | |- | ||
− | | 0x20 || | + | | 0x20 || Crafting; brings out offhand tool |
+ | |- | ||
+ | | 0x32 || Gathering; brings out mainhand tool | ||
+ | |- | ||
+ | | 0x33 || Gathering; also brings out mainhand tool? | ||
+ | |- | ||
+ | | 0x51 || Debug? - Wields weapon, locks in place | ||
+ | |- | ||
+ | | 0x5B || Debug? - Uses Active pose without grabbing weapon, locks in place | ||
+ | |- | ||
+ | | 0x5C || Debug? - Summons chocobo, but no chocobo | ||
|} | |} | ||
Line 59: | Line 71: | ||
! 0x00 | ! 0x00 | ||
| colspan="1" style="background:#8FA6E8" | '''state''' | | colspan="1" style="background:#8FA6E8" | '''state''' | ||
− | | colspan="1" style="background:#8FA6E8" | '''unknown | + | | colspan="1" style="background:#8FA6E8" | '''unknown |
|} | |} | ||
[[Category:Unfinished]] | [[Category:Unfinished]] |
Latest revision as of 21:57, 30 May 2019
Sets the actor's MainState, changing the mode they are in.
- Opcode - 0x134
- Source - Server
- Data Size - 0x28 bytes
- Requirements - Must play an Battle Effect packet after for animations to take effect.
Contents
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | byte | 0x1 Bytes | state | Turns off and on the partsBreak flags for the model. Used to disable body parts as they are damaged (IE: Ifrit's Horn). Up to 8 flags. |
0x01 | byte | 0x1 Bytes | unknown | Unknown but players usually 0xBF and monsters 0x3. |
Known States
Value | Description |
---|---|
0x00 | Passive; default state of all actors, shows field idle. |
0x01 | Dead; changes the nameplate and disables targeting and commands. |
0x02 | Active; starts battle idle and allows for battle commands to fire. |
0x03 | Dead 2; unknown. |
0x0A | Sitting (Object); used when sitting on a bed or bench. |
0x0D | Sitting (Floor); used when sitting on the floor. |
0x0E | |
0x0F | Mounted; plays a mount/dismount animation on transition. |
0x1E | Crafting; kneels down to prepare |
0x1F | Crafting; brings out main hand tool |
0x20 | Crafting; brings out offhand tool |
0x32 | Gathering; brings out mainhand tool |
0x33 | Gathering; also brings out mainhand tool? |
0x51 | Debug? - Wields weapon, locks in place |
0x5B | Debug? - Uses Active pose without grabbing weapon, locks in place |
0x5C | Debug? - Summons chocobo, but no chocobo |
Notes
Visual Layout
Game Opcode layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | state | unknown |