Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: Coin

One of the game's main collectibles. There are two variants: Coins (Coin) and Purple Coins (PurpleCoin). Normal Coins can restore one health point if collected by the player. Purple Coins do not restore health, though. Purple Coins can only be used in Purple Comet scenarios or appropriately configured Scenario files. Normal Coins won't appear during Daredevil (Dark) Comets. If they are stored inside a bubble, they will also restore the player's air when underwater. Spins slower when placed underwater.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg3BooleanBothFalse

Shadow Calculation: If set, the shadow will be calculated at all times and the game takes the shadow range into account when clipping.

    Obj_arg4IntegerBothFalse

    Pose Type: Defines how to position and rotate the Coin. May also connect the Coin to the collision below in SMG2.

    • -1: Rotation & shadow direction affected by gravity
    • 0: Rotation ignores gravity & shadow direction affected by gravity
    • 1: Attach to collision below & shadow direction not affected by gravity (SMG2 only)
    Obj_arg5FloatBothFalse

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

      Obj_arg6IntegerBothFalse

      Shadow Type: Specifies the shadow model type.

      • -1: Sphere
      • 0: Circle
      • 1: Cylinder
      Obj_arg7BooleanBothFalse

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

        Switches

        NameGamesRequired?Description
        SW_APPEARBothFalse

        Appears when this switch is activated.

        SW_BBothFalse

        Kills the Coin if this switch gets activated.

        SW_AWAKEBothFalse

        Enables rendering and resumes updates when this switch is active.

        Setup

        NameGamesRequired?DescriptionValues
        ClippingGroupSMG2False

        Objects in this group are always clipped together.

          Properties

          NameGamesDescription
          ScoreAttackSMG2

          This object scores 100 points in The Chimp's challenges.

          Player2TargetableSMG2

          Can be targeted and collected by player 2.

          MirrorActorBoth

          A mirrored version of this object is created for mirror reflection setups if placed inside a MirrorArea.

          DemoSimpleCastBoth

          Continues movement during cutscenes, NPC conversations, etc.