Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: StarPieceGroup

A group of Star Bits that are arranged in a circle or placed along a path.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Number of Star Bits: Amount of Star Bits to be distrbuted along the path or circle. Default is 6.

    Obj_arg1FloatBothFalse

    Circle Placement Radius: The radius of the Star Bit circle. Only used if a path has not been assigned. Default is 400.

      Obj_arg2IntegerBothFalse

      Path Placement Type: Specifies how the Star Bits are placed on the path. This is only used when a path has been assigned.

      • -1: Evenly distribute Star Bits on path
      • 1: Only one Star Bit per path point (ignores Obj_arg0)
      Obj_arg3IntegerBothFalse

      Color Frame: The color frame to be used.

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

      Shadow Type: Specifies the shadow properties.

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

      Time Limit: Specifies how long it takes before the Star Bits will disappear again. Default is -1, which makes the Star Bits appear indefinitely.

        Switches

        NameGamesRequired?Description
        SW_APPEARBothFalse

        The object will appear when this switch is activated.

        SW_DEADBothFalse

        Registered but never used.

        SW_ABothFalse

        If used, the Star Bits will only be collectable while this switch is activated.

        SW_BBothFalse

        Once activated, all Star Bits will fall.

        SW_AWAKEBothFalse

        The object will become visible and resume movement when this switch is activated.

        Properties

        NameGamesRequired?Description
        RailBothFalse

        Can be used to lay out the Star Bits on the path instead of a circle.

        GroupBothFalse

        Registers objects of the same type, but the group is never used for anything.

        ClippingGroupBothFalse

        Objects in this group are always clipped together.

        DemoCastBothFalse

        The object and the Star Bits take part in the cutscene.