EvilEngine/MINF: Difference between revisions
Content added Content deleted
m (5 revisions imported) |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{AssetInfobox |
|||
{{#vardefine:typeid|MINF}}<nowiki/> |
|||
|subtitle=Model Info |
|||
{{#vardefine:name|Model Info}}<nowiki/> |
|||
|type=[[Binary]] |
|||
{{#vardefine:type|[[Binary]]}}<nowiki/> |
|||
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer |
|||
{{#vardefine:basetype|}}<nowiki/> |
|||
⚫ | |||
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU}}<nowiki/> |
|||
⚫ | |||
{{#vardefine:image|}}<nowiki/> |
|||
</onlyinclude> |
|||
{{AutoAssetInfobox}} |
|||
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. |
||
Line 50: | Line 55: | ||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Revision as of 23:11, 25 May 2021
MINF | |
---|---|
Model Info | |
Type | Binary |
Games used | Night of 100 Frights Battle for Bikini Bottom |
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) |