Difference between revisions of "SceneCreateObjectByCrc"
From SWGANH Wiki
(→Sample Packet) |
(→Sample Packet) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Server Packet|SceneCreateObjectByCrc (FE89DDEA)}} | |
− | + | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 6: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
+ | |{{short}}||'''Operand_Count''' | ||
|- | |- | ||
− | | | + | |{{int}}||'''Opcode''' |
|- | |- | ||
− | | | + | |{{long}}||'''ObjectID''' |
|- | |- | ||
− | | | + | |{{float}}||'''QuaternionX''' |
|- | |- | ||
− | | | + | |{{float}}||'''QuaternionY''' |
|- | |- | ||
− | | | + | |{{float}}||'''QuaternionZ''' |
|- | |- | ||
− | | | + | |{{float}}||'''QuaternionW''' |
|- | |- | ||
− | | | + | |{{float}}||'''X-Coordinate''' |
|- | |- | ||
− | | | + | |{{float}}||'''Y-Coordinate''' |
|- | |- | ||
− | | | + | |{{float}}||'''Z-Coordinate''' |
|- | |- | ||
− | | | + | |{{int}}||'''ObjectCRC''' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | |{{byte}}||'''ByteFlag''' | ||
|} | |} | ||
− | + | {{beginlist|unknown|unknown count}} | |
:{| class="wikitable" | :{| class="wikitable" | ||
− | | | + | |{{int}}|{{unknown}} |
− | | | + | |} |
− | | | + | {{endlist|unknown}} |
|} | |} | ||
− | |||
===Variable Descriptions=== | ===Variable Descriptions=== | ||
---- | ---- | ||
Line 51: | Line 49: | ||
:ObjectID for the new object to create. | :ObjectID for the new object to create. | ||
− | * '''Quaternion | + | * '''Quaternion X / Y / Z / W''': |
:Orientation is done in a Quaternion. Use them to orient the object | :Orientation is done in a Quaternion. Use them to orient the object | ||
:in ground and space. Use 0,0,0,1 for default orientation. | :in ground and space. Use 0,0,0,1 for default orientation. | ||
Line 85: | Line 83: | ||
|- | |- | ||
|} | |} | ||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Sample Packet== | ==Sample Packet== | ||
Line 110: | Line 99: | ||
33 33 83 40 //z | 33 33 83 40 //z | ||
77 D6 B2 68 //object/mobile/shared_muftak.iff | 77 D6 B2 68 //object/mobile/shared_muftak.iff | ||
− | 00 | + | 00 //ByteFlag - Hyperspacing |
</pre> | </pre> |
Latest revision as of 07:58, 5 July 2023
Server Packet - SceneCreateObjectByCrc (FE89DDEA)
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 DescriptionsOperand_Count = 5 Opcode = FE89DDEA
|
Tags
|
Sample Packet
05 00 //Operand_Count EA DD 89 FE //SceneCreateObjectByCrc 62 C9 8B 12 1E 00 00 00 //Object ID 00 00 00 00 //oX D2 3A EA BE //oY 00 00 00 00 //oZ EA A3 63 3F //oW F6 28 A4 41 //x 44 1E 65 BF //y 33 33 83 40 //z 77 D6 B2 68 //object/mobile/shared_muftak.iff 00 //ByteFlag - Hyperspacing