Register    Login    Forum    FAQ    PinSimDB.org

Board index » Resources » Tutorials, how-to's, bug report and docs




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Cheat Codes
 Post Posted: Mon Sep 18, 2017 11:05 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 1708
Location: Ontario, Canada
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


Top 
 Profile  
 
 Post subject: Re: Cheat Codes
 Post Posted: Tue Nov 28, 2017 7:08 pm 
Offline
User avatar

Joined: Thu Jun 16, 2016 2:20 pm
Posts: 102
Location: a cave
Nice. I will put this in my /docs folder for "future reference" 8-)

_________________
life takes a lot of balls


Top 
 Profile  
 
 Post subject: Re: Cheat Codes
 Post Posted: Tue Nov 28, 2017 8:03 pm 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 1264
Location: Arkansas, USA
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


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 3 posts ] 

Board index » Resources » Tutorials, how-to's, bug report and docs


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: