Register    Login    Forum    FAQ    PinSimDB.org

Board index » Welcome to GoPinball » General Discussion




Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Wed Jul 31, 2019 10:35 pm 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 2488
Location: Arkansas, USA
Aye, but it seems like Smoke would have provided some directions to do it.

George


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Thu Aug 01, 2019 6:57 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2823
Location: Ontario, Canada
I wonder if Rav can add this as a BAM feature too ?


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Thu Aug 01, 2019 11:08 am 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 2488
Location: Arkansas, USA
It would be nice though we would probably still have to add something to the script anyway.

George


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Thu Aug 01, 2019 1:14 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2823
Location: Ontario, Canada
Not necessarily,
if you look at the new ball and flipper shadows mode , they can be set under "Addons" in BAM menu.

To get ball and flipper shadows to work, all you need is the new bam beta
and this in the code:

Code:
xBAM.CreateAllExt()


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Thu Aug 01, 2019 5:19 pm 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 2488
Location: Arkansas, USA
Yes that is cool! I guess I didn't read Rav's posting close enough.

George


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Mon Aug 05, 2019 2:54 pm 
Offline

Joined: Sun Mar 10, 2019 5:13 pm
Posts: 159
yeah adding the ball sounds would be great.

I've tried to add it to a few tables that didn't have it with 0 luck -

Pinbot
Gilligan's Island


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Tue Aug 13, 2019 7:48 pm 
Offline

Joined: Sun Mar 10, 2019 5:13 pm
Posts: 159
Ok this has been a frustrating experience lol

It's so simple but I'm having no luck.

I've tried adding the rolling ball sound FX 2 different ways and have no luck. I've tried it with Pinbot which is where i feel it would be great.

I've looked at how Slam did it on his ultimate jaws, copied that code which said to launch the external script and nothing. I noticed he didnt have a timer as suggested in the ZRBrollingsounds text file.

Then I attempted at copying and pasting the entire code provided by Smoke for this table here and still nothing.

http://www.pinsimdb.org/pinball/table-23927-star_trek

I have imported the rolling sounds into the table and made sure the names match so i don't know what I'm doing wrong lol


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Tue Aug 13, 2019 8:24 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2823
Location: Ontario, Canada
Did you add the start tracking code under plungerkicker.createball ?

Or WhateverTheNameOfPlungerKicker.createball

Make sure you match the name.

Send me the link of the table you want.
.


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Wed Aug 14, 2019 4:42 am 
Offline

Joined: Sun Mar 10, 2019 5:13 pm
Posts: 159
Trying to add it to this table

http://www.pinsimdb.org/pinball/table-753-pinbot


Top 
 Profile  
 
 Post subject: Re: Rollling Ball Sound Volume
 Post Posted: Wed Aug 14, 2019 10:49 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2823
Location: Ontario, Canada
It was fiddly but I got it to work....
You have to set the music channel for ball Rolling to 8 and the volume level to 1 to so ball sounds don't conflict with music and you can hear it:

Code:

ExecuteGlobal LoadExternalScript ("ZBRrollingballsoundslib.vbs")


'*****************************
'*****************************
' TO ADJUST TO YOUR NEEDS
'*****************************
'*****************************
'ZRBrampHeight=18
'ZRBtablewide = 520

ZRBsoundballchan = 8
ZRBvolNormLevel = 1
'ZRBrollingSound="zfx_ballrollingb2"
'ZRBPitchTunning=-40

ZRBrampSoundballchan = 6  'set to -1 to disable rampsound roll
'ZRBrampVolNormLevel = 0.80
'ZRBrampRollingSound="zfx_ballrolramp"
'ZRBrampPitchTunning=40
'*****************************
'*****************************
' =====================================================================================
' =====================================================================================
' =====================================================================================



Here is the table:
https://www.dropbox.com/s/9m917i5cpskln ... J.fpt?dl=0

If you put an apostrophe in front of all the "playmusic" code
you will hear the rolling sounds clearly...

you can do this by using the replace function and replace all "playmusic" with " 'playmusic"


''''''''''''''''''''''''''''''''''''''''''''''''''
I know George has created music volume mixer code.

But the simple code from the manual is

Code:
PlayMusic( <Integer> Channel, <String> MusicName, <Boolean> Repeat, <Float> Volume, <Integer> StartDelay )


Apparently FP has up to 8 channels for playing music, that is why I chose 8 (so hopefully less likely to conflict with other music)

So as an example:

Code:
PlayMusic 2, "MultiballMusic", TRUE, 0, 2
 


This will Playmusic in channel 2 named "multiballmusic" , it will repeat it when finished, it will play at volume of 0 which is default (1 being the loudest) and there will be a 2 second delay before it plays...


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2, 3  Next

Board index » Welcome to GoPinball » General Discussion


Who is online

Users browsing this forum: No registered users and 11 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: