: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:

fx_ball_drop0
fx_ball_drop1
fx_ball_drop2
fx_ball_drop3
fx_ball_drop4
fx_ball_drop5

…..

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

BallDrop Sample Table

8 Comments
  1. randr 7 months ago

    genuis!

  2. Thalamus 7 months 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 7 months 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 5 months ago

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

  5. Author
    rothbauerw 5 months ago

    @toxie Absolutely, yes!

  6. toxie 5 months ago

    Thanks guys, i added it!

  7. randr 4 months ago

    Ive now used this in 2 builds. Thanks Roth!

  8. Ben Logan2 3 months ago

    Really cool, Roth.

Leave a reply

©2019 VPinBall.com

WP2Social Auto Publish Powered By : XYZScripts.com
Vpinball.com

Log in with your credentials

or    

Forgot your details?

Create Account