Metatiles: Difference between revisions

Jump to navigation Jump to search
No change in size ,  2 December 2009
Line 5: Line 5:
== Inserting Metatiles Into Levels ==
== Inserting Metatiles Into Levels ==


If a level that you're making will contain Metatiles, they should be added last because if the editor attempts to read the Hex ID of the Metatiles. The editor won't recognize the alien tile and will come up with a [[Memory Access Violation]]. It is recommended to place tiles you'd recognize to replace with Metatiles.
If a level that you're making will contain Metatiles, they should be added last because if the editor attempts to read the Hex ID of the Metatiles, the editor won't recognize the alien tile and will come up with a [[Memory Access Violation]]. It is recommended to place tiles you'd recognize to replace with Metatiles.


To change a tile to a Metatile, open up XVI32 and look at the data. The tiles are read in two bytes, followed by some 0's. Eg: 64 00 00 00 2C 01 00 00 64 00 00 00.... 2C 01 represents a water tile. If you want to change this to invisible water, change 2C 01 to 2D 01. Be careful, because you might change something wrong, causing the level to be designed the way you didn't want it. To see the tile IDs, look at the Metatile list found by the bottom of the page.
To change a tile to a Metatile, open up XVI32 and look at the data. The tiles are read in two bytes, followed by some 0's. Eg: 64 00 00 00 2C 01 00 00 64 00 00 00.... 2C 01 represents a water tile. If you want to change this to invisible water, change 2C 01 to 2D 01. Be careful, because you might change something wrong, causing the level to be designed the way you didn't want it. To see the tile IDs, look at the Metatile list found by the bottom of the page.
277

edits

Navigation menu