Jump to content

Recommended Posts

Posted (edited)

I absolutely love this table! I am, however, seeing a bug where the ball gets stuck in the left outlane - as reported by someone else on Github:
 

Quote

Ball stucks at left outlane in Star Trek The Next Generation (Williams 1993) VPW Mod if the outlane kickback has happened earlier. Outlane works normally before kickback event.

 

Visual Pinball: v10.8.1 Beta (Rev. 5436 (af26b2d), macos BGFX 64bits)
Star_Trek_The_Next_Generation_Williams_1993_VPW_Mod_v1.1.vpx

Edited by prehensile
  • 4 weeks later...
Posted

@prehensile So I managed to fix this issue by adding one line to the table script. There's this subroutine that starts on line 528:

Sub KickBack(Enabled)
	If enabled Then
		KickbackPlunger.Fire
		KB = True
'		KickBackTimer.Enabled = 1
		PlaysoundAt SoundFX("Kickback", DOFContactors), Kickbackplunger
	Else
	End if
End Sub

What you need to do is add "KickbackPlunger.PullBack" right after the "Else" statement. Like so:

Sub KickBack(Enabled)
	If enabled Then
		KickbackPlunger.Fire
		KB = True
'		KickBackTimer.Enabled = 1
		PlaysoundAt SoundFX("Kickback", DOFContactors), Kickbackplunger
	Else
		KickbackPlunger.PullBack
	End if
End Sub

 

 

Well technically I didn't fix it, Claude did. I was a bit skeptical that it would even work when it suggested me that fix, but I've tried it and it seems to be working as intended, but it might have some unintended consequence I'm not aware of. I'm not exactly happy about the fact that I had to resort to using an LLM to fix this for me but I am not super familiar with VBScript and I just wanted to be able to play this table without any issues.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...