Difference between revisions of "CREO04"

From SWGANH Wiki
Jump to: navigation, search
(Deltas Struct)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{PageHeader|Baselines|CREO04}}
+
{{PageHeader|Baseline|CREO04}}
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
Line 13: Line 13:
  
 
<pre>
 
<pre>
SHORT: ObjOpperandCount
+
SHORT: ObjOpperandCount
FLOAT: ??(MovementRatio)
+
FLOAT: AccelerationMultiplierBase
FLOAT: ??(MovementRatio)
+
FLOAT: AccelerationMultiplierMod
INT: EncumberanceHAMListSize
+
INT: EncumberanceHAMListSize
INT: UpdateCounter
+
INT: UpdateCounter
 
{
 
{
  INT: EncumberanceHAMValue
+
  INT: EncumberanceHAMValue
 
}
 
}
INT: SkillModListSize
+
INT: SkillModListSize
INT: UpdateCounter
+
INT: UpdateCounter
 
{
 
{
  BYTE: ??
+
  BYTE: LeftoverFromDelta
  ASTRING: SkillModString
+
  ASTRING: SkillModString
  INT: SkillModValue
+
  INT: SkillModBaseValue
  INT: ??
+
  INT: SkillModModifier
 
}
 
}
FLOAT: ??(AccelerationRatio)
+
FLOAT: SpeedMultiplierBase
FLOAT: ??(AccelerationRatio)
+
FLOAT: SpeedMultiplierMod
LONG: ListenToID
+
LONG: ListenToID
FLOAT: Accel/Deccel/Speed
+
FLOAT: RunSpeed
FLOAT: ??
+
FLOAT: SlopeModAngle
FLOAT: ??(ENT_RELATED)
+
FLOAT: SlopeModPercent
FLOAT: TurnRadius
+
FLOAT: TurnRadius
FLOAT: ??MountSpeed
+
FLOAT: WalkSpeed
FLOAT: ??
+
FLOAT: WaterModPercent
INT: ??ListSize
+
INT: GroupMissionCriticalObjectsListSize
INT: UpdateCounter
+
INT: GroupMissionCriticalObjectsUpdateCounter
 
{
 
{
  LONG: ??
+
  LONG: MissionOwnerID
 +
LONG: CriticalObjectID
 
}
 
}
 
</pre>
 
</pre>
Line 52: Line 53:
 
SHORT: UpdateType
 
SHORT: UpdateType
 
{
 
{
   00:
+
   00:
     INT: ??(MovementRatio)
+
     INT: AccelerationMultiplierBase
   01:
+
   01:
     INT: ??(MovementRatio)
+
     INT: AccelerationMultiplierMod
 
   02:
 
   02:
 
     INT: EncumberanceHAMListSize
 
     INT: EncumberanceHAMListSize
Line 63: Line 64:
 
       {
 
       {
 
         00:
 
         00:
           SHORT: ??
+
           SHORT: EncumberanceHAMBar
 
         01:
 
         01:
           SHORT: EncumberanceHAMBars
+
           SHORT: EncumberanceHAMBar
           INT:         EncumberanceHAMValue
+
           INT: EncumberanceHAMValue
 
         02:
 
         02:
           SHORT: ??
+
           SHORT: EncumberanceHAMBar
           INT:         ??
+
           INT: EncumberanceHAMValue
 
         03:
 
         03:
 
           SHORT: ListSize
 
           SHORT: ListSize
Line 84: Line 85:
 
       {
 
       {
 
         00:
 
         00:
           ASTRING:     SkillModString
+
           ASTRING: SkillModString
           INT:         ??
+
           INT: SkillModBaseValue
           INT:         ??
+
           INT: SkillModModifier
 
         01:
 
         01:
           ASTRING:     SkillModString
+
           ASTRING: SkillModString
           INT:         ??
+
           INT: SkillModBaseValue
           INT:         ??
+
           INT: SkillModModifier
 
       }
 
       }
 
     }
 
     }
   04:
+
   04:
     INT: ??(AccelerationRatio)
+
     INT: SpeedMultiplierBase
   05:
+
   05:
     INT: ??(AccelerationRatio)
+
     INT: SpeedMultiplierMod
   06:
+
   06:
 
     LONG: ListenToID
 
     LONG: ListenToID
   07:
+
   07:
     INT: Accel/Deccel/Speed
+
     INT: RunSpeed
   08:
+
   08:
     INT: ?? (connection with 09?)
+
     INT: SlopeModAngle
   09:
+
   09:
     INT: ??(EntertainerRelated)
+
     INT: SlopeModPercent
   0A:
+
   0A:
 
     INT: TurnRadius
 
     INT: TurnRadius
   0B:
+
   0B:
     INT: ?? (MountSpeed)
+
     INT: WalkSpeed
   0C:
+
   0C:
     INT: ??
+
     INT: WaterModPercent
 
   0D:
 
   0D:
     INT: ??ListSize
+
     INT: GroupMissionCriticalObjectsListSize
     INT: UpdateCounter
+
     INT: GroupMissionCriticalObjectsUpdateCounter
 
     {
 
     {
 
       BYTE: SubType
 
       BYTE: SubType
 
       {
 
       {
 
         00:
 
         00:
           LONG:         ??
+
           LONG: MissionOwnerID
           LONG:         ??
+
           LONG: CriticalObjectID
 
         01:
 
         01:
           LONG:         ??
+
           LONG: MissionOwnerID
           LONG:         ??
+
           LONG: CriticalObjectID
 
       }
 
       }
 
     }
 
     }
 
}
 
}
</pre>
 
 
===Sample Packet===
 
----
 
<pre>
 
 
</pre>
 
</pre>
  
Line 155: Line 151:
 
*TurnRadius:
 
*TurnRadius:
 
:This is the radius at which the character is allowed to turn at.
 
:This is the radius at which the character is allowed to turn at.
 +
 +
*Deceleration:
 +
:This is a float that determines how fast you slow down.
 +
:The smaller the Float the faster you slow down.  NGE is set to 1.55
 +
:Pre-CU was something like .5 to .9
  
 
===Tags===
 
===Tags===
Line 165: Line 166:
 
|}
 
|}
  
 +
===Sample Packet===
 
----
 
----
 +
<pre>
 +
</pre>

Latest revision as of 15:09, 17 March 2009

Baseline - CREO04

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

CREO Packet Type QuickNav
CREO01 - CREO03 - CREO04 - CREO06


BaseLine Struct


SHORT:			ObjOpperandCount
FLOAT:			AccelerationMultiplierBase
FLOAT:			AccelerationMultiplierMod
INT:			EncumberanceHAMListSize
INT:			UpdateCounter
{
 INT:			EncumberanceHAMValue
}
INT:			SkillModListSize
INT:			UpdateCounter
{
 BYTE:			LeftoverFromDelta
 ASTRING:		SkillModString
 INT:			SkillModBaseValue
 INT:			SkillModModifier
}
FLOAT:			SpeedMultiplierBase
FLOAT:			SpeedMultiplierMod
LONG:			ListenToID
FLOAT:			RunSpeed
FLOAT:			SlopeModAngle
FLOAT:			SlopeModPercent
FLOAT:			TurnRadius
FLOAT:			WalkSpeed
FLOAT:			WaterModPercent
INT:			GroupMissionCriticalObjectsListSize
INT:			GroupMissionCriticalObjectsUpdateCounter
{
 LONG:			MissionOwnerID
 LONG:			CriticalObjectID
}

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:
    INT:		AccelerationMultiplierBase
  01:
    INT:		AccelerationMultiplierMod
  02:
    INT:		EncumberanceHAMListSize
    INT:		UpdateCounter
    {
      BYTE:		SubType
      {
        00:
          SHORT:	EncumberanceHAMBar
        01:
          SHORT:	EncumberanceHAMBar
          INT:		EncumberanceHAMValue
        02:
          SHORT:	EncumberanceHAMBar
          INT:		EncumberanceHAMValue
        03:
          SHORT:	ListSize
          {
            INT:	EncumberanceHAMValue
          }
      }
    }
  03:
    INT:		SkillModListSize
    INT:		UpdateCounter
    {
      BYTE:		SubType
      {
        00:
          ASTRING:	SkillModString
          INT:		SkillModBaseValue
          INT:		SkillModModifier
        01:
          ASTRING:	SkillModString
          INT:		SkillModBaseValue
          INT:		SkillModModifier
      }
    }
  04:
    INT:		SpeedMultiplierBase
  05:
    INT:		SpeedMultiplierMod
  06:
    LONG:		ListenToID
  07:
    INT:		RunSpeed
  08:
    INT:		SlopeModAngle
  09:
    INT:		SlopeModPercent
  0A:
    INT:		TurnRadius
  0B:
    INT:		WalkSpeed
  0C:
    INT:		WaterModPercent
  0D:
    INT:		GroupMissionCriticalObjectsListSize
    INT:		GroupMissionCriticalObjectsUpdateCounter
    {
      BYTE:		SubType
      {
        00:
          LONG:		MissionOwnerID
          LONG:		CriticalObjectID
        01:
          LONG:		MissionOwnerID
          LONG:		CriticalObjectID
      }
    }
}

Variable Descriptions


Obj_OperandCount = 14


  • EncumberanceHAMList:
This is the 6 value HAM list of the subpools that recieve
a reduction due to armor encumbrance.
  • SkillModList:
This is a list of all the Skill Modifiers this object has.
  • ListenToID:
This is an Object ID of the entertainer object you are listening to.
  • Accel/Deccel/Speed:
This is the rate at which the character moves/accelerates. Needs more testing.
  • TurnRadius:
This is the radius at which the character is allowed to turn at.
  • Deceleration:
This is a float that determines how fast you slow down.
The smaller the Float the faster you slow down. NGE is set to 1.55
Pre-CU was something like .5 to .9

Tags


75% This packet has been partially reversed.

Sample Packet