EvilEngine/MAPR

From Heavy Iron Modding
Revision as of 19:46, 28 March 2021 by Seil (talk | contribs) (Created page with "{{AssetInfobox |subtitle=Material Map |type=Binary |games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of...")
MAPR
Material Map
TypeBinary
Games usedThe Incredibles

A MAPR asset assigns surfaces to certain parts of the JSP mesh, allowing material effects and surface effects (such as out of bounds) on the level model.

Format

The asset data starts with the asset ID, then an int which defines the amount of entries in the MAPR table, then the entries themselves. Each entry has the following format:

Offset Type Description
0x00 AssetID (Surface) Surface to be applied
0x04 int Unknown - this is likely an index into the JSP to choose which mesh the effect will be applied to.