Difference between revisions of "WAYP03"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
 
(7 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
----
 
----
 
<pre>
 
<pre>
SHORT: ObjectOpperandCount
+
SHORT:             ObjectOpperandCount
FLOAT: Complexity
+
FLOAT:             Complexity
ASTRING: STFName(Table)
+
ASTRING:           STFName(Table)
INT: ??
+
INT:               STF Spacer
ASTRING: STFName(ID)
+
ASTRING:           STFName(ID)
USTRING: CustomName
+
USTRING:           CustomName
INT: Volume
+
INT:               Volume
INT: GenericInt(CellID,SchematicQuantity)(not used here)
+
INT:               GenericInt
FLOAT: XCoordinate
+
FLOAT:             XCoordinate
FLOAT: ZCoordinate
+
FLOAT:             ZCoordinate
FLOAT: YCoordinate
+
FLOAT:             YCoordinate
BYTE: ActivatedFlag
+
BYTE:             ActivatedFlag
LONG: LocationNetworkID(doesn't work)
+
LONG:             LocationNetworkID
ASTRING: PlanetName
+
ASTRING:           PlanetName
USTRING: WaypointName(doesn't display)
+
USTRING:           WaypointName
BOOL: ??(doesn't do anything)
+
BYTE:             NotUsed
ASTRING: ColorString
+
ASTRING:           ColorString
 
</pre>
 
</pre>
  
Line 41: Line 41:
 
   01:
 
   01:
 
     ASTRING: STFName(Table)
 
     ASTRING: STFName(Table)
     INT: ??
+
     INT: STF Spacer
 
     ASTRING: STFName(ID)
 
     ASTRING: STFName(ID)
 
   02:
 
   02:
Line 48: Line 48:
 
     INT: Volume
 
     INT: Volume
 
   04:
 
   04:
     INT: GenericInt(CellID,SchematicQuantity)(not used here)
+
     INT: GenericInt
 
   05:
 
   05:
 
     FLOAT: XCoordinate
 
     FLOAT: XCoordinate
Line 56: Line 56:
 
     BYTE: ActivatedFlag
 
     BYTE: ActivatedFlag
 
   07:
 
   07:
     LONG: LocationNetworkID(doesn't work)
+
     LONG: LocationNetworkID
 
   08:
 
   08:
 
     ASTRING: PlanetName
 
     ASTRING: PlanetName
 
   09:
 
   09:
     USTRING: WaypointName(doesn't display)
+
     USTRING: WaypointName
 
   0A:
 
   0A:
     BOOL: ??(doesn't do anything)
+
     BYTE: NotUsed
 
   0B:
 
   0B:
 
     ASTRING: ColorString
 
     ASTRING: ColorString
 
 
}
 
}
 
</pre>
 
</pre>
Line 73: Line 72:
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
 +
ObjectOpperandCount = 12
  
Obj_OperandCount = ??
+
Complexity:
----
+
The Complexity of the Object or Schematic to create an object.
  
 +
STFName:
 +
The Name of the Object taken from an STF File Reference.
 +
 +
STF Spacer:
 +
Always int32(0) its a spacer between the stf_file and stf_name.
 +
 +
CustomName:
 +
A custom specified name for the object. (User created).
 +
 +
Volume:
 +
The volume of space the object takes up.
 +
 +
GenericInt:
 +
An integer used uniquely in some inherited objects.
 +
CellObjects = CellIndex for each Cell in a building
 +
SchematicObjects = Quantity of uses in a schematic.
 +
Set to 0 for WAYP.
 +
 +
XZYCoordinate:
 +
The Location of the Waypoint. This overrides the coordinates in the CreateObjectByCrc().
 +
 +
ActivatedFlag:
 +
Set to 1 for activated. 0 for inactive.
 +
(Works correctly so you can "hide" them from players until ready too!)
 +
 +
LocationNetworkID:
 +
Guessed feature. the "Location" object has a networkID that never worked,
 +
but I assume it was intended to overridelocation to be based on the coordinates of an object.
 +
Never fully implemented but Im sick of having ?? in documentation for things that didn't work.
 +
 +
PlanetName:
 +
The ASCII planet name found in the CRC Tables. Needed to display the waypoint correctly.
 +
(just like in the PLAY Obj except it uses the CRC, this uses the string).
 +
 +
WaypointName:
 +
Doesn't display, however its a USTRING just like Waypoints, and it DIDNT update my color or planet
 +
when I triednthose. Its hard to test the name, but I linked to datapad to try and see it..
 +
didn't change it however. Don't bother updating this really..
 +
 +
ColorString:
 +
The ASCII string for the color to use. This is directly translated as shared_waypoint_X.iff
 +
Take the part from the iff and that is the color. Any new waypoints I assume will also work this way...
 +
Options:
 +
green
 +
purple
 +
white
 +
blue
 +
yellow
 +
orange
 +
space
 +
----
  
 
===Tags===
 
===Tags===
Line 82: Line 133:
 
{| align="center"
 
{| align="center"
 
|-  
 
|-  
||{{0%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}

Latest revision as of 02:59, 22 March 2009

Baseline - WAYP03

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

WAYP Packet Type QuickNav
WAYP01 - WAYP03 - WAYP06


BaseLine Struct


SHORT:             ObjectOpperandCount
FLOAT:             Complexity
ASTRING:           STFName(Table)
INT:               STF Spacer
ASTRING:           STFName(ID)
USTRING:           CustomName
INT:               Volume
INT:               GenericInt
FLOAT:             XCoordinate
FLOAT:             ZCoordinate
FLOAT:             YCoordinate
BYTE:              ActivatedFlag
LONG:              LocationNetworkID
ASTRING:           PlanetName
USTRING:           WaypointName
BYTE:              NotUsed
ASTRING:           ColorString

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:
    FLOAT:		Complexity
  01:
    ASTRING:		STFName(Table)
    INT:		STF Spacer
    ASTRING:		STFName(ID)
  02:
    USTRING:		CustomName
  03:
    INT:		Volume
  04:
    INT:		GenericInt
  05:
    FLOAT:		XCoordinate
    FLOAT:		ZCoordinate
    FLOAT:		YCoordinate
  06:
    BYTE:		ActivatedFlag
  07:
    LONG:		LocationNetworkID
  08:
    ASTRING:		PlanetName
  09:
    USTRING:		WaypointName
  0A:
    BYTE:		NotUsed
  0B:
    ASTRING:		ColorString
}

Variable Descriptions


ObjectOpperandCount = 12

Complexity: The Complexity of the Object or Schematic to create an object.

STFName: The Name of the Object taken from an STF File Reference.

STF Spacer: Always int32(0) its a spacer between the stf_file and stf_name.

CustomName: A custom specified name for the object. (User created).

Volume: The volume of space the object takes up.

GenericInt: An integer used uniquely in some inherited objects. CellObjects = CellIndex for each Cell in a building SchematicObjects = Quantity of uses in a schematic. Set to 0 for WAYP.

XZYCoordinate: The Location of the Waypoint. This overrides the coordinates in the CreateObjectByCrc().

ActivatedFlag: Set to 1 for activated. 0 for inactive. (Works correctly so you can "hide" them from players until ready too!)

LocationNetworkID: Guessed feature. the "Location" object has a networkID that never worked, but I assume it was intended to overridelocation to be based on the coordinates of an object. Never fully implemented but Im sick of having ?? in documentation for things that didn't work.

PlanetName: The ASCII planet name found in the CRC Tables. Needed to display the waypoint correctly. (just like in the PLAY Obj except it uses the CRC, this uses the string).

WaypointName: Doesn't display, however its a USTRING just like Waypoints, and it DIDNT update my color or planet when I triednthose. Its hard to test the name, but I linked to datapad to try and see it.. didn't change it however. Don't bother updating this really..

ColorString: The ASCII string for the color to use. This is directly translated as shared_waypoint_X.iff Take the part from the iff and that is the color. Any new waypoints I assume will also work this way... Options: green purple white blue yellow orange space


Tags


100% This packet has been completely reversed.

Sample Packet