Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: RandomEffectObj

A particles effect with a clipping radius of 1500 (SMG1) / 500 (SMG2) units and a far clipping distance of 400 (SMG1) / 50 (SMG2) meters. The particles will emit after a random amount of frames, where the randomization interval is [Obj_arg0 - Obj_arg1, Obj_arg0 + Obj_arg1]. The particle data needs to be specified in AutoEffectList, where UniqueName matches the object's name. It can also use sound effects. EffectEmitStart specifies the sound effect used when it starts functioning. EffectEmitting specifies the looping sound effect that is played while particles are emitting.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg0IntegerBothFalse

Average Time: The average time between emissions. Default is 600. In SMG2, this will also invert the cutscene function, meaning that the object will disappear if its cutscene action gets triggered.

    Obj_arg1IntegerBothFalse

    Time Deviation: The random time deviation. Default is 180.

      Switches

      NameGamesRequired?Description
      SW_ABothFalse

      If used, it will emit particles only if this switch is activated.

      SW_AWAKESMG2False

      Enables rendering and resumes updates when this switch is active.

      Setup

      NameGamesRequired?DescriptionValues
      GroupBothFalse

      Groups objects of the same kind, but the group is never used for anything.

        ClippingGroupBothFalse

        Objects in this group are always clipped together.

          DemoCastBothFalse

          If used, it will start functioning once its cutscene action gets triggered. In SMG2, it will stop functioning if Obj_arg0 is set.

            Properties

            NameGamesDescription
            DemoSimpleCastBoth

            Continues movement during cutscenes, NPC conversations, etc.