Most recent edit on 2009-02-17 12:56:06 by Gleem! [Added the original code back in. Effit, CBA to modify it.]
Additions:
These are the data files that hold all information about the 3D Data the game uses to draw everything, from actors to props to sets.
Technical File Info
010 Editor v2.1.3 Binary Template
File: LH The Movies Mesh file format (.msh)
Author: Glen Rickey (Adapted wholly from Rob Ashton & Mark Andrews work)
Revision: 0.01
Purpose: To parse msh files, for the purpose of troubleshooting
#include "VecMatrix.bt"
#include "CompressedU16.bt"
struct TMMesh
{
} head;
struct
{
} TextureList;
struct
{
} MaterialList;
LOW POLY MESH DEF
Load any Low Poly Meshes
if ( head.ContainsSelection > 0 )
if ( head.Flags2.ContainsCollision > 0 )
if ( head.Flags2.ContainsShadow > 0 )
if ( head.Flags1.ContainsPhysic > 0 )
if ( head.Flags2.ContainsAntiPhysic > 0 )
if ( head.Flags1.ContainsFootprint > 0 )
if ( head.Flags2.ContainsFootprint2 > 0 )
if ( head.Flags2.ContainsRooms > 0 )
if (head.SubMeshCount > 0 )
if (
CountTriangle & 1)
{
uint16 ALIGN;
}
struct Vert
struct Norm
struct UV
}
Bones
if (head.ContainsSkeleton > 0)
{
}
/*
Static Anims ?
if (head.ContainsStaticAnimated > 0)
*/
Submesh Names (Groups)
if (head.Flags3.ContainsNameSubMeshes > 0 | head.ContainsStaticAnimated > 0)
Locations ?
if (head.CountLocations > 0)
Convex Hull ?
if (head.Flags1.ContainsConvexHull > 0 )
{
struct
{
int Size;
int16
Count1;
int16
Count2;
U16F flt[4];
float Pos[6];
struct t1
{
U16F x;
U16F y;
} thing [
Count1];
struct t2
{
int16
Count3;
int16
Count4;
float fl[4];
U16F Iflt[2];
float fl1[
Count3 * 3];
} thing2[
Count1 + 1] <optimize=false>;
if (head.Flags2.ContainsShapes > 0)
} MshFile;
Deletions:
These are the data files that hold all information about the 3D Data the game uses to draw everything, from actors to props to sets.
Technical File Info
%%
Oldest known version of this page was edited on 2007-12-11 12:56:32 by Gleem! [Added 010 Template]
Page view:
These are the data files that hold all information about the 3D Data the game uses to draw everything, from actors to props to sets.
Technical File Info