Difference between revisions of "Game Opcodes:Set Actor Speeds"
From FFXIV Classic Wiki
(→Move States) |
m (→Move States: Removing more whitespace because I'm an idiot and didn't just put the new info into the existing table.) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 36: | Line 36: | ||
== Move States == | == Move States == | ||
− | Only four states have been discovered. They correspond to the same value given by the [[]] and [[ | + | Only four states have been discovered. They correspond to the same value given by the [[Game Opcodes:Move Actor to Position|Move Actor to Position]] and [[Game Opcodes:Position Update|Position Update]] packets. |
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 42: | Line 42: | ||
! width="60px" style="text-align: center; font-size: 14px;" | Name | ! width="60px" style="text-align: center; font-size: 14px;" | Name | ||
! style="text-align: center; font-size: 14px;" | Retail PC Actor Value | ! style="text-align: center; font-size: 14px;" | Retail PC Actor Value | ||
+ | ! style="text-align: center; font-size: 14px;" | Chocobo Mount Value | ||
|- | |- | ||
− | | 0x00 || Stopped || 0.0 | + | | 0x00 || Stopped || 0.0 || 0.0 |
|- | |- | ||
− | | 0x01 || Walking || 2.0 | + | | 0x01 || Walking || 2.0 || 3.6 |
|- | |- | ||
− | | 0x02 || Running || 5.0 | + | | 0x02 || Running || 5.0 || 9.0 |
|- | |- | ||
− | | 0x03 || Active || 5.0 | + | | 0x03 || Active* || 5.0 || 9.0 |
|} | |} | ||
+ | |||
+ | *Active used to be 4.0 for PC actors before a later patch made it identical to Running. | ||
== Visual Layout == | == Visual Layout == |
Latest revision as of 20:44, 22 March 2021
Sets the speed of all moveStates. The packet is strangely large, allowing multiple states to be updated at once. However because there are only four known states (so far), it's mostly wasted space.
- Opcode - 0x0D0
- Source - Server
- Data Size - 0x88 bytes
- Requirements - None
Contents
Entry
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | float | 4 Bytes | speedValue | The speed for this specific moveState. |
0x04 | uint32 | 4 Bytes | moveState | The moveState being modified. |
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | entry | 0x80 Bytes | speedEntries | Up to 16 entries that can be updated. |
0x80 | uint32 | 4 Bytes | numEntries | The number of entries being updated. |
Move States
Only four states have been discovered. They correspond to the same value given by the Move Actor to Position and Position Update packets.
State | Name | Retail PC Actor Value | Chocobo Mount Value |
---|---|---|---|
0x00 | Stopped | 0.0 | 0.0 |
0x01 | Walking | 2.0 | 3.6 |
0x02 | Running | 5.0 | 9.0 |
0x03 | Active* | 5.0 | 9.0 |
- Active used to be 4.0 for PC actors before a later patch made it identical to Running.
Visual Layout
Game Opcode layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | data | |||||||||||||||
0x10 | ||||||||||||||||
0x20 | ||||||||||||||||
0x30 | ||||||||||||||||
0x40 | ||||||||||||||||
0x50 | ||||||||||||||||
0x60 | ||||||||||||||||
0x70 | ||||||||||||||||
0x80 | numEntries | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |