INSO03

From SWGANH Wiki
Jump to: navigation, search

Baseline - INSO03

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

OSNI Packet Type QuickNav
INSO03 - INSO06 - INSO07


BaseLine Struct


SHORT:          ObjOpperandCount
INT:            Opcode
FLOAT:          Complexity
ASTRING:        STF File
INT:            STF Spacer
ASTRING:        STF Name
USTRING:        CustomName
INT:            Volume
CSTRING:        CustomizationString
INT:            ??List
INT:            UpdateCounter
{
 INT:           ??
}
INT:            OptionsBitmask
INT:            Timer(Incap/Prototype)
INT:            ConditionDamage
INT:            MaxCondition
BYTE:           ??
BYTE:           ActiveFlag
FLOAT:          PowerReserves
FLOAT:          PowerCost

Deltas Struct


SHORT:                  UpdateCount
SHORT:                  UpdateType
{
  00:           
    FLOAT:              Complexity
  01:           
    A_STRING:           STF File
    INT:                STF Spacer
    A_STRING:           STF Name
  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:                Timer(Incap/Proto)
  08:           
    INT:                ConditionDamage
  09:           
    INT:                MaxCondition
  0A:           
    BYTE:               ??
  0B:
    BYTE:               ActiveFlag
  0C:
    FLOAT:              PowerReserves
  0D:
    FLOAT:              PowerCost
}

Variable Descriptions


ObjOpperandCount = 14

STFName:

The STF File name for the name and default description of the installation.

DefaultName:

The STF string reference for the installation name.

CustomName:

The override name of the container. Use to display Custom Names.

Customization:

This is the CSTRING used to contain customization variables for this object.

OptionsBitmask:

This bitmask contains flags to set various option aspects.
Note: Installations need 01h set to animate harvesting/manufacturing.

Timer:

Not really needed for this object.

ConditionDamage:

This is the current damage taken by an object.

MaxCondition:

This is the maximum HP(condition) of an object.

ActiveFlag:

This Flag is set to 1 for Active 0 for Inactive.

PowerReserves:

The amount of power/energy put into the installation. Can be decimal (its a float).

PowerCost:

This is a decimal value for the amount of power being consumed PER HOUR of operation. It can be a decimal, but the defaults are integers.

Tags


50% This packet has been partially reversed.

Sample Packet