GoPinball.com
http://www.gopinball.com/forum/

Cheat Codes
http://www.gopinball.com/forum/viewtopic.php?f=55&t=6477
Page 1 of 1

Author:  Gimli [ Mon Sep 18, 2017 11:05 pm ]
Post subject:  Cheat Codes

Someone asked about this on VPForums, so I thought I would copy the response here for
fun. Cheatcodes are easy to create, but won't necessarily work on all tables, due to script variaton.

if you want some cheat codes here are some to try (assigned to "X" and "C" and "V" and "B") keys on keyboard
They may not work perfectly on all tables.....

"C" for toggling between 3 ball and 5 ball games

"V" adding more balls to playfield

"b" to give an extra ball (you get to play again before next player, but sometimes your active bonus will be reset...)

"x" to reset the "ballsavetimer" to an additional 20 seconds (It's a good way to extend your turn and not lose your bonus progress....)

place the following under Sub FuturePinball_KeyPressed(ByVal KeyCode)

Code:
If keycode = 45 Then 'x on keyboard
BallSaverTimer.Set FALSE
BallSaverTimer.Set TRUE, 20000
ShootAgainLight.State = Bulbblink
End If
 
If Keycode = 46 then 'C on keyboard
  if nvBallsPerGame = 5 then nvBallsPerGame = 3:Exit Sub:End if
  if nvBallsPerGame = 3 then nvBallsPerGame = 5:Exit Sub:End if
End if
If Keycode = 47 then CreateNewBall() 'v on keyboard
If Keycode = 48 then ExtraBallsAwards(CurrentPlayer) = ExtraBallsAwards(CurrentPlayer) + 1 'b on keyboard

Author:  gibsmedat [ Tue Nov 28, 2017 7:08 pm ]
Post subject:  Re: Cheat Codes

Nice. I will put this in my /docs folder for "future reference" 8-)

Author:  GeorgeH [ Tue Nov 28, 2017 8:03 pm ]
Post subject:  Re: Cheat Codes

It is not too difficult to create your own cheats. You can pretty much enter the name of any subroutine. If you look at the script for Creature from the Black Lagoon you can find a line that says:

Sub startmultiball

startmultiball is the name of the subroutine that starts multiball. You can create a cheat like this to start multiball:

If keycode = 37 Then 'k on keyboard
startmultiball
End If

These are a list of the keycodes you can use (you should pick one that isn't being used by something else, like 5 is usually used for coin in):

KEY_0 = 11 ;0
KEY_1 = 2 ;1
KEY_2 = 3 ;2
KEY_3 = 4 ;3
KEY_4 = 5 ;4
KEY_5 = 6 ;5
KEY_6 = 7 ;6
KEY_7 = 8 ;7
KEY_8 = 9 ;8
KEY_9 = 10 ;9
KEY_Q = 16 ;Q
KEY_W = 17 ;W
KEY_E = 18 ;E
KEY_R = 19 ;R
KEY_T = 20 ;T
KEY_Y = 21 ;Y
KEY_U = 22 ;U
KEY_I = 23 ;I
KEY_O = 24 ;O
KEY_P = 25 ;P
KEY_A = 30 ;A
KEY_S = 31 ;S
KEY_D = 32 ;D
KEY_F = 33 ;F
KEY_G = 34 ;G
KEY_H = 35 ;H
KEY_J = 36 ;J
KEY_K = 37 ;K
KEY_L = 38 ;L
KEY_Z = 44 ;Z
KEY_X = 45 ;X
KEY_C = 46 ;C
KEY_V = 47 ;V
KEY_B = 48 ;B
KEY_N = 49 ;N
KEY_M = 50 ;M

George

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/