Formats/SSXTricky:PBD Level File: Difference between revisions

no edit summary
m (GlitcherOG moved page PBD Level File to Formats/SSXTricky:PBD Level File: Named Incorrectly)
No edit summary
uint32 NumSplineSegments;
uint32 NumTextureFlips;
uint32 NumModelsNumPrefabs;
uint32 NumParticleModels;
uint32 NumTextures;
uint32 SplineSegmentOffset;
uint32 TextureFlipOffset;
uint32 ModelPointerOffsetPrefabPointerOffset;
uint32 ModelsOffsetPrefabsOffset;
uint32 ParticleModelPointerOffset;
uint32 ParticleModelsOffset;
uint32 Unknown4;
}
</syntaxhighlight>
 
=== '''Instance Data''' ===
<syntaxhighlight lang="c++">
public struct Instance
{
public Matrix4x4 matrix4X4;
public Vector4 Unknown1;
public Vector4 Unknown2;
public Vector4 Unknown3;
public Vector4 Unknown4;
public Vector4 Unknown5;
public Vector4 Unknown6;
public Vector4 Unknown7;
public Vector4 RGBA;
public int ModelID;
public int PrevInstance; //Seems to be used if instances are grouped together for animations (Mainly Fences)
public int NextInstance;
 
public Vector3 LowestXYZ;
public Vector3 HighestXYZ;
 
public uint32 UnknownInt8;
public uint32 UnknownInt9;
public uint32 UnknownInt10;
public uint32 ModelID2;
public uint32 UnknownInt11;
public uint32 UnknownInt12;
public uint32 UnknownInt13;
}
</syntaxhighlight>
 
=== Particle Instances ===
<syntaxhighlight lang="c++" line="1">
public struct ParticleInstance
{
public Matrix4x4 matrix4X4;
public uint32 UnknownInt1;
public Vector3 LowestXYZ;
public Vector3 HighestXYZ;
public uint32 UnknownInt2;
public uint32 UnknownInt3;
public uint32 UnknownInt4;
public uint32 UnknownInt5;
public uint32 UnknownInt6;
}
</syntaxhighlight>