Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SEESAWS
- Fixed Jul 2017 to correct byte definitions (originally reversed due to bad data)
- Seesaws are defined in their collision headers.
- Firstly, the two bytes at 0x12 define a seesaw. 00 02 is a seesaw, 00 00 is not.
- Secondly, the three bytes at 0xB8 appear to refer to:
- - The sensitivity (higher is more sensitive - negative is reverse)
- - The reset stiffness (lower is looser)
- - The bounds of rotation (higher is less)
- Thirdly, the centre of the seesaw is probably the centre of animation. This will probably need a look though, as the offset at 0xB4 is a similar value.
- The pivot appears to be the X axis as base, but offset by natural rotation.
- SEESAW BRIDGES STORY MODE (STAGE026)
- Offset of second header, 0x3D64
- This is the second seesaw.
- Initial position data:
- 37 6A E1 8B <- ~0
- 00 00 00 00
- 42 B8 00 01 <- ~92
- 00 00
- C0 00 <- 270 degrees
- 00 00
- 00 02 <- Seesaw definition
- At an additional offset of 0xB8 (ie at 0x3E1C):
- 3F 19 99 9A <- 0.6 (this seesaw is less sensitive than the other two)
- 3F 80 00 00 <- 1
- 3F 80 00 00 <- 1
- Offset of third header, 0x4200
- This is the third seesaw.
- Initial position data:
- C2 9F FF FF <- ~-80
- 00 00 00 00
- 41 40 00 0A <- ~12
- 00 00
- 80 00 <- 180 degrees
- 00 00
- 00 02
- At an additional offset of 0xB8 (ie at 0x42B8)
- 00 00 37 54
- 3F 80 00 00 <- 1
- 3F 80 00 00 <- 1
- 3F 80 00 00 <- 1
- Offset of fourth header, 0x469B
- This is the first seesaw.
- 42 A0 00 01 <- ~-80
- 00 00 00 00
- 41 40 00 00 <- 12
- 00 00
- 80 00 <- 180 degrees
- 00 00
- 00 02
- At an additional offset of 0xB8 (ie at 0x4754)
- 3F 80 00 00 <- 1
- 3F 80 00 00 <- 1
- 3F 80 00 00 <- 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement