Jump to content



Photo
- - - - -

Automatic ball controll

Ball control magnets velocity

  • Please log in to reply
8 replies to this topic

#1 Johan Brodd

Johan Brodd

    Hobbyist

  • Members
  • PipPip
  • 26 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: Visual Pinball X

  • PS3 Gamer Tag: PS4 tag: jobromedia.

Posted 03 August 2016 - 05:45 AM

So I take it several of you guys have played, and maybe even beaten the Addams Family pinball game.

 

I'm working on a Halloween themed table, within it there is a mode called ghost hour. What I would really love to do is to apply random course changes to the balls. Just like the magnets in the Addams Family game mentioned above.

 

I know about nudge, but that shakes the picture a bit too much. Is there any other way to do this via VBS?

 

Thanks in advance.



#2 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 03 August 2016 - 06:24 AM

look at the zombie ball in dracula and how it works...


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#3 Johan Brodd

Johan Brodd

    Hobbyist

  • Members
  • PipPip
  • 26 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: Visual Pinball X

  • PS3 Gamer Tag: PS4 tag: jobromedia.

Posted 03 August 2016 - 10:43 AM

Sure thing. Provide a link and I'll look into it.



#4 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 03 August 2016 - 08:12 PM

http://www.vpforums....s&showfile=5501

 

there is a VP10 elsewhere on the interwebs


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#5 Johan Brodd

Johan Brodd

    Hobbyist

  • Members
  • PipPip
  • 26 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: Visual Pinball X

  • PS3 Gamer Tag: PS4 tag: jobromedia.

Posted 03 August 2016 - 08:45 PM

So I tried that download link provided.
 

Sorry we couldn't find that!

 

An internal error occurred. Please contact an administrator



#6 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 03 August 2016 - 09:01 PM

Link works for me.  Yes, you can manually control ball position or ball velocity

 
Example to move the ball around x,y,z co-ordinates.
kicker1_hit()
  Set theball = activeball
end sub
 
sub example1_timer()
  theball.x = theball.x + 10
  theball.y = theball.y + 10
  theball.z = 0
end sub
 
or modify the ball velocity in x,y,z direction
 
trigger1_hit()
  Set theball2 = activeball
end sub
 
sub example2_timer()
  theball2.velx = theball2.velx * 1.1
  theball2.vely = theball2.vely * 0.5
  theball2.velz = 0
end sub


#7 Johan Brodd

Johan Brodd

    Hobbyist

  • Members
  • PipPip
  • 26 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: Visual Pinball X

  • PS3 Gamer Tag: PS4 tag: jobromedia.

Posted 04 August 2016 - 09:16 AM

Strange. Well I have to look it up then.



#8 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 04 August 2016 - 09:51 AM

at some point in this video you will see it,...happen

 


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#9 Johan Brodd

Johan Brodd

    Hobbyist

  • Members
  • PipPip
  • 26 posts
  • Location:Stockholm, Sweden

  • Flag: Sweden

  • Favorite Pinball: Visual Pinball X

  • PS3 Gamer Tag: PS4 tag: jobromedia.

Posted 08 August 2016 - 05:26 PM

Got it fixed. Thanks everybody for your outstanding help.







Also tagged with one or more of these keywords: Ball, control, magnets, velocity