Difference between revisions of "SceneCreateObjectByCrc"

From SWGANH Wiki
Jump to: navigation, search
 
(Variable Descriptions)
Line 67: Line 67:
 
:'''<font color=red>TODO</font>''': Someone Test this byte and the INTs.
 
:'''<font color=red>TODO</font>''': Someone Test this byte and the INTs.
  
 +
* '''Additional Info''':
 +
:Each Object is created by the CRC of its object template
 +
:file in /object/ of the client.
 +
:Leave Orientation to 0,1,0,0 and Position to 0,0,0 for data
 +
:objects or contained objects(MISO, WEAO, TANO etc.)
 +
:'''<font color=red>TODO</font>''': Post a list of the object_template, quest, and mission CRC Tables.
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----

Revision as of 02:04, 21 December 2006


Struct


SHORT Operand_Count
INT Opcode
LONG ObjectID
FLOAT QuaternionW
FLOAT QuaternionX
FLOAT QuaternionY
FLOAT QuaternionZ
FLOAT X-Coordinate
FLOAT Z-Coordinate
FLOAT Y-Coordinate
INT ObjectCRC
BYTE ByteFlag
{
INT Unknown
}

Variable Descriptions


Operand_Count = 5

Opcode = FE89DDEA


  • ObjectID:
ObjectID for the new object to create.
  • Quaternion W / X / Y / Z:
Orientation is done in a Quaternion. Use them to orient the object
in ground and space. Use 0,1,0,0 for default orientation.
TODO: Add Page about Quaternions
  • X / Y / Z Coordinate:
X-Y-Z Coordinate to place the object.
Use, 0,0,0 for default position (items, contained objects, etc).
  • ObjectCRC:
SWGCRC of the template file for the object located in the /object/ directory of the client. Refer to the CRCTable for list of objects.
  • ByteFlag:
This byte flag enables an additional INT when set to 1. May also be A counter for an INT list.
TODO: Someone Test this byte and the INTs.
  • Additional Info:
Each Object is created by the CRC of its object template
file in /object/ of the client.
Leave Orientation to 0,1,0,0 and Position to 0,0,0 for data
objects or contained objects(MISO, WEAO, TANO etc.)
TODO: Post a list of the object_template, quest, and mission CRC Tables.

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...