The current URL is datacrystal.tcrf.net.
EarthBound/Map Data/Minitile Properties: Difference between revisions
No edit summary |
(edit) |
||
Line 1: | Line 1: | ||
Minitile Properties | Minitile Properties | ||
Each minitile can have a variety of properties. This crappy excuse for a | Each minitile can have a variety of properties. This crappy excuse for a table represents all the possible properties that they can have. | ||
table represents all the possible properties that they can have. | |||
I think 0x40 is some sort of alternate solid bit. Suffice it to say that | {| border="1" cellspacing="0" cellpadding="5" align="center" | ||
it's not used in the game. | |0x80 | ||
0x08 and 0x04 can be combined for the deep water property seen in the Deep | |0x40 | ||
Darkness. | |0x20 | ||
|0x10 | |||
|0x08 | |||
|0x04 | |||
|0x02 | |||
|0x01 | |||
|- | |||
|Solid | |||
|?? | |||
|?? | |||
|Door | |||
|Water | |||
|Sweat | |||
|Layer 2 | |||
|Layer 2 (see below) | |||
|- | |||
|} | |||
I think 0x40 is some sort of alternate solid bit. Suffice it to say that it's not used in the game. | |||
0x08 and 0x04 can be combined for the deep water property seen in the Deep Darkness. | |||
You can get all the properties you want simply by adding the values in hex. | You can get all the properties you want simply by adding the values in hex. | ||
Line 19: | Line 31: | ||
worry about diagonals. Say you wanted something like this: | worry about diagonals. Say you wanted something like this: | ||
| | | 00|00|00|00 | | | | 00|00|00|00 | ||
|#|#| | |#|#| For the properties, you'd put 00|80|80|00 | ||
|#|/| 00|80|00|00 | |#|/| 00|80|00|00 | ||
| | | 00|00|00|00 | | | | 00|00|00|00 | ||
Line 28: | Line 40: | ||
following tile property diagram will have layer 2 enabled: | following tile property diagram will have layer 2 enabled: | ||
01|01|01|01 | 01|01|01|01<br> | ||
01|01|01|01 | 01|01|01|01<br> | ||
03|03|03|03 | 03|03|03|03<br> | ||
03|03|03|03 | 03|03|03|03 | ||
Also, | Also, | ||
00|01|00|00 | 00|01|00|00<br> | ||
00|01|01|01 | 00|01|01|01<br> | ||
00|03|01|01 | 00|03|01|01<br> | ||
00|03|03|03 | 00|03|03|03 | ||
works. If you're placing another tile under it on the map, you need 03s | works. If you're placing another tile under it on the map, you need 03s | ||
in all | in all minitiles that are directly under at least two Layer 2 minitiles. | ||
Like this. | Like this. | ||
01|01|01|01 | 01|01|01|01<br> | ||
01|01|01|01 | 01|01|01|01<br> | ||
03|03|03|03 | 03|03|03|03<br> | ||
03|03|03|03 | 03|03|03|03 | ||
03|03|03|03 | 03|03|03|03<br> | ||
03|03|03|03 | 03|03|03|03<br> | ||
03|03|03|03 | 03|03|03|03<br> | ||
03|03|03|03 | 03|03|03|03 |
Revision as of 18:39, 15 April 2007
Minitile Properties
Each minitile can have a variety of properties. This crappy excuse for a table represents all the possible properties that they can have.
0x80 | 0x40 | 0x20 | 0x10 | 0x08 | 0x04 | 0x02 | 0x01 |
Solid | ?? | ?? | Door | Water | Sweat | Layer 2 | Layer 2 (see below) |
I think 0x40 is some sort of alternate solid bit. Suffice it to say that it's not used in the game. 0x08 and 0x04 can be combined for the deep water property seen in the Deep Darkness. You can get all the properties you want simply by adding the values in hex.
The game engine automatically makes lines between similar tiles, so don't worry about diagonals. Say you wanted something like this:
| | | 00|00|00|00 |#|#| For the properties, you'd put 00|80|80|00 |#|/| 00|80|00|00 | | | 00|00|00|00
Enabling Layer 2 is confusing, so I'll explain that too. For the top two rows of minitiles, you'll only use the 0x01 bit. All minitiles below them using layer 3 need both layer 2 bits. So all minitiles in the following tile property diagram will have layer 2 enabled:
01|01|01|01
01|01|01|01
03|03|03|03
03|03|03|03
Also,
00|01|00|00
00|01|01|01
00|03|01|01
00|03|03|03
works. If you're placing another tile under it on the map, you need 03s in all minitiles that are directly under at least two Layer 2 minitiles. Like this.
01|01|01|01
01|01|01|01
03|03|03|03
03|03|03|03
03|03|03|03
03|03|03|03
03|03|03|03
03|03|03|03