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

  • (2)
    « »

    This script provides an easy way to take manual control of a ball using the arrow keys.  Ball control for testing or table demonstrations is an often requested feature.  This simple script should meet most of the needs for those requesting this functionality.  Suggestions or additions to this script are welcome!

     

    See Instructions.txt in zip file.

    1.1 Updated common variable names and fixed drain trigger bug

    This topic contains 19 replies, has 10 voices, and was last updated by  roar 6 months, 2 weeks ago.

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

      VPX Manual Ball Control Demo

      This script provides an easy way to take manual control of a ball using the arrow keys.  Ball control for testing or table demonstrations is an often requested feature.  This simple script should meet most of the needs for those requesting this functionality.  Suggestions or additions to this script are welcome!

       

      Like 10+

      Some users who have liked this topic:

      • avatar
      • avatar
      • avatar
      • avatar
      • avatar
      • avatar
      • avatar
      • avatar
      3 users thanked author for this post.
      #57059
       randr 
      Keymaster
      ModeratorMember

      This is AMAZING! But i must have mouse control to be BLOWN AWAY ;)


      Some users who have liked this topic:

      • avatar
      #57091
       BorgDog 
      Participant
      MemberContributorvip

      Dude!

      yeah, that like sums it up.  does it work on ramps and such?  I’ll play with it later today.

       

      edit…. forgot the  :good:  

      #57093
       randr 
      Keymaster
      ModeratorMember

      Works on ramps! It’s great

      #57094
       Nemo 
      Participant

      That’s neat !

      #57096
       STAT 
      Participant
      MemberContributor

      Cool, that is perfect for the VPF Game of the Week Challenge lol ;-)


      Some users who have liked this topic:

      • avatar
      • avatar
      • avatar
      • avatar
      #57097
       randr 
      Keymaster
      ModeratorMember

      Cool, that is perfect for the VPF Game of the Week Challenge lol ;-)

      lmfao!!!


      Some users who have liked this topic:

      • avatar
      • avatar
      #57117
       BorgDog 
      Participant
      MemberContributorvip

      Hey roth, pretty cool stuff should come in handy.  I did run into one small issue however in that you are defining and using variables left and right those are however standard functions for text parsing that I happen to use in my high score routine (stolen from mfuegemann I believe)  I changed all the variables in your script to Cup, Cdown, Cleft, Cright to be consistent and get around that issue.

      Thanks for this.


      Some users who have liked this topic:

      • avatar
      • avatar
      #57118
       rothbauerw 
      Participant
      ContributorMembervip

      Good call out.  I’ll update the script and demo to use less generic names.


      Some users who have liked this topic:

      • avatar
      #57147
       rothbauerw 
      Participant
      ContributorMembervip

      Demo table updated with less generic names.  Also fixed the sub name for the stopcontrol trigger.

      BTW, @randr told me there was something wrong with me.   :cry:  Apparently, according to randr, normal people don’t do things like this.  And my wife agrees with him.  :unsure:

      Maybe it’s true.  But I can’t change who I am. B-)


      Some users who have liked this topic:

      • avatar
      • avatar
      • avatar
      • avatar
      • avatar
      • avatar
      #57153
       randr 
      Keymaster
      ModeratorMember

      @rothbauerw i will say im glad something is wrong with you!


      Some users who have liked this topic:

      • avatar
      • avatar
      #57241
       wrd1972 
      Participant
      Membervip

      This is one seriously bad-ass development tool Roth. Excellent work and thanks. I am certain all of the authors will be leveraging this when making their tables.

      Do you feel that this would be more useful that the kicker tool you recently made? Is there a need to have to kick the ball with force to accomplish a task? I cant really think of one.

      My VP Pincab /MAME Arcade Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia 760GTX (MSI Twin Frozr)

      40" PF Sony gaming LED TV, 22" upper and 19" lower monitors in the backbox - Virtuapin controller w/ analog plunger - Full DOF - Full MAME arcade support

      #57254
       xenonph 
      Participant
      MemberContributor

      This tool is exactly what every table author needs!!

      I spent 4 hours trying to see if a light or trigger on ramp is activating correctly, by playing the table and trying to hit the pinball exactly where it needs to go. Yes walls can help in some instances, but not for all instances.

      This is really great!!!

      Thank you Sir!! :good:   :yahoo:

      #57256
       rothbauerw 
      Participant
      ContributorMembervip

      I think this replaces the test kicker in most instances.  I can think of a few very rare instances where you might want to use a test kicker instead.

      #57272
       wrd1972 
      Participant
      Membervip

      So a question for the Manual ball MOD. You might recall that when I releasedd a few of my recent tables with the kicker MOD added. Some guys ran into issues with their mapped button clashing with the MOD itself.

      So once the manual ball MOD is added. What is the best way to deactivate it prior to release. Would it be possible to script in an intuitive on/off “switch” rather than possibly commenting out a bunch of lines assuming thats what it might take.

      Also, might there be a way to wrap the mod up in some kind of package that once its activated, it can automatically install into any SS table script. I know this might be pie in the sky due to the variances in ways the authors do their scripting. But if the package could search on keywords and add in text, that would make it even better for existing tables.

      My VP Pincab /MAME Arcade Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia 760GTX (MSI Twin Frozr)

      40" PF Sony gaming LED TV, 22" upper and 19" lower monitors in the backbox - Virtuapin controller w/ analog plunger - Full DOF - Full MAME arcade support

      #57317
       rothbauerw 
      Participant
      ContributorMembervip

      I believe Toxie is going to look at adding this script into the VP build.

      The easiest way to deactivate is to comment out the lines in the keyup and keydown sub.  And yes, you could add a simple option variable to turn it on and off.

      Dim enableBallControl

      enableBallControl = 1          ‘1 for on, 0 for off

      Then surround the code in the keyup and keydown sub with:

      if enableBallControl then

      ‘ code in key up sub

      end if

      if enableBallControl then

      ‘ code in keydown sub

      end if

       

      #57605
       toxie 
      Participant
      VP DEV

      @rothbauerw: as it seems to be okay with you, yes, i would add this then to the default table..  :)


      Some users who have liked this topic:

      • avatar
      • avatar
      • avatar
      #57965
       rothbauerw 
      Participant
      ContributorMembervip

      @rothbauerw: as it seems to be okay with you, yes, i would add this then to the default table.. :)

      @toxie Yes, absolutely!


      Some users who have liked this topic:

      • avatar
      • avatar
      • avatar
      #58008
       TerryRed 
      Participant
      MemberContributor

      As someone who has been spoiled by Future Pinball’s “Ball Roller”, having this added into VP will be very good news. It would make it MUCH easier to add DOF or addressable leds to a table…. at least for guys like me who are crappy at pinball.  ;)

       

       

      #58499
       roar 
      Participant
      Member

      Just read about this tool today… I think this will be really useful for creating ROM dumps to colourize games.


      Some users who have liked this topic:

      • avatar
    Viewing 20 posts - 1 through 20 (of 20 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