CmdStartScene

From SWGANH Wiki
Revision as of 07:42, 10 April 2007 by Exca (Talk | contribs) (Struct)

Jump to: navigation, search


Struct


SHORT Operand_Count
INT Opcode
BYTE IgnoreLayoutFiles_Flag
LONG CharID
A_STRING TerrainMap
FLOAT X-Coordinate
FLOAT Z-Coordinate
FLOAT Y-Coordinate
A_STRING Shared_Race_Template
LONG Galactic_Time

Variable Descriptions


Operand_Count = 8

Opcode = 3AE6DFAE


  • IgnoreLayoutFiles_Flag:
When set to 1 or above, no client side objects seem to load
(cites, etc). It is assumed that this flag determines wether
to read the layout files, or ignore them.
0 - read
1 - ignore
  • CharID:
The ID number associated to the character being loaded into the "scene" or world.
  • TerrainMap:
The path and filename of the terrain file to load for the scene.
"terrain/[planet].trn"
  • X-Z-Y Coordinates:
Self explainitory. Floating point values of the coordinates to load the character to.
  • Shared_Race_Template:
Same as the Race Files used earlier, however these have a "shared" prefix in the file name.
Example: object/creature/player/shared_human_male.iff
  • Galatic_Time:
The seconds value for the current galactic time from the
beginning of your servers life. Used variously to effect
planet time, as well as roleplaying "Star Wars" time.
New servers will start their counter at 0.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...