Thanks for the suggestions I’ll take a look at them this evening. I may have to get some help on the volume question. Graphics update will obviously be easier :-). Best Regards, Walamab
I’ve simplified the sound code to do away with the variables and just made it so that the sound always fires. For the bumps which are just a low level background thing that you feel as well as hear, I personally find this approach works well, but others may wish to retain the variables.
If you look in the collections manager, you will see a collection named ‘Rubbers’. Click EDIT and you will then see the items contained within the collection. These items (provided that each have “Hit Event” enabled in the options) will fire the sound as per the following (simplified) code in the script (note that I am calling a different sound, I just like it better for bumps)…
Sub Rubbers_Hit(idx)
PlaySound “rubber_hit_2”, 0, .25, Pan(ActiveBall), 0, Pitch(ActiveBall), 1, 0
End Sub
.25 is the important number here, as that is the volume level. I have found inserting the number 1 here will give full volume, while .01 will give the lowest, before becoming inaudible with the 0 setting. On my cab .25 is just right, but this will vary from cab to cab, from output device to output device. So perhaps .5 might be the best default “starting point” for all users?
Note that items may be added to the collection or removed. Collections can be renamed or even new additional collections can be created. ie If you wanted a different set of rubbers to carry a different sound (lets call it ‘rubber_hit_10’), then a collection ‘Rubbers2’ can be created and only the items needed be placed within. Then the following Sub routine should be added to the script to call on the sound required…
Sub Rubbers2_Hit(idx)
PlaySound “rubber_hit_10”, 0, .25, Pan(ActiveBall), 0, Pitch(ActiveBall), 1, 0
End Sub
PLEASE NOTE: I do NOT know how to code and know bugger all regarding this issue. I have just “tinkered” with the above the create the sound I wanted from my cab. I am more than happy to be corrected, as I am here to learn. :)
You need to login in order to like this post: click here

