Difference between revisions of "UpdateTransformMessage"
From SWGANH Wiki
(→Variable Descriptions) |
(→Variable Descriptions) |
||
Line 55: | Line 55: | ||
* '''Posture''': | * '''Posture''': | ||
− | The byte before direction | + | The byte before direction corresponds to: |
− | + | {| class="wikitable" | |
− | + | |value||'''State''' | |
+ | |- | ||
+ | |0||'''Upright''' | ||
+ | |- | ||
+ | |1||'''Crouched''' | ||
+ | |- | ||
+ | |2||'''Prone''' | ||
+ | |- | ||
+ | |3||'''Sneaking''' | ||
+ | |- | ||
+ | |4||'''Blocking''' | ||
+ | |- | ||
+ | |5||'''Climbing''' | ||
+ | |- | ||
+ | |6||'''Flying''' | ||
+ | |- | ||
+ | |etc||'''etc...''' | ||
+ | |} | ||
+ | Haven't seen it out side the range of 0..5 yet | ||
* '''Direction''': | * '''Direction''': | ||
Line 75: | Line 93: | ||
:count of 21's the occur between a group of 23. The 23 is assumed to be start/end | :count of 21's the occur between a group of 23. The 23 is assumed to be start/end | ||
:of a chain of movement while the 21 is an update. | :of a chain of movement while the 21 is an update. | ||
− | |||
|valign=top| | |valign=top| | ||
Revision as of 05:03, 23 September 2007
Struct
Variable DescriptionsOpperand_Count = 8 Opcode = 1B24F808
n = X / 4; if n > 8192 n = n - 16384; effective map range is -8192..8192 to convert the a float to position n = uint16(x * 4.0f + 0.5f);
The byte before direction corresponds to:
Haven't seen it out side the range of 0..5 yet
|
Tags
|
Sample Code
Insert Code Snippet Here...
Sample Packet
Insert Sample Packet Here...