Line 118: |
Line 118: |
| | 0x24 | | | 0x24 |
| | 0x4 | | | 0x4 |
− | | Start address of component properties | + | | Start address of crane instance properties |
| |- | | |- |
| | 0x28 | | | 0x28 |
| | 0x4 | | | 0x4 |
− | | End address of component properties | + | | End address of crane instance properties |
| |- | | |- |
| | 0x2C | | | 0x2C |
Line 141: |
Line 141: |
| |- | | |- |
| | 0xC0 | | | 0xC0 |
− | | 0x14 | + | | 0x8 |
| | Unknown | | | Unknown |
| + | |- |
| + | | 0xC8 |
| + | | 0xC |
| + | | [[#Crane color|Crane color]] |
| |- | | |- |
| | 0xD4 | | | 0xD4 |
Line 166: |
Line 170: |
| | 0xEC | | | 0xEC |
| | 0x4 | | | 0x4 |
− | | Number of on-screen prizes | + | | Number of on-machine prizes |
| |- | | |- |
| | 0xF0 | | | 0xF0 |
| | 0x4 | | | 0x4 |
− | | Number of properties at 0x23C0 | + | | Number of on-collection prizes |
| |- | | |- |
| | 0xF4 | | | 0xF4 |
| | 0x4 | | | 0x4 |
− | | Number of on-screen attachments | + | | Number of on-machine attachments |
| |- | | |- |
| | 0xF8 | | | 0xF8 |
| | 0x4 | | | 0x4 |
− | | Number of on-screen fixed objects | + | | Number of on-machine fixed objects |
| |- | | |- |
| | 0xFC | | | 0xFC |
Line 194: |
Line 198: |
| | 0x1C40 | | | 0x1C40 |
| | 0x2440 | | | 0x2440 |
− | | [[#Component Properties|Component properties]] | + | | [[#Crane Instance Properties|Crane instance properties]] |
| + | |} |
| + | |
| + | === Crane color === |
| + | This section defines the color of a crane. The color is set with three float32 values with a range from 0 to 1 corresponding to RGB values. |
| + | |
| + | {| class="wikitable" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0xC8 |
| + | | 0x4 |
| + | | Crane red color |
| + | |- |
| + | | 0xCC |
| + | | 0x4 |
| + | | Crane green color |
| + | |- |
| + | | 0xD0 |
| + | | 0x4 |
| + | | Crane blue color |
| |} | | |} |
| | | |
Line 257: |
Line 283: |
| |} | | |} |
| | | |
− | === Component Properties === | + | === Crane Instance Properties === |
− | This section has the properties of all the components (prizes, attachments and fixed objects) and sets how many of them are used within a crane instance. | + | This section has the properties of all the components (prizes, attachments and fixed objects) and defines how many of them are used within a set. |
| | | |
| {| class="wikitable" | | {| class="wikitable" |
Line 268: |
Line 294: |
| | 0x1C40 | | | 0x1C40 |
| | 0x60 | | | 0x60 |
− | | On-screen prize property | + | | On-machine prize property |
| |- | | |- |
| | | | | |
| | 0x60 | | | 0x60 |
− | | Optional on-screen prize properties | + | | Optional on-machine prize properties |
| |- | | |- |
| | 0x23C0 | | | 0x23C0 |
| | 0x60 | | | 0x60 |
− | | Unknown property (prize related?) | + | | On-collection prize property |
| |- | | |- |
| | | | | |
| | 0x60 | | | 0x60 |
− | | Optional unknown properties (prize related?) | + | | Optional on-collection prize properties |
| |- | | |- |
| | 0x2F00 | | | 0x2F00 |
| | 0x60 | | | 0x60 |
− | | On-screen attachment property | + | | On-machine attachment property |
| |- | | |- |
| | | | | |
| | 0x60 | | | 0x60 |
− | | Optional on-screen attachment properties | + | | Optional on-machine attachment properties |
| |- | | |- |
| | 0x3680 | | | 0x3680 |
| | 0x60 | | | 0x60 |
− | | On-screen fixed object property | + | | On-machine fixed object property |
| |- | | |- |
| | | | | |
| | 0x60 | | | 0x60 |
− | | Optional on-screen fixed object properties | + | | Optional on-machine fixed object properties |
| |- | | |- |
| | 0x3E00 | | | 0x3E00 |
Line 307: |
Line 333: |
| |} | | |} |
| | | |
− | ==== On-screen component properties ==== | + | ==== Component properties ==== |
− | All on-screen properties set the visible components on the crane instance. Each component can be set more than once with different properties. | + | All component-related properties set the visible components on the crane instance or the collection. Each component can be set more than once with different properties. |
| | | |
− | In case of prizes, this allows the player to get a prize more than once. | + | In case of prizes, this allows the player to get a prize more than once or repeat it inside the collection. |
| | | |
| Except for the index, all of the properties are saved as float32 values. | | Except for the index, all of the properties are saved as float32 values. |