Jump to content



Photo
- - - - -

Spring Break (Gottlieb 1987) [Visual Pinball X]


  • Please log in to reply
66 replies to this topic

#61 Urko

Urko

    Enthusiast

  • Silver Supporter
  • 339 posts

  • Flag: United Kingdom

  • Favorite Pinball: The Shadow

Posted 04 February 2024 - 08:42 PM

"This table is the gift that keeps on giving  :hmm:"

A little unnecessary the above, lots of work go into every table made and even if we find the odd thing now and again,

i wouldnt really know where to start making a table overall.



#62 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,326 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 04 February 2024 - 08:50 PM

I think the roms sounds of this table just do not let you listen to the rolling sounds. You can increase the sound in the sound manager or you can increase the sound of the rolling sounds in the script.

Here it is an updated script is you prefer to simply replace the script.

 

What I have done is to change a few lines:

 

Function Pitch(ball) ' Calculates the pitch of the sound based on the ball speed
    Pitch = BallVel(ball) * 200
End Function
 
That 200 was only 20, so the pitch was lower than expected.
 
Function BallVel(ball) 'Calculates the ball speed
    BallVel = SQR((ball.VelX ^2) + (ball.VelY ^2) )
End Function
 
Here the Ballvel had an INT in front of the SQR
 
And I have increased the volume on the rolling line:
 
PlaySound("fx_ballrolling" & b), -1, Vol(BOT(b))*25, AudioPan(BOT(b)), 0, Pitch(BOT(b)), 1, 0, AudioFade(BOT(b))
 
I guess you can play a little with that 25, higher or lower until it sounds better.
 
Attached File  script.zip   7.27KB   12 downloads
 

If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#63 Urko

Urko

    Enthusiast

  • Silver Supporter
  • 339 posts

  • Flag: United Kingdom

  • Favorite Pinball: The Shadow

Posted 04 February 2024 - 08:55 PM

Many thanks JP, i shall try the above.

The rom sounds are overpowering , i had to even reduce them in rom itself.


Edited by Urko, 04 February 2024 - 08:56 PM.


#64 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 04 February 2024 - 08:57 PM

@Urko: You're right. I'm sorry, that came across as unnecessarily harsh and flippant. I have nothing but respect for the table creators, and it was meant more as "Argh, I thought I had it working". It came out completely wrong though, and I apologize.

 

Anyway: I downloaded the original unedited table once more, and it doesn't seem to have the problem I described. Weird. Let me try copying JP's code in one more time, maybe I screwed up something when I changed the view. Wouldn't be the first time. :)

 

EDIT: Yep, it works just fine. Turns out I'm the idiot today in more ways than one.


Edited by SixOfTwelve, 04 February 2024 - 09:01 PM.


#65 Urko

Urko

    Enthusiast

  • Silver Supporter
  • 339 posts

  • Flag: United Kingdom

  • Favorite Pinball: The Shadow

Posted 04 February 2024 - 09:10 PM

Awesome now.

As stated, ball roll sounds arent helped with this table down to the fact its a big mash of rom sounds all the time.


Edited by Urko, 04 February 2024 - 09:18 PM.


#66 SixOfTwelve

SixOfTwelve

    Enthusiast

  • Members
  • PipPipPip
  • 100 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: Varies every few weeks, really

Posted 04 February 2024 - 09:12 PM

Thank you once more, JP - it works beautifully now!



#67 BostonBuckeye

BostonBuckeye

    Enthusiast

  • Members
  • PipPipPip
  • 67 posts

  • Flag: United States of America

  • Favorite Pinball: Eight Ball Deluxe

Posted 04 February 2024 - 09:37 PM

 

I think the roms sounds of this table just do not let you listen to the rolling sounds. You can increase the sound in the sound manager or you can increase the sound of the rolling sounds in the script.

Here it is an updated script is you prefer to simply replace the script.

 

What I have done is to change a few lines:

 

Function Pitch(ball) ' Calculates the pitch of the sound based on the ball speed
    Pitch = BallVel(ball) * 200
End Function
 
That 200 was only 20, so the pitch was lower than expected.
 
Function BallVel(ball) 'Calculates the ball speed
    BallVel = SQR((ball.VelX ^2) + (ball.VelY ^2) )
End Function
 
Here the Ballvel had an INT in front of the SQR
 
And I have increased the volume on the rolling line:
 
PlaySound("fx_ballrolling" & b), -1, Vol(BOT(b))*25, AudioPan(BOT(b)), 0, Pitch(BOT(b)), 1, 0, AudioFade(BOT(b))
 
I guess you can play a little with that 25, higher or lower until it sounds better.
 
 

 

Thanks again JP! I will download the new script a little later tonight and try it out, but it sounds like you figured things out.

On another note I am very sad to read that  Masquerade will be your last table for awhile. 😭Thank you so much for all of the great tables you have made over the years.