And I return again with another custom level. This time, it's a bit more challenging and the theme is that Peach's Castle theme.
This wasn't just a level, though. This level actually has more custom stuff than you wouldn't believe. I finally understood how custom paths and path nodes work, so I put in 2 of them (the raft, and the moving lava block) and volia, they worked perfectly. But this time, I'm going to show you the internal parts of this level.
Entrances
Sprites
The entire block with sprites can be found here.
Locations
Now the new part, paths and path nodes...
Paths
Offset 0x00 is the ID of the Path, so 01 is 1 and 02 is 2.
Offset 0x03 is the Path Index, which means if path #1 has 2 paths, the path index for path #2 would be 2, and that's how it finds out how many paths there are.
Offset 0x05 is the number of nodes present.
Offset 0x07 is the looping flag, if set to 02 it will loop. 00 is no looping.
Path Nodes
(oh, it's 20 bytes per row, this makes it make more sense.)
These are a bit more tricky. Let's just use the first 0x14 bytes for this example. This is 1 path node.
Offsets 0x00 and 0x01 are the X position
Offsets 0x02 and 0x03 are the Y position
0x04 through 0x0B aren't really known atm, but they are Acceleration, Delay, and Speed. They're floats, and floats are stupid.
So I hope showing all this helped a bit, still continuing hacking this game!
~MrRean
This wasn't just a level, though. This level actually has more custom stuff than you wouldn't believe. I finally understood how custom paths and path nodes work, so I put in 2 of them (the raft, and the moving lava block) and volia, they worked perfectly. But this time, I'm going to show you the internal parts of this level.
Entrances
Locations
Now the new part, paths and path nodes...
Paths
Offset 0x00 is the ID of the Path, so 01 is 1 and 02 is 2.
Offset 0x03 is the Path Index, which means if path #1 has 2 paths, the path index for path #2 would be 2, and that's how it finds out how many paths there are.
Offset 0x05 is the number of nodes present.
Offset 0x07 is the looping flag, if set to 02 it will loop. 00 is no looping.
Path Nodes
(oh, it's 20 bytes per row, this makes it make more sense.)
These are a bit more tricky. Let's just use the first 0x14 bytes for this example. This is 1 path node.
Offsets 0x00 and 0x01 are the X position
Offsets 0x02 and 0x03 are the Y position
0x04 through 0x0B aren't really known atm, but they are Acceleration, Delay, and Speed. They're floats, and floats are stupid.
So I hope showing all this helped a bit, still continuing hacking this game!
~MrRean