EvilEngine/MINF

From Heavy Iron Modding
Revision as of 20:18, 30 March 2021 by Seil (talk | contribs)
MINF
Model Info
TypeBinary
Games usedThe Incredibles
Source codexModel.h

This asset defines information for enemies and NPCs. For example, they contain the asset IDs of the object's model, animations and possibly other data.

Format

Offset Type Description
0x00 uint32 Magic - MINF
0x04 uint32 NumModelInst - number of model instance entries
0x08 AssetID AnimTableID - ATBL id
0x0C AssetID CombatID - Always null. Not present in Scooby
0x10 AssetID BrainID - only used by jellyfish_pink_bind.MINF. Not present in Scooby
0x14 ModelInst[NumModelInst] Model instances
- byte[] Unknown data

ModelInst

Offset Type Description
0x00 AssetID ModelID - MODL or another MINF
0x04 uint16 Flags
0x06 uint8 Parent
0x07 uint8 Bone
Matrix
0x08 Vector3 Right - usually (1, 0, 0)
0x14 Vector3 Up - usually (0, 1, 0)
0x20 Vector3 At - usually (0, 0, 1)
0x2C Vector3 Pos - usually (0, 0, 0)