• Don't forget to rate 1-5 stars! Check the support tab for any help or comments.

  • (2)
    « »

    This file includes a VPX test table with a test kicker and instruction on how to install into your VPX build.

    Features:

    Left and right arrow: set direction of kick Up and down arrow: set power of kick C: Create a ball in the kicker R: Return the ball to the kicker K: Kick the ball

    Step 1:

     

    Copy the test kicker and flasher from the test table and paste into your table.  Both items are part of a collection and clicking one should select both.

     

    Step 2:

     

    Open the collection manager in your table and create a new collection.  Rename the new collection to "testkickercol".  Edit the collection and make sure "Group elements together" is checked.

     

    Step 3:

     

    Select both the kicker and the flasher and add them to the "testkickercol" collection.  This makes it easier to move the items around the table.

     

    Step 4:

     

    Open the image manager in your table and import the "tkarrow.png" image included in the zip file.

     

    Step 5:

     

    Add the following code to the TableName_keydown sub:

     

    '******************************************************

    ' Start Test Kicker 1/3

    '******************************************************

    If keycode = 37 Then TestKick ' K

    If keycode = 19 Then return_to_test ' R return ball to kicker

    If keycode = 46 Then create_testball ' C create ball ball in test kicker

    If keycode = 205 Then TKickAngle = TKickAngle + 3:fKickDirection.Visible=1:fKickDirection.RotZ=TKickAngle'+90 ' right arrow

    If keycode = 203 Then TKickAngle = TKickAngle - 3:fKickDirection.Visible=1:fKickDirection.RotZ=TKickAngle'+90 'left arrow

    If keycode = 200 Then TKickPower = TKickPower + 2:debug.print "TKickPower: "&TKickPower ' up arrow

    If keycode = 208 Then TKickPower = TKickPower - 2:debug.print "TKickPower: "&TKickPower ' down arrow

    '******************************************************

    ' End Test Kicker 1/3

    '******************************************************

    Step 6:

     

    Add the following code to the TableName_keyup sub:

     

    '******************************************************

    ' Start Test Kicker 2/3

    '******************************************************

    If keycode = 205 Then fKickDirection.Visible=0 ' right arrow

    If keycode = 203 Then fKickDirection.Visible=0 'left arrow

    '******************************************************

    ' End Test Kicker 2/3

    '******************************************************

     

    Step 7:

     

    Add the following code to the script outside of any other Sub or Function (best to place it right after the TableName_keyup sub):

     

    '******************************************************

    ' Start Test Kicker 3/3

    '******************************************************

     

    Dim TKickAngle, TKickPower, TKickBall

    TKickAngle = 0

    TKickPower = 10

    Set TKickBall = Nothing

     

    Sub testkick()

    test.kick TKickAngle,TKickPower

    End Sub

     

    Sub create_testball():Set TKickBall = test.CreateBall:End Sub

    Sub test_hit():Set TKickBall=ActiveBall:End Sub

    Sub return_to_test()

    If Not TKickBall Is Nothing then

    TKickBall.velx=0:TKickBall.vely=0:TKickBall.x=test.x:TKickBall.y=test.y-50

    End If:

    End Sub

     

    '******************************************************

    ' End Test Kicker 3/3

    '******************************************************

     

     

    Usage:

     

    If you're using a raised playfield or want to place the kicker on a ramp, you will need to select the test kicker and assign it to the appropriate surface.  You will also need to select the "fKickDirection" flasher and adjust the height accordingly.

     

    Left & Right Arrow:   Change the direction of the kick

    Up & Down Arrow: Increase / Decrease the power of the kicker (open the debugger window to see current power setting)

    C: Create a ball in the test kicker

    R: Returns the last created ball to the test kicker

    K: Kicks the ball

    This topic contains 7 replies, has 5 voices, and was last updated by  Dark 7 months, 2 weeks ago.

    Viewing 8 posts - 1 through 8 (of 8 total)
    • Author
      Posts
    • #53571
       rothbauerw 
      Participant
      ContributorMembervip

      VPX Test Kicker

      This file includes a VPX test table with a test kicker and instruction on how to install into your VPX build.

      Features:

      Left and right arrow: set direction of kick
      Up and down arrow: set power of kick
      C: Create a ball in the kicker
      R: Return the ball to the kicker
      K: Kick the ball


      Some users who have liked this topic:

      • avatar
      1 user thanked author for this post.
      #53580
       randr 
      Keymaster
      ModeratorMember

      get error if i press “R” and didnt press “C” first :) neat test table though!

      #53583
       rothbauerw 
      Participant
      ContributorMembervip

      Yep, user error.  It needs a ball first.   I probably should have included that in the user guide  :mail:

      #53584
       rothbauerw 
      Participant
      ContributorMembervip

      Btw, this was a request from wrd1972. He likes to use this kicker for testing his tables.

      #53585
       randr 
      Keymaster
      ModeratorMember

      I’m teasing about the error but would have thought you would have made sure you can’t R without C first lol ;)

      #53586
       RustyCardores 
      Moderator
      MemberModerator

      Just make sure the test is commented out in any table releases, as the keycodes can sometimes conflict with cab button assignments.  I had that problem with one of wrd’s tables. Something weird would happen with each press of the left flipper (or was it left magnasave?)

      #56998
       HauntFreaks 
      Moderator
      vipContributorMember

      see here is the true beauty of this community….   I enjoy making pretty pictures…. but dudes like this are the true geniuses of the hobby…. blows me about how much brainpower we truly have here… i’ll just stick to making pics…  ;)

      #57023
       Dark 
      Participant
      vipMemberContributor

      Well this should come in handy for JPark since the trex kicker has a pretty specific way of kicking the ball back out.  :good:

      3dcreation

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

    You must be logged in to reply to this topic.

  • You have no permission to download this file.

  • ©2018 VPinBall.com

    Facebook Auto Publish Powered By : XYZScripts.com

    Log in with your credentials

    or    

    Forgot your details?

    Create Account