SCAN (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
→Logbook Category
>Darkeye No edit summary |
>Aruki |
||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
''This article is for the SCAN format from Metroid Prime. For other revisions of this format, see [[SCAN (File Format)]].'' | |||
The '''SCAN file format''' describes scannable objects. It is a relatively simple format and has a static size. | |||
__TOC__ | __TOC__ | ||
Line 52: | Line 52: | ||
==== Logbook Category ==== | ==== Logbook Category ==== | ||
There are | There are six possible values: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 72: | Line 72: | ||
| 4 | | 4 | ||
| Research | | Research | ||
|- | |||
| 5 | |||
| Artifacts | |||
|} | |} | ||
Line 101: | Line 104: | ||
| 4 | | 4 | ||
| long | | long | ||
| '''Width'''; 0 = no animation | |||
|- | |- | ||
| 0x10 | | 0x10 | ||
| 4 | | 4 | ||
| long | | long | ||
| '''Height'''; 0 = no animation | |||
|- | |- | ||
| 0x14 | | 0x14 | ||
| 4 | | 4 | ||
| | | float | ||
| '''Interval'''; 0.0 = no animation | |||
|- | |- | ||
| 0x18 | | 0x18 | ||
| 4 | | 4 | ||
| float | | float | ||
| '''Fade Duration'''; 0.0 = no fade | |||
|- | |- | ||
| 0x1C | | 0x1C | ||
Line 123: | Line 126: | ||
==== Image Position ==== | ==== Image Position ==== | ||
There are 20 possible values for the scan image's position; there are ten for the left side, and ten for the right: | There are 20 possible values for the scan image's position; there are ten for the left side, and ten for the right: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 237: | Line 235: | ||
|- | |- | ||
|} | |} | ||
<gallery mode=packed heights=200px> | |||
File:Scan_offsets_1.png|Image positions 0x00, 0x01, and 0x02 | |||
File:Scan_offsets_3.png|Image positions for 0x04, 0x06, 0x0E, and 0x10 | |||
File:Scan_offset_101.png|Image positions for 0x03, 0x05, and 0x0F. Note that 0x03 appears only for this scan (Omega Pirate's projectiles) and no others. | |||
File:Scan_offsets_10.png|Image positions for 0x09 and 0x13 | |||
File:Scan_position_10000.png|This unused Chozo Elder scan (hacked onto Parasite Queen) shows image positions 0x0A and 0x0D. This scan is the only one where these positions are used. | |||
File:Scan_position_99.png|Image positions for 0x0B and 0x0C (unused) | |||
File:Scan_offset_11.png|Image positions for 0x07 and 0x11 (unused) | |||
File:Scan_offset_12.png|Image positions for 0x08 and 0x12 (unused) | |||
</gallery> | |||
==== Fly In Behavior ==== | |||
The first scan image to appear (based on the appearance percent value) will "fly in" from the side of the screen toward the center. The remaining images will "fade in" without moving. The only exception to this is when the first image to appear is a "blank" image with no associated [[TXTR (Metroid Prime)|TXTR]]. In this case, no image will fly in (i.e., all images will fade in). | |||
==== Scan Animations ==== | |||
[[Image:AnimatedscanFinal.gif|thumb|The terminal with an animated scan image in the Map Facility.]] | |||
An extremely small number of scans display animated images in Metroid Prime. In the final version of the game, only a terminal in the Map Facility displays an animated image. In the demo version of the game, the aforementioned terminal scan and the Parasite Queen scan both display animated images. For most SCAN files, the last 32 bits of the scan image entry are zeroed out, but for the animated scans, these 32 bits have actual values in them. Strangely, the terminal directly to the left of the animated terminal in the Map Facility also has non-zero values for these 32 bits, even though it does not display any animated images. | |||
[[Category:File Formats]] | [[Category:File Formats]] | ||
[[Category:Metroid Prime]] | [[Category:Metroid Prime]] |