Difference between revisions of "CREO03"

From SWGANH Wiki
Jump to: navigation, search
(BaseLine Struct)
(Deltas Struct)
Line 52: Line 52:
 
{
 
{
 
   00:
 
   00:
     FLOAT: ??
+
     FLOAT: Complexity
 
   01:
 
   01:
     A_STRING:          NameSTF
+
     A_STRING:          STFName
 
     INT: ??
 
     INT: ??
     A_STRING:          Name
+
     A_STRING:          DefaultName
 
   02:
 
   02:
 
     U_STRING: CustomName
 
     U_STRING: CustomName
Line 69: Line 69:
 
       BYTE: SubType
 
       BYTE: SubType
 
       {
 
       {
         00:
+
         00:(remove)
 
           INT:         ??
 
           INT:         ??
         01:
+
         01:(add)
 
           INT: ??
 
           INT: ??
 +
        02:(clearall)
 
       }
 
       }
 
     }     
 
     }     
Line 103: Line 104:
 
       BYTE: SubType
 
       BYTE: SubType
 
       {
 
       {
         00:
+
         00:(remove)
           SHORT: ??
+
           SHORT: HAMBarIndex
         01:
+
         01:(add)
           SHORT: WoundHAMBar
+
           SHORT: HAMBarIndex
           INT:         WoundHAMValue
+
           INT:         HAMValue
         02:
+
         02:(change)
           SHORT: WoundHAMBar
+
           SHORT: HAMBarIndex
           INT:         WoundHAMValue (with red lightning animation)
+
           INT:         HAMValue
         03:
+
         03:(resetall)
           SHORT: ListSize
+
           SHORT: NewListSize
 
           {
 
           {
             INT: WoundHAMValue
+
             INT: HAMValue
 
           }
 
           }
 +
        04:(clearall)
 
       }
 
       }
 
     }
 
     }

Revision as of 02:55, 9 April 2007

CREO Packet Type QuickNav
CREO01 - CREO03 - CREO04 - CREO06


BaseLine Struct


SHORT:		ObjectOpperandCount
FLOAT:		Complexity
ASTRING:	STFName
INT:		??
ASTRING:	DefaultName
USTRING:	CustomName
INT:		Volume
CSTRING:	Customization
INT:		??ListSize
INT:		UpdateCounter
{
 INT:		??
}
INT:		OptionsBitmask
INT:		IncapTimer
INT:		ConditionDamage
INT:		MaxCondition
BYTE:		??
BYTE:		Posture
BYTE:		FactionRank
LONG:		OwnerID
FLOAT:		Height
INT:		BattleFatigue
LONG:		StatesBitmask
INT:		WoundHAMListSize
INT:		UpdateCounter
{
 INT:		WoundHAMValue
}

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:		
    FLOAT:		Complexity
  01:		
    A_STRING:           STFName
    INT:		??
    A_STRING:           DefaultName
  02:		
    U_STRING:		CustomName
  03:		
    INT:		Volume
  04:		
    A_STRING:           Customization
  05:		         
    INT:		??ListSize
    INT:		UpdateCount
    {
      BYTE:		SubType
      {
        00:(remove)
          INT:	        ??
        01:(add)
          INT:		??
        02:(clearall)
      }
    }     
  06:		
    INT:		OptionsBitmask
  07:		
    INT:		IncapTimer
  08:		
    INT:		ConditionDamage
  09:		
    INT:		MaxCondition
  0A:		
    BYTE:		??
  0B:		
    BYTE:		Posture
  0C:		
    BYTE:		FactionRank
  0D:		
    LONG:		OwnerID
  0E:		
    INT:		Height
  0F:		
    INT:		BattleFatigue
  10:		
    INT:		StatesBitmask
  11:
    INT:		WoundHAMListSize
    INT:		UpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          SHORT:	HAMBarIndex
        01:(add)
          SHORT:	HAMBarIndex
          INT:	        HAMValue
        02:(change)
          SHORT:	HAMBarIndex
          INT:	        HAMValue
        03:(resetall)
          SHORT:	NewListSize
          {
            INT:	HAMValue
          }
        04:(clearall)
      }
    }
}

Variable Descriptions


ObjectOpperandCount = 18


SpeciesSTF: The STF File information for the creatures name and default description.

Name: The name of the creature. There is a default STF and a custom Unicode name. This is the name that will display when set. Use to display Custom Names and Player Names.

Customization: This is the CSTRING used to contain customization variables for this object. Appearance data appears here.

OptionsBitmask: This bitmask contains flags to set various option aspects such as converse, vendor, mount, etc.

IncapTimer: This sets the incap timer on this creature when it becomes incapacitated.

ConditionDamage: This is the current damage taken by a vehicle creature object(and possibly others..)

MaxCondition: This is the maximum HP(condition) of a vehicle creature object.

Posture: This is an ID of the current posture stance of the creature. Refer to the Posture.iff for values.

FactionRank: This byte sets the current rank of the creature object with their faction. Refer to the FactionRanks for values.

OwnerID: This ID contains the ID of the object that owns this object. This is used for pets and vehicles.

Height: This is the height/scale of the object from its original model.

BattleFatigue: This is the value of the objects current battle fatigue.

StatesBitmask: This bitmask contains flags for player states. Refer to the States.iff for values.

WoundHAMList: This list contains the wound values for each HAM bar.

Tags


100% This packet has been completely reversed.

To Do


Identify unknown variables