Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: StarPieceMother

A large rainbow-colored Star Bit. It supports different functions. If connected to a path, it will create a trail of Star Bits when it moves. Otherwise, it remains stationary and can be collected to obtain all Star Bits at once. If it's connected to a path, it requires SW_APPEAR.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Number of Star Bits: The number of Star Bits to be created on its path. Default is 6.

    Obj_arg1FloatBothFalse

    Broken Path Offset: Meant to specify the starting coordinate on the path at which the Star Bits will be created. However, it crashes the game most of the time. Default is 0.

      Obj_arg2FloatBothFalse

      Movement Speed: Sets the rate at which it moves on the path. Default is 10.

        Obj_arg3IntegerBothFalse

        Star Bit Color Frame: The color frame to be used for every Star Bit.

        • -1: Random
        • 0: Purple
        • 1: Yellow
        • 2: Green
        • 3: Blue
        • 4: Red
        • 5: White
        Obj_arg4IntegerBothFalse

        Star Bit Shadow Type: Specifies the shadow properties of every Star Bit.

        • -1: Calculate shadow with gravity direction once
        • 0: Calculate shadow with gravity direction
        • 1: Use no shadow

        Switches

        NameGamesRequired?Description
        SW_APPEARBothFalse

        Appears when this switch is activated.

        SW_DEADBothFalse

        Gets activated after it disappears.

        SW_ABothFalse

        If used, the Star Bits will only be collectable while this switch is activated. If used and the object is not connected to a path, it can only be collected when this switch is activated.

        Setup

        NameGamesRequired?DescriptionValues
        RailBothFalse

        The optional path that it can move on.

          DemoCastBothFalse

          Can take part in a cutscene.