Difference between revisions of "Game Opcodes:Set Actor Position"
From FFXIV Classic Wiki
(→Spawn Types) |
(→Spawn Types) |
||
Line 42: | Line 42: | ||
! style="text-align: center; font-size: 14px;" | Description | ! style="text-align: center; font-size: 14px;" | Description | ||
|- | |- | ||
− | | 0x01 || | + | | 0x01 || Fades to load, stays on loading screen. |
|- | |- | ||
− | | 0x02 || | + | | 0x02 || Fades out/in, plays duty teleport in animation. |
|- | |- | ||
− | | 0x03 || | + | | 0x03 || Fades out/in, plays duty teleport in animation with a different sound. |
|- | |- | ||
− | | 0x04 || | + | | 0x04 || Fades out/in, doesn't work on players (black screen). |
|- | |- | ||
− | | 0x05 || | + | | 0x05 || Fades out/in, plays a yellow animation. |
|- | |- | ||
− | | 0x06 || | + | | 0x06 || Same as 0x02. |
|- | |- | ||
− | | 0x07 || | + | | 0x07 || Fades out/in, plays a "light" animation. |
|- | |- | ||
− | | 0x08 || | + | | 0x08 || Same as 0x02. |
|- | |- | ||
− | | 0x09 || | + | | 0x09 || Same as 0x02. |
|- | |- | ||
− | | 0x0A || | + | | 0x0A || Same as 0x02. |
|- | |- | ||
− | | 0x0F || | + | | 0x0F || Fades out/in, no animation is played. |
|- | |- | ||
− | | 0x10 || | + | | 0x10 || Fades to load, stays on loading screen. This is used to lock the loading screen when entering Ifrit. |
|- | |- | ||
− | | 0x11 || | + | | 0x11 || Quick fade out/in, no animation is played. |
|- | |- | ||
| 0x12 || Fades player out/in. On fade in, textID <code>52036</code> is displayed ("You were removed from the instance due to connectivity issues."). | | 0x12 || Fades player out/in. On fade in, textID <code>52036</code> is displayed ("You were removed from the instance due to connectivity issues."). | ||
|- | |- | ||
− | | 0x13 || | + | | 0x13 || Same as 0x0F. |
|- | |- | ||
− | | 0x14 || | + | | 0x14 || Same as 0x0F. |
|- | |- | ||
− | | 0x15 || | + | | 0x15 || Same as 0x10. |
|- | |- | ||
− | | 0x16 || | + | | 0x16 || Nothing happens (same as values outside the 0x1-0x18 range). |
|- | |- | ||
− | | 0x17 || | + | | 0x17 || Long fade out, plays duty teleport in animation. |
|- | |- | ||
| 0x18 || Fades player out/in. On fade in, textID <code>51139</code> is displayed ("You feel unsettled after the nightmare..."). | | 0x18 || Fades player out/in. On fade in, textID <code>51139</code> is displayed ("You feel unsettled after the nightmare..."). |
Revision as of 13:16, 30 July 2018
Sets the spawn parameters for an actor that was just instantiated.
- Opcode - 0x0CE
- Source - Server
- Data Size - 48 bytes
- Requirements - None
Contents
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | uint32 | 4 Bytes | unknown | |
0x04 | uint32 | 4 Bytes | actorID | The actor ID that this applies to. |
0x08 | float | 4 Bytes | xPosition | The X position of the spawning actor. |
0x0C | float | 4 Bytes | yPosition | The Y position of the spawning actor. |
0x10 | float | 4 Bytes | zPosition | The Z position of the spawning actor. |
0x14 | float | 4 Bytes | rotation | The rotation of the spawning actor. |
0x24 | uint16 | 2 Bytes | spawnType | The animation to play when this actor spawns. |
0x26 | uint16 | 2 Bytes | isZoningPlayer | This has to be 1 if the actor is a player being zoned. |
Notes
Spawn Types
The following spawn types were discovered through testing and confirmed in the assembly at 0x58B2D7
. What each does hasn't been 100% confirmed.
Value | Description |
---|---|
0x01 | Fades to load, stays on loading screen. |
0x02 | Fades out/in, plays duty teleport in animation. |
0x03 | Fades out/in, plays duty teleport in animation with a different sound. |
0x04 | Fades out/in, doesn't work on players (black screen). |
0x05 | Fades out/in, plays a yellow animation. |
0x06 | Same as 0x02. |
0x07 | Fades out/in, plays a "light" animation. |
0x08 | Same as 0x02. |
0x09 | Same as 0x02. |
0x0A | Same as 0x02. |
0x0F | Fades out/in, no animation is played. |
0x10 | Fades to load, stays on loading screen. This is used to lock the loading screen when entering Ifrit. |
0x11 | Quick fade out/in, no animation is played. |
0x12 | Fades player out/in. On fade in, textID 52036 is displayed ("You were removed from the instance due to connectivity issues.").
|
0x13 | Same as 0x0F. |
0x14 | Same as 0x0F. |
0x15 | Same as 0x10. |
0x16 | Nothing happens (same as values outside the 0x1-0x18 range). |
0x17 | Long fade out, plays duty teleport in animation. |
0x18 | Fades player out/in. On fade in, textID 51139 is displayed ("You feel unsettled after the nightmare...").
|
Visual Layout
Packet Data layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | unknown | actorID | xPosition | yPosition | ||||||||||||
0x10 | zPosition | rotation | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | ||||||
0x20 | 00 | 00 | 00 | 00 | spawnType | isPlayerZoning |