I do not understand what to change to ,move punch it to enter instead of what is mapped to nudge
Sub table1_KeyDown(ByVal Keycode)
If keycode = LeftTiltKey Then Nudge 90, 6:PlaySound SoundFX("fx_nudge", 0), 0, 1, -0.1, 0.25
If keycode = RightTiltKey Then Nudge 270, 6:PlaySound SoundFX("fx_nudge", 0), 0, 1, 0.1, 0.25
If keycode = CenterTiltKey Then Nudge 0, 8:PlaySound SoundFX("fx_nudge", 0), 0, 1, 0, 0.25
If keycode = Fire1 Then Controller.Switch(71) = 1: bLutActive = True
If keycode = Fire2 Then
Controller.Switch(71) = 1
If bLutActive Then NextLUT: End If
End If
If Keycode = LeftFlipperKey then Controller.Switch(84) = 1
If Keycode = RightFlipperKey then Controller.Switch(86) = 1:Controller.Switch(82) = 1
If vpmKeyDown(keycode)Then Exit Sub
If keycode = PlungerKey Then PlaySoundat "fx_PlungerPull", Plunger:Plunger.Pullback
End Sub
Sub table1_KeyUp(ByVal Keycode)
If keycode = Fire1 Then Controller.Switch(71) = 0: bLutActive = False
If keycode = Fire2 Then Controller.Switch(71) = 0
If Keycode = LeftFlipperKey then Controller.Switch(84) = 0
If Keycode = RightFlipperKey then Controller.Switch(86) = 0:Controller.Switch(82) = 0
If vpmKeyUp(keycode)Then Exit Sub
If keycode = PlungerKey Then PlaySoundAt "fx_plunger", Plunger:Plunger.Fire
End Sub
And unless you want to actually swap the LUT levels, you do not need to worry about having keys for both FIRE buttons
by default, fire 2 is R ALT and fire 1 is L CTRL, they are defined in VPMkeys vbs
You have to set up your cab to have those keys of course or edit VPMkeys.vbs to suit
Then you can do both fire and rotate LUT's, cause you wont be holding down both fire buttons by mistake
OR I will give you this 2nd option
Sub table1_KeyDown(ByVal Keycode)
If keycode = LeftTiltKey Then Nudge 90, 6:PlaySound SoundFX("fx_nudge", 0), 0, 1, -0.1, 0.25
If keycode = RightTiltKey Then Nudge 270, 6:PlaySound SoundFX("fx_nudge", 0), 0, 1, 0.1, 0.25
If keycode = CenterTiltKey Then Nudge 0, 8:PlaySound SoundFX("fx_nudge", 0), 0, 1, 0, 0.25
If keycode = LeftMagnaSave Then bLutActive = True
If keycode = LockBarKey Then
Controller.Switch(71) = 1
If bLutActive Then NextLUT: End If
End If
If Keycode = LeftFlipperKey then Controller.Switch(84) = 1
If Keycode = RightFlipperKey then Controller.Switch(86) = 1:Controller.Switch(82) = 1
If vpmKeyDown(keycode)Then Exit Sub
If keycode = PlungerKey Then PlaySoundat "fx_PlungerPull", Plunger:Plunger.Pullback
End Sub
Sub table1_KeyUp(ByVal Keycode)
If keycode = LeftMagnaSave Then bLutActive = False
If keycode = LockBarKey Then Controller.Switch(71) = 0
If Keycode = LeftFlipperKey then Controller.Switch(84) = 0
If Keycode = RightFlipperKey then Controller.Switch(86) = 0:Controller.Switch(82) = 0
If vpmKeyUp(keycode)Then Exit Sub
If keycode = PlungerKey Then PlaySoundAt "fx_plunger", Plunger:Plunger.Fire
End Sub
Now map the lockbar key in VPX key/nudge prefs to some button on your cab
Hit it and PUNCH IT happens
Hold it and then flip the left magnasave and you can rotate through the LUT color/brightness settings
and MagnaSave will not PUNCH IT