EvilEngine/MINF: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|subtitle=Model Info |
|subtitle=Model Info |
||
|type=[[Binary]] |
|type=[[Binary]] |
||
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer |
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer |
||
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xModel.h xModel.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. |
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. |
Revision as of 20:18, 30 March 2021
MINF | |
---|---|
Model Info | |
Type | Binary |
Games used | The Incredibles |
Source code | xModel.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) |