Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: CubeCameraArea

An area that changes the current camera once the player enters this area. The actual camera parameters are specified in the zone's CameraParam.bcam. The corresponding camera ID label is generated using the format string c:%04x. For example, if your camera area has an Obj_arg0 of 15, the corresponding ID label would be c:000f. The camera can be restricted to take effect only under different circumstances (Obj_arg3).

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Camera ID: Specifies what camera setup to use after entering this area.

    Obj_arg2IntegerBothFalse

    Priority: The camera area with the highest priority and requested categories will take effect.

      Obj_arg3BitfieldBothFalse

      Affected Contexts: Contexts that are affected by camera changes through this area. In SMG2, these values can be combined by adding the values together. If set to 0, the game will set this value to 1. In SMG1, this setting is much more complicated: The lower four bits can be used to specify a single category (0 = Normal, 1 = Underwater, ...). These bits will be ignored if bit 4 or higher is set. These upper bits then correspond to bit field values (16 = Normal, 32 = Underwater, ...).

      • -1: All
      • 1: Normal camera
      • 2: Underwater camera
      • 4: Water surface camera
      • 8: Pull Star camera
      • 16: Flying camera
      • 32: Yoshi camera (SMG2 only)
      • 64: Bulb Yoshi camera (SMG2 only)

      Switches

      NameGamesRequired?Description
      SW_APPEARBothFalse

      Appears when this switch is activated.

      SW_ABothFalse

      If used, the camera will be enabled if this switch is enabled. If it's not activated, it won't disable the camera.

      SW_BBothFalse

      If used and activated, the camera won't be enabled.

      SW_AWAKEBothFalse

      Enables rendering and resumes updates when this switch is active.

      Setup

      NameGamesRequired?DescriptionValues
      BaseMtxFollowerBothFalse

      Can follow another BaseMtxFollowTarget object.