A destroyable crystal that can contain a variety of different items. Except for Coins, Star Bits and Power Stars (SMG2 only), the items are only cosmetic. If the item is set to Power Star, the object also requires a proper setup in the galaxy's Scenario file. The crystal can be destroyed with most of the player's attacks as well as all enemy attacks. If a crystal object is placed inside a PlaneCollisionCube area, it will always load the CrystalCage2D model instead.
Name | Type | Games | Required? | Description | Values | Exclusives? |
---|---|---|---|---|---|---|
Obj_arg0 | Boolean | Both | False | Hide Remains?: If set, the crystals that remain after destroying it will be hidden. | ||
Obj_arg1 | Boolean | Both | False | Play Riddle SFX?: If enabled, it will play the "riddle solved" jingle when destroyed. | ||
Obj_arg2 | Boolean | Both | False | Use Binder?: Enables collision binding if set. | ||
Obj_arg3 | Boolean | Both | False | SW_A Disappear?: If set, it will simply disappear if SW_A gets activated while it is out of view. | ||
Obj_arg4 | Boolean | SMG2 | False | Is Falling?: Determines if the crystal falls when it spawns via SW_APPEAR. |
| |
Obj_arg6 | Integer | Both | False | Toad/Luma Color: The color frame of the Toad or Luma contained inside the cage. | ||
Obj_arg7 | Integer | Both | False | Item Type: The item that is displayed inside the cage. 1 Coin, 5 Star Bits and Power Stars can be spawned directly. It will play special sound effects if it contains a Toad or a Luma. |
|
Name | Games | Required? | Description |
---|---|---|---|
SW_APPEAR | Both | False | Appears when this switch is activated. |
SW_DEAD | Both | False | Gets activated once it is destroyed. |
SW_A | Both | False | Forces the Crystal to be destroyed once this switch gets activated. |
SW_AWAKE | Both | False | Enables rendering and resumes updates when this switch is active. |
Name | Games | Required? | Description | Values | Exclusives? |
---|---|---|---|---|---|
Group | Both | False | Registers crystals of the same object type, but the group is never used for anything. | ||
ClippingGroup | SMG2 | False | Objects in this group are always clipped together. |
| |
AppearPowerStar | SMG2 | False | Spawned after destroying it. Requires Obj_arg7 to be set to 7. | ||
DemoCast | Both | False | Can take part in a cutscene. |
Name | Games | Description |
---|---|---|
Player2Targetable | SMG2 | Can be targeted and destroyed by player 2. |