Kuribo64
Views: 7,305,012 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
08-19-17 12:55 PM
Guest:

0 users reading Order of Miscellaneous Objects | 1 bot

Main - General SM64DS hacking - Order of Miscellaneous Objects New reply


mibts
Posted on 01-19-17 08:01 PM Link | #80986
The misc. objects in the level overlay must be in a specific order to prevent glitches such as 8-directional cameras starting with an angle of 164.68505859375 degrees.

The Order:
(2) Path Nodes
(3) Paths
(4) Views
(b) Minimap Tile File
(1) Level Entrances
(6) Teleport Source
(7) Teleport Dest
(8) Fog
(9) Doors
(c) Minimap Scale
(e) (Unknown)
(a) Level Exits

I thought cameras were very mysterious for the longest time before discovering this. Fortunately, reordering the 8-byte object table entries is enough, because no addresses need fixing.

In my example of the 8-directional camera starting with an angle of 164.68505859375 degrees, the Level Entrances table appeared before the Views table, causing the camera to spawn before it knows what view to use.

____________________
Current hack: Excerpt from Super Mario 256


Any map on a flat torus can be colored with at most 7 colors.


Main - General SM64DS hacking - Order of Miscellaneous Objects New reply

Page rendered in 0.050 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 189/189, time: 0.038 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2015-10-07)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.