Difference between revisions of "INSO03"
(→BaseLine Struct) |
|||
| Line 12: | Line 12: | ||
---- | ---- | ||
<pre> | <pre> | ||
| − | |||
SHORT: ObjOpperandCount | SHORT: ObjOpperandCount | ||
INT: Opcode | INT: Opcode | ||
| Line 35: | Line 34: | ||
FLOAT: PowerReserves | FLOAT: PowerReserves | ||
FLOAT: PowerCost | FLOAT: PowerCost | ||
| − | |||
| − | |||
</pre> | </pre> | ||
Revision as of 23:08, 28 November 2007
|
BaseLine Struct
SHORT: ObjOpperandCount
INT: Opcode
FLOAT: Complexity
ASTRING: STFFileName
INT: ??
ASTRING: STFString
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: 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: Timer(Incap/Proto)
08:
INT: ConditionDamage
09:
INT: MaxCondition
0A:
BYTE: ??
0B:
BYTE: ActiveFlag
0C:
FLOAT: PowerReserves
0D:
FLOAT: PowerCost
}}}
Sample Packet |
Variable DescriptionsObjOpperandCount = 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
|