Reply To: Firepower II (Williams 1983)

#40037
RustyCardores
Moderator
    @rustycardores

    Anyone know how to get ball rolling sound working on this one? I’ve compared scripts with a few tables with working ball rolling sounds and I can’t track down the problem. A real mystery to me!

    Save a backup and then replace the attached code (see .txt file below) in your existing script.  It’s not stupendously loud, but it is there. It doesn’t help that FirePower is a constant noise maker.

    You will see these lines of code…

    Function Vol(ball) ‘ Calculates the Volume of the sound based on the ball speed
    Vol = Csng(BallVel(ball) ^2 / 10)
    End Function

    I’m not sure what the ^2 does, but the 10 is associated with volume. Originally it was 2000 and I couldn’t hear anything, So I tried 0 …that crashed the script lol, so I tried 10 and could hear the rolling.  I tried as low as 0.1 but that didn’t seem to make it any louder.

    Perhaps someone can chime in with what the ^2 means and if it can be used to help?

    Also, I’m unsure of…

    Const tnob = 3 ‘ total number of balls

    How many balls should there be? I originally entered 14 as there are 14 rolling balls sounds in the sound manager (and there is meant to be one sound for each ball) but I thought those sounds might be a left over from another table?

     

    Attachments:

    ©2026 VPinBall.com

    Log in with your credentials

    Forgot your details?