EvilEngine/MAPR: Difference between revisions

no edit summary
m (Seil moved page MAPR to EvilEngine/MAPR)
No edit summary
 
Line 13:
 
==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:
 
===zMaterialMapAsset===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || [[AssetID]] ([[SURF|Surface]]) || '''Surface to be appliedid''' || Asset ID of MAPR.
|-
| 0x04 || uint || '''count''' || Amount of entries.
| 0x04 || int || '''Unknown''' - this is likely an index into the JSP to choose which mesh the effect will be applied to.
|}
 
====zMaterialMapEntry====
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || [[AssetID]] || '''surfaceAssetID''' || Asset ID of Surface to be applied
|-
| 0x04 || intuint || '''UnknownmaterialIndex'''|| - thisThis is likely an index into the JSP to choose which mesh the effect will be applied to.
|}
 
2,079

edits