Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: YellowChip

A collectable yellow chip. Usually five of these are linked together by a YellowChipGroup to trigger a switch to spawn another object, for example a Launch Star. It's usually stationary but it can move on a path as well.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothTrue

Yellow Chip Group ID: The group ID of this object, the other Yellow Star Chips and their controller.

    Obj_arg2IntegerBothFalse

    Shadow Calculation: If set, the shadow's drop direction will use the object's gravity vector instead of calculating the shadow direction once.

      Obj_arg3BooleanBothFalse

      Inside Bubble?: If true, the chip will be placed inside an Air Bubble.

        Obj_arg4FloatBothFalse

        Shadow Length: Sets the shadow drop length. Default is 2000.

          Obj_arg5IntegerBothFalse

          Shadow Type: Specifies the shadow model type.

          • -1: Sphere
          • 0: Cylinder
          Path_arg4IntegerBothFalse

          Initial Position Type: The object's initial position.

          • -1: Start at nearest position on path
          • 1: Start at nearest path point
          • 2: Start at first path point
          Path_arg5IntegerSMG2False

          Snapping Speed: If used, the object stays at its original position and moves to its actual position on the path. This setting specifies how fast the object snaps back into its original position. The higher the value is, the slower it moves.

            Point_arg0IntegerBothFalse

            Movement Speed / Time: The movement speed the object has starting from this point. If Point_arg7 is set to 1, this specifies the time in frames it takes to reach the next point.

              Point_arg1IntegerBothFalse

              Acceleration Time: The time in frames it takes for the object to reach the movement speed set at this point.

                Point_arg5IntegerBothFalse

                Stop Time: The time in frames the object waits at this point before it continues moving again.

                  Point_arg7IntegerBothFalse

                  Speed Type: Decides whether Point_arg0 specifies the movement speed or the time it takes to reach the next point.

                  • -1: Point_arg0 specifies movement speed
                  • 1: Point_arg0 specifies time until next point
                  SignMotionTypeIntegerBothFalse

                  Shake Start Type: Specifies whether the object will shake before it starts moving or not.

                  • 0: Don't shake
                  • 1: Shakes before moving
                  • 2: Shakes before moving
                  • 3: Don't shake
                  • 4: Shakes before moving
                  • 5: Shakes before moving

                  Switches

                  NameGamesRequired?Description
                  SW_APPEARBothFalse

                  The object will appear when this switch is activated.

                  SW_PARAMSMG2False

                  The path movement speed is adjusted with ParamScale while this switch is activated.

                  SW_AWAKESMG2False

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

                  Setup

                  NameGamesRequired?Description
                  RailBothFalse

                  Specifies the optional path that it can move on.

                  ClippingGroupBothFalse

                  Objects in this group are always clipped together.