Difference between revisions of "UpdateTransformWithParentMessage"
From SWGANH Wiki
(→Struct) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 25: | Line 25: | ||
|{{int}}||'''UpdateCounter''' | |{{int}}||'''UpdateCounter''' | ||
|- | |- | ||
− | |{{byte}}| | + | |{{byte}}|'''Posture''' |
|- | |- | ||
|{{byte}}||'''Direction''' | |{{byte}}||'''Direction''' | ||
Line 46: | Line 46: | ||
* '''New Position of Object'''. | * '''New Position of Object'''. | ||
− | :''PositionX'' | + | ::''PositionX'' |
− | :''PositionY'' | + | ::''PositionY'' |
− | :''PositionZ'' | + | ::''PositionZ'' |
Line 64: | Line 64: | ||
|valign=top| | |valign=top| | ||
+ | |||
===Tags=== | ===Tags=== | ||
---- | ---- | ||
Line 70: | Line 71: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
Line 76: | Line 77: | ||
---- | ---- | ||
+ | |||
==Sample Packet== | ==Sample Packet== | ||
<pre> | <pre> | ||
− | + | 09 00 // op count | |
+ | 5A AB 67 C8 // UpdateTransformWithParentMessage | ||
+ | C8 EE 40 00 00 00 00 00 // Cell ID | ||
+ | 2A 98 F8 28 00 00 00 00 // Object ID | ||
+ | C7 01 // x | ||
+ | 07 00 // y | ||
+ | AB 00 // z | ||
+ | 92 2A 00 00 // counter | ||
+ | 04 // posture | ||
+ | 00 // direction | ||
+ | |||
</pre> | </pre> |
Latest revision as of 11:48, 31 December 2007
Server Packet - UpdateTransformWithParentMessage (C867AB5A)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionsOpperand_Count = 9 Opcode = C867AB5A
The value is transformed the following way. (Coordinate * 8) = Position (Position / 8) = Coordinate This is to bound the possible position movement in a cell.
This is the direction for the object to face after moving. It is calculated by (Angle / 0.0625) where angle is in radians. |
Tags
|
Sample Packet
09 00 // op count 5A AB 67 C8 // UpdateTransformWithParentMessage C8 EE 40 00 00 00 00 00 // Cell ID 2A 98 F8 28 00 00 00 00 // Object ID C7 01 // x 07 00 // y AB 00 // z 92 2A 00 00 // counter 04 // posture 00 // direction