So my question is, is there a way to use that HEX ID in VPX script? Like example:
If 0x00003 (=1/On/or whatever) Then pupevent 03
Also I've already looked at DOF Config Tool for this table, and no luck.
Edited by BigOnYa, Yesterday, 03:26 PM.
Posted Yesterday, 03:00 PM
Edited by BigOnYa, Yesterday, 03:26 PM.
Posted Yesterday, 07:12 PM
It's been a while now, and I don't remember exactly how I did it.
I searched for the sound IDs using PinMAME32,
then, thanks to some code written by Destruk,
I used the sounds to move the alligator's mouth from the Surf 'n Safari table.
Look for "Sound Subs from Destruk's table", which should be at the end of the scripts.
Posted Today, 03:34 AM
It's been a while now, and I don't remember exactly how I did it.
I searched for the sound IDs using PinMAME32,
then, thanks to some code written by Destruk,
I used the sounds to move the alligator's mouth from the Surf 'n Safari table.
Look for "Sound Subs from Destruk's table", which should be at the end of the scripts.
I tried copying that script from that table:
"Sub TrackSounds
Dim NewSounds, ii, Snd
NewSounds = Controller.NewSoundCommands
If Not IsEmpty(NewSounds) Then
For ii = 0 To UBound(NewSounds)
Snd = NewSounds(ii, 0)
If Snd = 6 Then JawAnim:AnimStep=19"......etc
using the HEX sound numbers, in to this tables script but it does not cue anything in my script from the Rom sounds played.
Oh well, not a big deal, was just curious if was possible. Thanks for responding though and trying to help.
Edited by BigOnYa, Today, 04:05 AM.
Posted Today, 04:36 AM
A Multiball insert light would be easy to tap for a trigger. Lights are the most common way to trigger extra table events linked to the ROM
You could also poll the trough - If bstrough.balls <2 then .... ( for 3 ball trough) and add a delay to the polling after drain if there's a ball-saver.
Edited by bigus1, Today, 04:59 AM.
Posted Today, 04:40 PM
It makes sense to use the altsound IDs directly in scripts, but they're in hexadecimal,
so you need to convert them to decimal to use them in scripts.
You need a timer to run the TrackSounds.
Set MotorCallback = GetRef("GameTimer")
Sub GameTimer
TrackSounds
End Sub
Sub TrackSounds
Dim NewSounds, ii, Snd
NewSounds = Controller.NewSoundCommands
If Not IsEmpty(NewSounds) Then
For ii = 0 To UBound(NewSounds)
Snd = NewSounds(ii, 0)
If Snd = 3 Then pupevent 03
Next
End If
End Sub
Visual Pinball →
VR Discussion →
Visual Pinball VR Support →
3DOF head tracking with virtual glasses and VPXStarted by gamerplayer861 , 19 Feb 2026 |
|
||
Welcome to VPForums →
Pinball Discussion Forum →
Enabling DOF on a VPX table not in DOF databaseStarted by whynotpizza , 14 Feb 2026 |
|
||
Welcome to VPForums →
Pinball Discussion Forum →
VPinballX vs VPinballX64 -- (warning) Not all images were loadedStarted by whynotpizza , 08 Feb 2026 |
|
||
Welcome to VPForums →
Pinball Discussion Forum →
Manually updating VPX and VPinMAMEStarted by whynotpizza , 07 Feb 2026 |
|
||
Visual Pinball Development →
Bug Reports →
Playboy (Bally 1979) isn't loadingStarted by 1stPrototype , 31 Dec 2025 |
|