Map Items (MIF) - ivybridgegp/AphroditeServerWiki GitHub Wiki
MIF items are believes to contain the position of each item (e.g. more ammo, grenades etc.) that spawn on a map.
The data is organised into blocks describing what the item is and where it is located.
The number of blocks in the file isn't stated at the start of the file so the contents are just continuously read until the end of the file
Block Structure
| Name | Size | Description |
|---|---|---|
| ID | uint32 | Unique ID of the block |
| Name | String | Null terminated string |
| Padding | bytes | Padding zeros before the coordinates |
| X coordinate | 4 bytes | X coordinate of item |
| Y coordinate | 4 bytes | Y coordinate of item |
| Z coordinate | 4 bytes | Z coordinate of item |