Actions

Difference between revisions of "Objects Info Format"

From Populous Wiki

Line 2: Line 2:
  
 
=== Block Format ===
 
=== Block Format ===
UInt16 flags
+
UInt16 flags
Int16 NumFaces
+
Int16 NumFaces
Int16 NumPoints
+
Int16 NumPoints
SByte BucketOffSet
+
SByte BucketOffSet
SByte SeqNum
+
SByte SeqNum
Int32 EditorScale
+
Int32 EditorScale
Int32 StartFace
+
Int32 StartFace
UInt32 EndFace
+
UInt32 EndFace
UInt32 StartPoint
+
UInt32 StartPoint
UInt32 EndPoint
+
UInt32 EndPoint
Int16 ScaledMinsX
+
Int16 ScaledMinsX
Int16 ScaledMinsY
+
Int16 ScaledMinsY
Int16 ScaledMinsZ
+
Int16 ScaledMinsZ
Int16 ScaledMaxsX
+
Int16 ScaledMaxsX
Int16 ScaledMaxsY
+
Int16 ScaledMaxsY
Int16 ScaledMaxsZ
+
Int16 ScaledMaxsZ
SByte ShapeIdx1
+
SByte ShapeIdx1
SByte ShapeIdx2
+
SByte ShapeIdx2
SByte ShapeIdx3
+
SByte ShapeIdx3
SByte ShapeIdx4
+
SByte ShapeIdx4
Int16 ScaledOffSetsX
+
Int16 ScaledOffSetsX
Int16 ScaledOffSetsY
+
Int16 ScaledOffSetsY
Int16 ScaledOffSetsZ
+
Int16 ScaledOffSetsZ

Revision as of 22:36, 7 October 2014

Object data is split into 54 bytes each block contains these parameters.

Block Format

UInt16 flags Int16 NumFaces Int16 NumPoints SByte BucketOffSet SByte SeqNum Int32 EditorScale Int32 StartFace UInt32 EndFace UInt32 StartPoint UInt32 EndPoint Int16 ScaledMinsX Int16 ScaledMinsY Int16 ScaledMinsZ Int16 ScaledMaxsX Int16 ScaledMaxsY Int16 ScaledMaxsZ SByte ShapeIdx1 SByte ShapeIdx2 SByte ShapeIdx3 SByte ShapeIdx4 Int16 ScaledOffSetsX Int16 ScaledOffSetsY Int16 ScaledOffSetsZ