===== Miscellaneous ===== Documentation for warps and other object-like things that aren't covered by the object database. //(credit goes to Hiccup, mibts, and Gota7. Original documentation is [[http://kuribo64.net/board/thread.php?id=2158|here]])//\\ ---- **Views:**\\ Parameter 1:\\ UUTT\\ UU - Unknown\\ TT: Type\\ 02 - standard camera\\ 04 - rotation only\\ 06 - translation only\\ 07 - pause camera (makes the camera zoom out when the game is paused)\\ (source: mibts, Skelux)\\ **Teleport Source:**\\ TODO: Work out parameters and behaviour\\ XXMX where\\ M - [M]atch with the number of the wanted Teleport Destination\\ (source: Fiachra)\\ **Entrance:**\\ Parameter 1:\\ AAAA where\\ AAAA: Actor to spawn as, excluding 0000, which spawns the player as normal. Unused by all entrances placed in level, maybe used\\ internally by game to spawn actors? Details unknown.\\ Parameter 3:\\ RRRR where\\ RRRR - Starting rotation. How does this differ to/interact with the actual rotation parameter?\\ Parameter 4:\\ MMMM MMMM MVVV VAAA\\ MMMM MMMM M: Mode\\ 0000 0000 0 - Normal\\ 0000 0000 1 - Wingcap\\ 0000 0001 0, 0000 001 1 - Fall in\\ 0000 0010 0 - Normal?\\ 0000 0010 1 - Spin in (like at start of course)\\ 0000 0011 0 - Like 4, but shorter distance travelled\\ 0000 0101 1 - Like coming out of level painting, lets you save, sums up last level entered\\ 0000 0111 0 - Used for "Castle - 1st floor" front door entrances\\ VVV V - View\\ AAA - Area\\ (source: Skawo, Hiccup)\\ **Exit:**\\ Parameter 1:\\ XXXX where\\ XXXX - Rotation/placement. If it is 0 then it will play the painting sound when entered. If it is non-0 and and not in a pipe it will play the standard warp sound. If it is non-0 and inside a pipe it will play a pipe sound. Parameter 2:\\ SSYY where\\ SS - Size\\ YY - Entrance you go to when you die or get a Star or key. Destination map's Star Select ID must be different to Source map? Needs further investigation.\\ (source: Skawo)\\ ---- ===== Documentation for exits: ===== Parameter 1: X rotation (applied before Y rotation)\\ Parameter 2: YXEE where\\ X = scale X ((X + 1) * 0.1 is the side length)\\ Y = scale Y ((Y + 1) * 0.1 is the side length)\\ E = entrance ID when the player exits the level by dying or getting a Star\\ Note: before rotation, the origin is at the BOTTOM CENTER.\\ This means that flat exits (pipes) must be placed at the edge and not the center.\\ Scale does not work in The Secret under the Moat or Over the Rainbows.\\ ---- ===== Entrance Modes 0-15: ===== 0 - Spawns on ground standing.\\ 1 - Wingcap Mario for ? Switch level only, else Mario and other characters fall and take damage.\\ 2 - Mario has Wingcap, other characters Spin in with Star wipe.\\ 3 - Spin in with Circle wipe.\\ 4 - Fall in, Star Wipe.\\ 5 - Fall in, Star Wipe. (Duplicate?)\\ 6 - Fall in, No Wipe.\\ 7 - Fall in, No Wipe. (Duplicate?)\\ 8 - Like jumping out of a pit/pipe, but lets you save.\\ 9 - Like jumping out of a pit/pipe, but lets you save. (Duplicate?)\\ 10 - Spin in, No Wipe.\\ 11 - Acts like painting, makes sound, lets you save.\\ 12 - Acts like painting, makes sound, lets you save. (Duplicate?)\\ 13 - Jumps with fist in air, like coming out of a pipe.\\ 14 - Spawns on ground standing (Castle Door Entrance).\\ 15 - Fall in with Mario Wipe.\\ Seems to repeat after 15 (Based on testing modes 16 and 17).\\ All of these were tested for every character.\\ Numbers were used instead of the binary representations.\\