Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: WaterPressure

A blue cannon that periodically shoots bubbles that trap the player inside upon contact. It cannot be destroyed through any means. The cannon can be set to rotate towards the player.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0FloatBothFalse

Cannon Rotation: The rotation of the cannon in degrees. Default is 0.

    Obj_arg1IntegerBothFalse

    Wait Time: The time in frames before it starts shooting again. Default is 300.

      Obj_arg2FloatBothFalse

      Bubble Speed: The movement speed of an individual bubble. Default is 30.

        Obj_arg3IntegerBothFalse

        Shot Type: Specifies how the object shoots bubbles and whether they are affected by gravity or not. Default corresponds to setting it to 0.

        • 0: Bubbles affected by gravity
        • 1: Bubbles not affected by gravity
        • 3: Rotate towards the player
        Obj_arg7BooleanBothFalse

        Disable Popping?: If set, the player can't pop the bubble by themself.

          Switches

          NameGamesRequired?Description
          SW_APPEARBothFalse

          Appears when this switch is activated.

          SW_ABothFalse

          If used, the cannon will be rotated into its shooting position once this switch gets activated. It will be able to shoot bubbles in this state. Once the switch deactivates again, it enters its resting position again.

          SW_BSMG2False

          If used, it will only be able to shoot bubbles while this switch is activated.

          SW_PARAMSMG2False

          Animations, velocity and update rates are adjusted with ParamScale while this switch is activated.

          SW_AWAKEBothFalse

          Enables rendering and resumes updates when this switch is active.

          Setup

          NameGamesRequired?DescriptionValues
          GroupBothFalse

          Groups several other WaterPressure instances. The one with the longest wait time becomes the "group leader". All instances will start shooting a bubble once the group leader is ready.

            ClippingGroupBothFalse

            Objects in this group are always clipped together.

              CameraBothFalse

              Used when the player is trapped inside a bubble.

                DemoCastBothFalse

                Can take part in a cutscene.

                  Properties

                  NameGamesDescription
                  Player2TargetableBoth

                  The bubbles can be targeted, frozen and popped (SMG2 only) by player 2.