AddonMapEnts Asset: Difference between revisions

From COD Engine Research
Created page with "__NOTOC__ Category:Assets Category:MW2 Category:MW3 Category:BO2 Category:Ghosts The addon_map_ents asset was added on Modern Warfare 2 and is used to upda..."
 
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
</syntaxhighlight>
</syntaxhighlight>
== Modern Warfare 3 & Black Ops 2 & Ghosts ==
== Modern Warfare 3 & Black Ops 2 & Ghosts ==
These games draw from structures in the [[:MapEnts_Asset|map_ents]], [[:Collision_Map_Asset_(MW3)|col_map (clipMap_t)]]/[[:Collision_Map_Asset_(BO2)|col_map (clipMap_t)]]/[[:Collision_Map_Asset_(Ghosts)|col_map (clipMap_t)]] and [[:Graphics_Map_Asset_(MW3)|gfx_map]]/[[:Graphics_Map_Asset_(BO2)|gfx_map]]/[[:Graphics_Map_Asset_(Ghosts)|gfx_map]] assets. The similarity of these assets tends to mean that an external company is handling this asset.
These games draw from structures in the [[:MapEnts_Asset|map_ents]], [[:Collision_Map_Asset_(MW3)|col_map]]/[[:Collision_Map_Asset_(BO2)|col_map]]/[[:Collision_Map_Asset_(Ghosts)|col_map]] and [[:Graphics_Map_Asset_(MW3)|gfx_map]]/[[:Graphics_Map_Asset_(BO2)|gfx_map]]/[[:Graphics_Map_Asset_(Ghosts)|gfx_map]] assets. The similarity of these assets tends to mean that an external company is handling this asset.
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
struct unknownAddonMapEntsStruct1
{
  char unknown1[0x1C];
  unknownInternalClipMapStruct1 * unknownStruct1;
  char unknown2[0x28];
#ifdef BO2
  int unknown3;
#endif
};
struct AddonMapEnts
struct AddonMapEnts
{
{
Line 35: Line 25:
   char *entityString;
   char *entityString;
   int numEntityChars;
   int numEntityChars;
      unknownInternalMapEnts1 unknownStruct1;
  MapTriggers trigger; //See the MapEnts Asset
      unknownInternalClipMapStruct1 * unknownStruct2;
  ClipInfo *info; //See the Collision Map Asset
      unsigned int unknownCount1;
  unsigned int numSubModels;
      unknownAddonMapEntsStruct1 * unknownStructArray1; //Count = unknownCount1
  cmodel_t *cmodels; //See the Collision Map Asset
      GfxBrushModel * models; //Count = unknownCount1
  GfxBrushModel *models; //See the Graphics Map Asset
};
};
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 05:22, 21 December 2014

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
};