Need Some Scripting Help for Kickers

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #198123
    Siggi
    Participant
      @siggi
      Member

      I need 2 kicker on my new mod, let’s name them Kicker_A and Kicker_B.

      Kicker_A only should catch the ball and Kicker_B only should release it.

      Important : Kicker_B should not catch the ball

      I’d like to use it for a teleportation.

      Can someone show me how to scrip it?

      #198128
      TerryRed
      Moderator
        @terryred
        MemberContributorModerator

        What kind of kicker and where its placed would be a factor that is relevant. Like is one a VUK, or a chute / scoop, etc.

        This isn’t actual proper script…. but…

        Sub KickerA_Hit

        • destroyball when hit (with the right conditions met)
        • Kicker B would createball (triggered only from Kicker A being Hit under the right conditions)
        • then KickerB.solenoidpulse
        • ballsonplayfield = “whatever you want to track them”

        End Sub

        The type of kicker plays a part in terms of if the ball can physically hit the B kicker. Maybe an invisible surface could block it until a ball is created and kicked out of B,etc.

        I’m coming from FP more…but VP and FP are similar in this regard.

         

        1 user thanked author for this post.
        #198140
        Siggi
        Participant
          @siggi
          Member

          What kind of kicker and where its placed would be a factor that is relevant. Like is one a VUK, or a chute / scoop, etc.

          This isn’t actual proper script…. but…

          Sub KickerA_Hit

          • destroyball when hit (with the right conditions met)
          • Kicker B would createball (triggered only from Kicker A being Hit under the right conditions)
          • then KickerB.solenoidpulse
          • ballsonplayfield = “whatever you want to track them”

          End Sub

          The type of kicker plays a part in terms of if the ball can physically hit the B kicker. Maybe an invisible surface could block it until a ball is created and kicked out of B,etc.

          I’m coming from FP more…but VP and FP are similar in this regard.

          I need a normal kickout hole to catch the ball and Kicker_B sould be invissible.

          This is a ROM using table but this kickers sould work without touching the ROM.

          It’s needed just to transport the ball from A to B.

          Attachments:
          #198148
          Tom
          Participant
            @armyaviation
            MemberContributor

            Look at the kickers in escape from the lost world.  The center of the playfield has a kicker that the ball enters and it kicks out another on the 2nd playfield

            1 user thanked author for this post.
            #198167
            32assassin
            Participant
              @32assassin
              Member

              remove the enable  from kicker_B and nothing will happen if the ball hits it

               

              Capture

               

              Sub kickerA_Hit:
              playsound “popper_ball”
              me.DestroyBall
              Me.TimerEnabled = 1
              End Sub

              sub kickerA_Timer
              kickerB.CreateBall :
              kickerB.Kick 180,2
              Me.Timerenabled = 0
              end sub

              see a table you like help me find the resources so that I can finish it
              https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0

              1 user thanked author for this post.
              #198183
              Siggi
              Participant
                @siggi
                Member

                remove the enable from kicker_B and nothing will happen if the ball hits it

                Capture

                Sub kickerA_Hit:

                playsound “popper_ball”

                me.DestroyBall

                Me.TimerEnabled = 1

                End Sub

                sub kickerA_Timer

                kickerB.CreateBall :

                kickerB.Kick 180,2

                Me.Timerenabled = 0

                end sub

                Thank you very much, 32assassin.

                That’s exactly what i need to know.

                Works perfect. :good:

              Viewing 6 posts - 1 through 6 (of 6 total)

              Forums are currently locked.

              ©2024 VPinBall.com

              Log in with your credentials

              Forgot your details?