Directors Cut Wiki : CostumeFiles

DirectorsCutModdingFoundry Categories PageIndex RecentChanges RecentlyCommented Login/Register
Trail: NoteAboutCategories TextElement MeshFiles FlmExtras HeadFiles MeshManip UserSettings CostumeFiles

Oldest known version of this page was edited on 2007-12-11 12:47:29 by Gleem! [Added 010 Template]
Page view:
Stores costume information, for changing wardrobe details of actors.

Technical File Info

//--------------------------------------
//--- 010 Editor v2.1.3 Binary Template
//
// File: LH_cos.bt
// Author: Glen Rickey (Directly adapted from Mark Andrews and Rob Ashton's work)
// Revision: 0.10 
// Purpose: To parse LionHead The Movies Costume .cos Files
//--------------------------------------
struct 	bitFlag
{
	ubyte	Flag	:1 ;
	ubyte	Flag	:1 ;
	ubyte	Flag	:1 ;
	ubyte	Flag	:1 ;
	ubyte	Flag	:1 ;
	ubyte	Flag	:1 ;
	ubyte	Flag	:1 ;
	ubyte	Flag	:1 ;
};
//======================================
struct cos
{
	SetBackColor(cLtGray);
	int	Magic;	
	struct 	
	{
		ubyte	OnSet		:1 ;
		ubyte	OnLot		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown 	:1 ;
		ubyte	Unknown 	:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		
	}Flags1;
	
	struct
	{
		ubyte	UseBody		:1 ;
		ubyte	Unknown		:1 ;	
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
	}Flags2;

	ubyte	TextureCount;
	
	struct
	{
		ubyte	IgnoreHead	:1 ;
		ubyte	Unknown		:1 ;	
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
		ubyte	Unknown		:1 ;
	}Flags3;

	ubyte	Gender; //0 Both, 1 Female, 2 Male

	SetBackColor(cWhite);

	ubyte	Unknown;
	ubyte 	Padding[2];
	
	SetBackColor(cGreen);
	char	BaseMeshName[32];

	SetBackColor(cBlue);
	ubyte	Unk1[96];

	SetBackColor(cLtGray);
	int	MeshCount;
	int	StartYear;
	int	EndYear;

	ubyte	Unk2[12];
	
	ubyte	EndTexture;
	ubyte	Pad[3 ];
	
	struct
	{
		SetBackColor(cWhite);
		char	TexName[32];
		struct 	flags1
		{
			ubyte	Specular	:1 ;
			ubyte	Unknown		:1 ;
			ubyte	Unknown		:1 ;
			ubyte	Limit		:1 ;
			ubyte	AlwaysOn	:1 ;
			ubyte	Unknown		:1 ;
			ubyte	Unknown		:1 ;
			ubyte	Unknown		:1 ;	
		}Flags1;
		ubyte 	Pad1[3];
		float	SliderPos;
		int	Type; //0 Unk, 1 Tex, 2 msh
		int	unk;
		char	SliderName[32];
		struct flags2
		{
			ubyte	UseDDS		:1 ;
			ubyte	Unknown		:1 ;	
			ubyte	Unknown		:1 ;
			ubyte	UseAlpha	:1 ;
			ubyte	Unknown		:1 ;
			ubyte	Unknown		:1 ;
			ubyte	Unknown		:1 ;
			ubyte	Unknown		:1 ;
		}Flags2;
		ubyte	Pad2[3];

		SetBackColor(cLtGray);
		ubyte	Exp[36];
	} Textures[TextureCount];

	struct
	{
		SetBackColor(cWhite);
		char	MeshName[32];
		ubyte	Anchor;
		bitFlag	Flags1;
		ubyte 	Pad1[2];
		float	SliderPos;
		int	Type; //0 Unk, 1 Tex, 2 msh
		int	unk;
		char	SliderName[32];
		bitFlag	Flags2;
		ubyte	Pad2[3];

		SetBackColor(cLtGray);
		float	Unk[9];
	}Meshes[MeshCount];
	if (EndTexture>0)
	{	
		char	unkStr[32];
		char	unkTex[32];
	}
} Cos;
Valid XHTML 1.0 Transitional Valid CSS Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0176 seconds