Difference between revisions of "WAYP03"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
Line 73: Line 73:
 
===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.
 +
 +
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===

Revision as of 21:52, 15 June 2008

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:		??
ASTRING:	STFName(ID)
USTRING:	CustomName
INT:		Volume
INT:		GenericInt(CellID,SchematicQuantity)(not used here)
FLOAT:		XCoordinate
FLOAT:		ZCoordinate
FLOAT:		YCoordinate
BYTE:		ActivatedFlag
LONG:		LocationNetworkID(doesn't work)
ASTRING:	PlanetName
USTRING:	WaypointName(doesn't display)
BOOL:		??(doesn't do anything)
ASTRING:	ColorString

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:
    FLOAT:		Complexity
  01:
    ASTRING:		STFName(Table)
    INT:		??
    ASTRING:		STFName(ID)
  02:
    USTRING:		CustomName
  03:
    INT:		Volume
  04:
    INT:		GenericInt(CellID,SchematicQuantity)(not used here)
  05:
    FLOAT:		XCoordinate
    FLOAT:		ZCoordinate
    FLOAT:		YCoordinate
  06:
    BYTE:		ActivatedFlag
  07:
    LONG:		LocationNetworkID(doesn't work)
  08:
    ASTRING:		PlanetName
  09:
    USTRING:		WaypointName(doesn't display)
  0A:
    BOOL:		??(doesn't do anything)
  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.

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


0% This packet has not been reversed.

Sample Packet