Not sure if we have a thread for this already; if we do, I couldn't find it and would like to request merging this one into it.
Anyway, this is a thread for basically posting information about actor variables and properties that isn't yet on the wiki. Why not post it to the wiki directly? Because one might not be 100% sure about what they've found out, or because the information is incomplete, or another such reason... like it is for what I'm about to post.
So, OoT actor 0x011B, the Navi information spot. First of all, the "variable" broken down into its bits:
T?CFFFFF MMMMMMMM
[*]T, bit 15: Trigger type. If this bit is set, the information spot is triggered manually by pressing C-up when prompted by Navi, if it is clear, Navi's information pops up automatically.
[*]?, bit 14: Unknown
[*]C, bit 13: Clear on exit. If set, this appears to clear the flag this spot is attached to on leaving the scene.
[*]F, bits 12-8: Flag number. What flag this spot is attached to.
[*]M, bits 7-0: Navi message number, as already documented in the big actor list on the wiki.
Also, what are commonly an actor's rotation values have different meaning here, too. X rotation, for example, is the trigger radius. The higher the value, the further away this information spot gets triggered from. For example, the "see down below this web" spot from the Deku Tree uses 0x28 here, which is a radius that's just a bit bigger than the physical shaft in the room geometry, while ex. 0x48 allows you to trigger the information spot from halfway between the dungeon entrance and shaft, and 0x70 allows triggering from just beyond the entrance. The other two rotation values, Y and Z, are also set to non-zero values in some of the information spots in the Deku Tree, but I do not know what they're used for.
And to blatantly advertise SceneNavi's versatility, an actor definition for this can easily be written in a matter of a minute or two, if you know the properties (like above) and a bit about data types (byte, uint16, etc) and bit operations.
Question
xdaniel
Not sure if we have a thread for this already; if we do, I couldn't find it and would like to request merging this one into it.
Anyway, this is a thread for basically posting information about actor variables and properties that isn't yet on the wiki. Why not post it to the wiki directly? Because one might not be 100% sure about what they've found out, or because the information is incomplete, or another such reason... like it is for what I'm about to post.
So, OoT actor 0x011B, the Navi information spot.
First of all, the "variable" broken down into its bits:
T?CFFFFF MMMMMMMM
[*]
T, bit 15: Trigger type. If this bit is set, the information spot is triggered manually by pressing C-up when prompted by Navi, if it is clear, Navi's information pops up automatically.[*]?, bit 14: Unknown[*]C, bit 13: Clear on exit. If set, this appears to clear the flag this spot is attached to on leaving the scene.[*]F, bits 12-8: Flag number. What flag this spot is attached to.[*]M, bits 7-0: Navi message number, as already documented in the big actor list on the wiki.EDIT, as per mzxrules: naviIcon = ((Variable & 0x8000) > 0); switchflag = (byte)((Variable & 0x3F00) >> 8); dialog = (byte)(Variable & 0xFF);
Also, what are commonly an actor's rotation values have different meaning here, too. X rotation, for example, is the trigger radius. The higher the value, the further away this information spot gets triggered from. For example, the "see down below this web" spot from the Deku Tree uses 0x28 here, which is a radius that's just a bit bigger than the physical shaft in the room geometry, while ex. 0x48 allows you to trigger the information spot from halfway between the dungeon entrance and shaft, and 0x70 allows triggering from just beyond the entrance. The other two rotation values, Y and Z, are also set to non-zero values in some of the information spots in the Deku Tree, but I do not know what they're used for.
And to blatantly advertise SceneNavi's versatility, an actor definition for this can easily be written in a matter of a minute or two, if you know the properties (like above) and a bit about data types (byte, uint16, etc) and bit operations.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts