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

Simple DMD's Illustrated Tutorial
http://gopinball.com/forum/viewtopic.php?f=55&t=5050
Page 3 of 9

Author:  Gimli [ Fri Sep 05, 2014 12:33 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

In order for "LastPlayer" to be tracked you need to add the following to the script:
Copy 'N Paste with other "DIM"s at the very top of the script as in image below
Code:
Dim LastPlayer

Author:  Gimli [ Fri Sep 05, 2014 12:34 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

Copy 'N Paste just above Addscore(Points) as in image below

Code:
Sub LastPlayerCheck()
If (PlayersPlayingGame > 1) Then
LastPlayer = CurrentPlayer - 1
End if
If CurrentPlayer = 1 Then
LastPlayer = PlayersPlayingGame
End if
If PlayersPlayingGame = 1 Then
LastPlayer = 1
End if
End Sub


***** and Copy 'N Paste under Sub AddScore(points)
Code:
LastPlayerCheck()

Author:  Gimli [ Fri Sep 05, 2014 12:35 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

You can "save as" at this point and check out your nifty Current Player DMD or move on to the next template .

B. Statistic DMD

Author:  Gimli [ Fri Sep 05, 2014 12:36 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

Copy 'n Paste:
Code:
MyNewDMD.Text = "[na][f2][xc][y9]"& FormatNumber(nvHighScore1, 0, -1, 0, -1) & "[f1][x2][y25]CREDITS: "& nvCredits & "[x2][y2]HIGHSCORE: " &nvHighScore1Name & "[x78][y2]GAMES: " & nvTotalGamesPlayed &"[x78][y25]PLAYERS: " & PlayersPlayingGame


Destinatons:

after any nvcredits + 1 statements as in image below

Author:  Gimli [ Fri Sep 05, 2014 12:36 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

updated
go to next page

Author:  Gimli [ Fri Sep 05, 2014 12:37 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

(Consider after any nvcredits - 1 statements too, but don't bother if you are using
"Welcome Player" as below )

Again you can "save as" at this point and check your Current Player and Statistic DMD or boldly carry on :)

Multiplayer DMD
Most tables have a variation of multiplayer already scripted but you often don't get clear notifications of whose turn it is during game play.

C."Welcome Player" Template

Author:  Gimli [ Fri Sep 05, 2014 12:38 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

Copy 'N Paste under any "nvCredits = nvCredits - 1" statements

Code:
MyNewDMD.FlushAnimation:MyNewDMD.FlushQueue
MyNewDMD.UpdateInterval = 10
MyNewDmd.QueueText "[f2][xc][y10]WELCOME PLAYER " & PlayersPlayingGame, deNone, 1000, true
MyNewDmd.QueueText  "[f2][xc][y9]GO PLAYER " & CurrentPlayer, deNone, 1000, true

Author:  Gimli [ Fri Sep 05, 2014 12:39 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

D."Go Player" Template Simple (I prefer the one below)

Author:  Gimli [ Fri Sep 05, 2014 12:40 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

Copy 'N Paste
Code:
MyNewDmd.Text = "[f2][xc][y10]GO PLAYER " & CurrentPlayer


Which I place under Sub createnewball()
Don't bother with this if you like the next template better !
You can save and enjoy your table with Current player Score/Statistics/ and Multiplayer Notifications or carry on !

Author:  Gimli [ Fri Sep 05, 2014 12:40 pm ]
Post subject:  Re: FutureDMD for Dummies Illustrated Tutorial

E.Go Player + Scoreboard Template (Preferred)

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