Lockdown Bar Fire button
I installed a Fire Button on my Lockdown bar last week and discovered that most tables need to be modified to actually support the Fire button. Here is a summary of the changes I have been making along the way
Goals:
Add support for the Fire button or an RGB Fire button.. Update the table script so it works if you hook up the Fire button to VPX LockDownBar button.
Add support for the Fire button as the Launch button for pinball machines that have a dedicated Launch button or trigger (For example, Medieval Madness, Attack From Mars, Terminator 2)
[Edit 5/2/21] RGB Fire button and Fire button DOF support added to DOF Config Tool site. Updating list to only cover table script changes
AC/DC Pro
Script change: No change needed
AC/DC LE and Premiums
Script change: No change needed
Al's Garage Band (Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(37)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(37)=0
Apollo 13 (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(9) = True
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(9) = False
Note: In Apollo 13 script, make sure that
Controller.Switch(16) = 1
instead of "Controller.Switch(16) = True" for the fire light to work
Attack From Mars
Script change add (Keydown sub):
If keycode = LockbarKey Then Controller.Switch(11) = 1:End If
Script change add (Keyup sub):
If keycode = LockbarKey Then Controller.Switch(11) = 0
Austin Powers
Script change add (Keydown sub):
If Keycode=LeftMagnaSave Or KeyCode=RightMagnaSave or KeyCode = Lockbarkey Then Controller.Switch(53)=1
Script change add (Keyup sub):
If Keycode=LeftMagnaSave Or KeyCode=RightMagnaSave or KeyCode = Lockbarkey Then Controller.Switch(53)=0
Batman Forever
Script change add (Keydown sub):
If keycode=LockBarKey Then Controller.Switch(49) = 1
Script change add (Keyup sub):
If keycode=LockBarKey Then Controller.Switch(49) = 0
Baywatch (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(50) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(50) = 0
Black Rose
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(34)=1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(34)=0
Bram Stokers Dracula (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(34) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(34) = 0
Champion Pub (Launch Ball)
Script change add (Keydown sub):
If keycode=LockBarKey Then Controller.Switch(23)=1
Script change add (Keyup sub):
If keycode=LockBarKey Then Controller.Switch(23)=0
Demolition Man (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(11) = 1: Controller.Switch(12) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(11) = 0: Controller.Switch(12) = 0
Dirty Harry
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(11) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(11) = 0
Doctor Who (Launch Ball)
Script change add (Keydown sub):
if keycode = LockBarKey then controller.switch(34)=True
Script change add (Keyup sub):
if keycode = LockBarKey then controller.switch(34)=False
Fish Tales (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(31) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(31) = 0
Godzilla (Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=0
GoldenEye (Launch ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(9)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(9)=0
Guardians of the Galaxy
No changes needed
Guns N Roses (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Plunger2.Pullback:vpmTimer.PulseSw 62
Script change add (Keyup sub):
If keycode = LockBarKey Then Plunger2.Fire:PlaySound SoundFX("plunger",DOFcontactors)
Harley-Davidson (Sega 1999) (Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=0
Independence Day (Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=0
Indiana Jones The Pinball Adventure
Script change add (Keydown sub):
If keycode = LockbarKey Then Controller.Switch(34) = 1
Script change add (Keyup sub):
If keycode = LockbarKey Then Controller.Switch(34) = 0
Indianapolis 500 (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(11) = 1
If keycode = RightMagnaSave Then Controller.Switch(11) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(11) = 0
Johnny NMemonic (Drop Ball from Glove and Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(11)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(11)=0
Jolly Park (Launch Ball)
Script change add (Keydown sub):
If KeyCode = LockBarKey Then Controller.Switch(86) = 1
Script change add (Keyup sub):
If KeyCode = LockBarKey Then Controller.Switch(86) = 0
Judge Dredd (Fire Button and Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(12)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(12)=0
Jurassic Park
Script change, modify the existing code to include LockBarKey (Keydown sub):
If keycode = LockBarKey or keycode = RightMagnaSave or keycode = LeftMagnaSave or keycode = 3 Then 'Smart Bomb Button
Script change, modify the existing code to include LockBarKey (Keyup sub):
If keycode = LockBarKey or keycode = RightMagnaSave or keycode = LeftMagnaSave or keycode = 3 Then 'Smart Bomb Button
Last Action Hero (Smart Missile Button)
Script change add (Keydown sub):
If keycode = LockBarKey then controller.switch(8)=1 :controller.switch(62)=1
Script change add (Keyup sub):
If keycode = LockBarKey then controller.switch(8)=0 :controller.switch(62)=0
Lethal Weapon (Fire Uzi and Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey then controller.switch(9) = 1
Script change add (Keyup sub):
If keycode = LockBarKey then controller.switch(9) = 0
Lost in Space (Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=0
Mary Shelley's Frankenstein (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(62) = True
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(62) = False
Medieval Madness
Script change add (Keydown sub):
If keycode = LockbarKey Then Controller.Switch(11) = 1
Script change add (Keyup sub):
If keycode = LockbarKey Then Controller.Switch(11) = 0
Michael Jordan (Shoot The Ball and Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey then controller.switch(9) = 1
Script change add (Keyup sub):
If keycode = LockBarKey then controller.switch(9) = 0
Monster Bash (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey then controller.switch(11)=1
Script change add (Keyup sub):
If keycode = LockBarKey then controller.switch(11)=0
Mustang LE (Action Button)
Script change add (Keydown sub):
If Keycode = LockBarKey Then Controller.Switch(71) = 1
Script change add (Keyup sub):
If Keycode = LockBarKey Then Controller.Switch(71) = 0
Mystery Castle (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(14) = True
Script change add (Keyup sub):
If keycode = LockBarKey Then
Controller.Switch(14) = False
PlaySound Soundfx("plunger",DOFContactors)
End If
NBA Fastbreak (Launch Ball)
Script change add (Keydown sub):
If KeyCode = LockBarKey Then Controller.Switch(11) = 1
Script change add (Keyup sub):
If KeyCode = LockBarKey Then Controller.Switch(11) = 0
No Fear (Launch Ball)
Script change add (Keydown sub):
If Keycode = LockBarKey Then Controller.Switch(11) = 1
Script change add (Keyup sub):
If Keycode = LockBarKey Then Controller.Switch(11) = 0
Popeye Saves The Earth (Launch Ball)
Script change add (Keydown sub):
If keyCode=LockBarKey Then
Controller.Switch(23) = 1:Plunger.Pullback
End If
Script change add (Keyup sub):
If keyCode=LockBarKey Then
Controller.Switch(23) = 0:Plunger.Fire
end if
Star Trek LE
In script, find PunchItKey and set it to LockBarKey or RightMagnaSave
If PunchItKey not found in script, add this:
Script change add (Keydown sub):
If Keycode = LockBarKey then Controller.Switch(71) = 1
Script change add (Keyup sub):
If Keycode = LockBarKey then Controller.Switch(71) = 0
Star Trek The Next Generation (Fire Cannons and Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(12) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(12) = 0
Star Wars (Data East)
FOR VPW RELEASE, USE:
Script change add (Keydown sub):
Script change add (Keyup sub):
FOR OLDER TABLE RELEASE, USE:
Script change add (Keydown sub):
If keycode = LockBarKey Then
Controller.Switch(50) = 1
if not CBool(PostIt) Then Controller.Switch(51)=1
end if
Script change add (Keyup sub):
If keycode = LockBarKey Then
Controller.Switch(50) = 0
if not CBool(PostIt) Then Controller.Switch(51)=0
end if
Star Wars Trilogy
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(53) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(53) = 0
Super Mario Bros (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(5)=1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(5)=0
Tales from the Crypt (Launch Ball)
Script change add (Keydown sub):
If keycode = PlungerKey Then Controller.Switch(62) = 1
Script change add (Keyup sub):
If keycode = PlungerKey Then Controller.Switch(62) = 0
Terminator 2
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(34)=1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(34)=0
Script change add (Keydown sub):
If keyCode=LockBarKey Then Controller.Switch(9)=true END IF
Script change add (Keyup sub):
If keyCode=LockBarKey Then Controller.Switch(9)=false END IF
The Flintstones (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(11) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(11) = 0
The Getaway High Speed II (Shift Up)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(34) = True
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(34) = False
The Lost World Jurassic Park (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(53) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(53) = 0
The Shadow (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(11) = True
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(11) = False
The Walking Dead LE
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(71) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(71) = 0
Unreal Tournament
Script change add (Keydown sub):
Verne's World (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(86) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(86) = 0
Viper Night Driving (Launch Ball)
Script change add (Keydown sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=1
Script change add (Keyup sub):
If KeyCode=LockBarKey Then Controller.Switch(53)=0
WWF Royal Rumble (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then Controller.Switch(62) = 1
Script change add (Keyup sub):
If keycode = LockBarKey Then Controller.Switch(62) = 0
X-Files (Launch Ball)
Script change add (Keydown sub):
If keycode = LockBarKey Then controller.switch(53) = true
Script change add (Keyup sub):
If keycode = LockBarKey Then controller.switch(53) = false
Edited by gtxjoe, 24 November 2021 - 07:25 PM.




Contributor
Top













are all trademarks of VPFORUMS.