AddonMapEnts Asset

From COD Engine Research
Jump to: navigation, search

The addon_map_ents asset was added on Modern Warfare 2 and is used to update the map_ents asset (among other assets). It appears on Modern Warfare 2 & 3, Black Ops 2, and Ghosts. It uses many structures that will appear on other asset pages on this wiki. The fact that this asset remains so similar across the two major companies leads to a suspicion that an external company is handling this asset.

Modern Warfare 2

On MW2 only the map_ents asset is updated. Also keep in mind that no addon_map_ents asset has ever been found.

struct AddonMapEnts
{
  const char * name;
  char *entityString;
  int numEntityChars;
       unknownInternalMapEnts1 unknownStruct1;
};

Modern Warfare 3 & Black Ops 2 & Ghosts

These games draw from structures in the map_ents, col_map/col_map/col_map and gfx_map/gfx_map/gfx_map assets. The similarity of these assets tends to mean that an external company is handling this asset.

struct AddonMapEnts
{
  const char * name;
  char *entityString;
  int numEntityChars;
  MapTriggers trigger; //See the MapEnts Asset
  ClipInfo *info;  //See the Collision Map Asset
  unsigned int numSubModels;
  cmodel_t *cmodels; //See the Collision Map Asset
  GfxBrushModel *models; //See the Graphics Map Asset
};