:good: Ball drop sounds have always been a bit of a challenge and a pain to add to a table.  Recently, @cyberpez and I came up with drag and drop code that can quickly be added to any table, much the same way as JP’s ball rolling code is added.

The code is simple.  Add the following to the ball rolling sub:

‘***Ball Drop Sounds***

If BOT(b).VelZ < -1 and BOT(b).z < 55 and BOT(b).z > 27 Then ‘height adjust for ball drop sounds
PlaySound “fx_ball_drop” & b, 0, ABS(BOT(b).velz)/17, AudioPan(BOT(b)), 0, Pitch(BOT(b)), 1, 0, AudioFade(BOT(b))
End If

Then add ball drop sounds similar to ball rolling sounds:



Examples can be found in the new Funhouse beta and Pinbot.  A sample table is attached.

BallDrop Sample Table

  1. randr 2 years ago


  2. Thalamus 2 years ago

    Saw it for the first time in a Funhouse beta and tried it on a few table. Jaw dropping. Simple to implement and adds so much !

  3. wrd1972 2 years ago

    This mod really adds that something extra to the table. Especially of you get lots of airballs like on AFM and FH.

  4. toxie 2 years ago

    Would it be okay to add this to the default example table?

  5. Author
    rothbauerw 2 years ago

    @toxie Absolutely, yes!

  6. toxie 2 years ago

    Thanks guys, i added it!

  7. randr 2 years ago

    Ive now used this in 2 builds. Thanks Roth!

  8. Ben Logan2 2 years ago

    Really cool, Roth.

  9. jipeji16 1 year ago

    Very cooooool !!! ;) ;) ;) Big Thanks !!! ;) ;)

  10. jipeji16 1 year ago

    Wow !! Top top top !!!! ;) ;) ;) Thanks a lot !!! ;)

Leave a reply

©2021 VPinBall.com

Log in with your credentials


Forgot your details?

Create Account

The Vpinball app