Emblem Set Asset
The emblemset asset is used on Black Ops 1 and 2 to predefine emblems.
Black Ops 1
struct EmblemLayer
{
int cost;
int unlockLevel;
int unlockPLevel;
};
struct EmblemCategory
{
const char *name;
const char *description;
};
struct EmblemIcon
{
GfxImage *image;
const char *description;
float outlineSize;
int defaultColor;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
int sortKey;
unsigned int category;
};
struct EmblemBackground
{
Material *material;
const char *description;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
};
struct EmblemSet
{
int colorCount;
int layerCount;
EmblemLayer *layers;
int categoryCount;
EmblemCategory *categories;
int iconCount;
EmblemIcon *icons;
int backgroundCount;
EmblemBackground *backgrounds;
int backgroundLookupCount;
__int16 *backgroundLookup;
};Black Ops 2
struct EmblemIcon
{
GfxImage *image;
const char *description;
float outlineSize;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
int sortKey;
unsigned __int16 iconType;
unsigned __int16 category;
};
struct EmblemBackground
{
Material *material;
const char *description;
int cost;
int unlockLevel;
int unlockPLevel;
int unclassifyAt;
int sortKey;
unsigned __int16 bgCategory;
int mtxIndex;
};
struct EmblemCategory
{
const char *name;
const char *description;
};
struct EmblemIconType
{
const char *name;
const char *description;
};
struct EmblemBGCategory
{
const char *name;
const char *description;
};
struct EmblemLayer
{
int cost;
int unlockLevel;
int unlockPLevel;
};
struct EmblemSet
{
int colorCount;
int layerCount;
EmblemLayer *layers;
int categoryCount;
EmblemCategory *categories;
int iconTypeCount;
EmblemIconType *iconTypes;
int bgCategoryCount;
EmblemBGCategory *bgCategories;
int iconCount;
EmblemIcon * icons;
int backgroundCount;
EmblemBackground * backgrounds;
int backgroundLookupCount;
short * backgroundLookup;
};