Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: SpaceMine

A space mine that explodes upon contact. However, it can be safely destroyed with the Rainbow power-up, Star Bits, the Orange Luma's Spin Attack, Yoshi's projectiles, and explosions caused by enemies (e.g. Bullet Bills).

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Shadow Type: Specifies whether to use a shadow or not. Default is -1.

  • -1: Don't use shadow
  • 0: Use shadow, calculated only once
  • 1: Use shadow, calculated all the time
Obj_arg1BooleanBothFalse

Use Collision Binder?: If set, it will use a collision binder which makes it react to collision.

    Obj_arg2IntegerSMG2False

    Item Type: The item(s) that it drops when destroyed with one of various attacks. Default is -1.

    • -1: Nothing
    • 0: 3 Star Bits
    • 1: 1 Coin
    • 2: 1-Up Mushroom
    Path_arg1IntegerBothFalse

    Movement Type: How the object behaves once it reaches the last path point.

    • -1: Stops at last point
    • 1: Moves back towards first point
    • 2: Warps back to first point
    Path_arg2IntegerBothFalse

    Indicator Dots Type: Specifies whether the orange indicator dots should be used and how they are displayed.

    • -1: Don't use indicator dots
    • 1: Draw dots on path
    • 2: Draw dots but disappear one by one when passed by
    • 3: Use bigger dots for path points
    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_DEADBothFalse

            Gets activated when it explodes.

            SW_BBothFalse

            If used, the object won't move until this switch gets activated.

            SW_PARAMSMG2False

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

            SW_AWAKEBothFalse

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

            Setup

            NameGamesRequired?Description
            RailBothFalse

            The path that it moves on.

            ClippingGroupBothFalse

            Objects in this group are always clipped together.

            DemoCastBothFalse

            The object takes part in the cutscene.

            Properties

            NameGamesDescription
            YoshiLockOnTargetSMG2

            This object can be targeted and licked by Yoshi.