Super Mario Galaxy Object Database

Objects | Classes | Occurrences

Class: TubeSlider

A controller that sets up a tubular slide section. Its path lays out the shape and ground of the slide. There is no visual representation of it, so a separate model has to be created. Various specific tube slider objects can be linked to it using GeneratorId. The compatible objects will be placed around the tube's path as configured by the many arguments. If placed in BigTree2Galaxy, short jingles will be played when the player reaches the end of the slide.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatSMG2False

Default Tube Radius: The tube's radius to be used when the radius at a specific point hasn't been specified. Default is 500.

    Obj_arg1IntegerSMG2False

    Default Ground Type: The ground type to be used when the ground type at a specific point hasn't been specified. Default is 0.

    • 0: Normal
    • 1: Ice
    • 2: Slow
    • 3: Damage
    • 4: Normal
    • 5: Normal
    • 6: Wood
    Obj_arg6IntegerSMG2False

    Camera Constraints: Specifies what camera constraints to use.

    • -1: Camera is placed behind player
    • 1: Camera is placed higher
    Point_arg0IntegerSMG2False

    Tube Radius: The tube's radius at this point. Default is 500.

      Point_arg1IntegerSMG2False

      Primary Ground Type: The ground type to be used between this and the next path point. Default corresponds to setting this to 0.

      • 0: Normal
      • 1: Ice
      • 2: Slow
      • 3: Damage
      • 4: Normal
      • 5: Normal
      • 6: Wood
      Point_arg2FloatSMG2False

      Primary Valid Starting Angle: The angle at which the primary ground begins. Default is 0.

        Point_arg3FloatSMG2False

        Primary Valid Degrees: The angle of primary valid ground that the player can slide on. Goes counter-clockwise. Default is 360.

          Point_arg4BooleanSMG2False

          Interpolate Arguments?: If set, the values corresponding to Point_arg2, Point_arg3, Point_arg6, and Point_arg7 will be interpolated at this path segment (the line between this and the next point). This is done by interpolating the respective arguments of this and the next point using the length of the path segment.

            Point_arg5IntegerSMG2False

            Edge / Ground Type: If Point_arg6 and Point_arg7 are used, this specifies the ground type of the secondary tube chunk. Otherwise, this specifies whether the player falls off the left and right edges.

            • 0: Normal
            • 1: Ice
            • 2: Slow
            • 3: Damage
            • 4: Normal
            • 5: Normal
            • 6: Wood
            • 50: Enable both edges
            • 51: Enable left edge
            • 52: Enable right edge
            Point_arg6FloatSMG2False

            Secondary Valid Starting Angle: The angle at which the secondary ground begins. Default is 0.

              Point_arg7FloatSMG2False

              Secondary Valid Degrees: The angle of secondary valid ground that the player can slide on. Goes clockwise. Default is 0.

                Switches

                NameGamesRequired?Description
                SW_ASMG2False

                Gets activated when the player is on the slide; gets deactivated when the player leaves the slide again.

                Setup

                NameGamesRequired?Description
                RailSMG2True

                Defines the tube's shape.

                CameraSMG2False

                Used when the player is sliding on this slide.