Jump to content



Photo
- - - - -

scores display

scores

Best Answer 4EVERBOOTS , 16 June 2016 - 02:45 PM

I finished following the instructions and it's working!!  :otvclap:  :yahoo: Now all i needs are the credits and balls displays. Once again thanks a lot guys!!  :tup:

Go to the full post


  • Please log in to reply
29 replies to this topic

#21 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,189 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 03 September 2016 - 05:31 PM

Thanks one more time, gtxjoe

 

I did a conversion from FS to DT of table Lady Luck_VP915_FS_1.0 (Lucasbuck, Herweh) and I have to add 4 EMReels

 

I added EMReel1 to the script as you explained it in this topic :

 

Sub AddScore(value)
    If Not tilted And currentPlayer >= 1 And currentPlayer <= 4 Then
        scores(currentPlayer) = scores(currentPlayer) + value
        EMReel1.SetValue Scores(currentPlayer)
        If bestScore < scores(currentPlayer) Then
            bestScore = scores(currentPlayer)
        End If
        If Not replay1 And scores(currentPlayer) >= Score_Replay1 Then
            replay1 = True
            If Score_Replay1 > 0 Then AddReplay
        End If
        If Not replay2 And scores(currentPlayer) >= Score_Replay2 Then
            replay2 = True
            If Score_Replay2 > 0 Then AddReplay
        End If
        If Not replay3 And scores(currentPlayer) >= Score_Replay3 Then
            replay3 = True
            If Score_Replay3 > 0 Then AddReplay
        End If

 

But I've to add 3 other EMReels and I don't know how and where to write that in the script

 

I also added another EMReel for credits "CreditsReel" using the same method and it works fine

 

Sub AddCredits(value)
    credits = credits + value
    CreditsReel.SetValue Credits
    If Not Controller Is Nothing Then
        Controller.B2SSetData 124, IIf(credits>0,1,0)
        Controller.B2SSetCredits credits
    End If
End Sub

 

I'd also like to add an EMReel for the Balls in play but I can't find it in the script

 

Could you please help me ?


Edited by batch, 04 September 2016 - 06:00 AM.

signature_juin2026-1.jpg     signature_juin2026-2.jpg       

 

DIRECT LINK TO MY TABLES :  http://www.vpforums....loads&mid=30858    


#22 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,189 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 04 September 2016 - 09:03 AM

I try my luck again, any help is welcome


signature_juin2026-1.jpg     signature_juin2026-2.jpg       

 

DIRECT LINK TO MY TABLES :  http://www.vpforums....loads&mid=30858    


#23 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,159 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 04 September 2016 - 08:04 PM

I think I would try changing 

EMReel1.SetValue Scores(currentPlayer)

 

to

EMReel1.SetValue Scores(1)

EMReel2.SetValue Scores(2)

EMReel3.SetValue Scores(3)

EMReel4.SetValue Scores(4)

 

since you want the 4 players to have their own separate emreels



#24 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,189 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 04 September 2016 - 09:13 PM

Thanks a lot, it worked :tup:

 

Where did you learn all these things ?


signature_juin2026-1.jpg     signature_juin2026-2.jpg       

 

DIRECT LINK TO MY TABLES :  http://www.vpforums....loads&mid=30858    


#25 batch

batch

    VPFroggie

  • Members
  • PipPipPipPipPip
  • 2,189 posts
  • Location:Center of France

  • Flag: France

  • Favorite Pinball: Anyone if gaming and appearence are great

Posted 12 October 2016 - 05:13 PM

Hi

 

I'm on a conversion from FS to DT of an EM table, and I'd like to add an EMReel for the "ball in play"

 

I did like you told me for Scores

 

Sub AddScore(value)
    If Not tilted And currentPlayer >= 1 And currentPlayer <= 4 Then
        scores(currentPlayer) = scores(currentPlayer) + value
        EMReel1.SetValue Scores(1)
        EMReel2.SetValue Scores(2)
        EMReel3.SetValue Scores(3)
        EMReel4.SetValue Scores(4)

 

and used the same method for credits

 

Sub AddCredits(value)
    credits = credits + value
    CreditsReel.SetValue Credits

 

But I can't see any "ball in play" in the Script

 

And I also have a problem with the Scores EMReels

 

When I start a play, I can hear the sound of score resetting to zero, but I've to wait to win the first points for it to change

 

Thanks in advance for your help


signature_juin2026-1.jpg     signature_juin2026-2.jpg       

 

DIRECT LINK TO MY TABLES :  http://www.vpforums....loads&mid=30858    


#26 Jondark

Jondark

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: United States of America

  • Favorite Pinball: jurassic park

Posted 15 May 2021 - 06:22 PM

Hi; 

 

I'm trying to create a B2S for HPPOA (Harry Potter Prizoner of Azkaban) and the B2S designer LED/Reel with selecting score, player # doesn't work.  However, when I search the table's script for the Sub AddScore(Points), there is nothing in there.  I can't frankly figure out how the thing keeps score, and where I would put in the lines noted in earlier pages in this area.  

 

The link for the table is:

 

HP - Prisoner of Azkaban - VPForums.org

 

i would like to add 4 players total, and I would also want to add a credit reel as well.  

 

Thank you for your help!



#27 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,158 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales



Contributor

Posted 15 May 2021 - 06:54 PM

The Harry Potter table was made from the VanHalen table which is an UltraDMD table.

If you look at the Van Halen Backglass in the Designer you will see there are no reels, and no lights added.

There is a grill area, which i am assuming the UltraDMD is placed there.

I am not sure, but I think it would be nearly impossible to convert the UltraDMD to use regular reels on backglass.

But I could be wrong.


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 


#28 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 15 May 2021 - 07:51 PM

The Harry Potter table was made from the VanHalen table which is an UltraDMD table.

If you look at the Van Halen Backglass in the Designer you will see there are no reels, and no lights added.

There is a grill area, which i am assuming the UltraDMD is placed there.

I am not sure, but I think it would be nearly impossible to convert the UltraDMD to use regular reels on backglass.

But I could be wrong.

 

You could do it, you would have to make the B2S as if it were a B2S and not VPM controlled table

then you would have to do all b2s statements in the table script

 

And if you are using the ROM scoring, you are going to need to trap the score values somehow, perhaps how i am doing that in heavy metal, or maybe someone knows a better way?

but you will need to trap and turn the ROM's score into a numeric value that you can then set ad player#score for b2s to set the reel values

 

UltraDMD would play no part in that process

 

But if this table uses a ROM and it uses the ROMs scoring
You may as well just make a VPM controlled backglass? it would be a lot easier?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#29 Jondark

Jondark

    Hobbyist

  • Members
  • PipPip
  • 10 posts

  • Flag: United States of America

  • Favorite Pinball: jurassic park

Posted 25 May 2021 - 01:13 AM

 

 

But if this table uses a ROM and it uses the ROMs scoring
You may as well just make a VPM controlled backglass? it would be a lot easier?

 

Can you direct me where to learn how to do that?  The B2S designer obviously does not do that... and a search for that term (VPM controlled backglass) yields nothing helpful in a cursory search.  There are a lot of tables where the B2S is "simply" a modified picture with no score, etc., so that must not be done generally then I assume...  



#30 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,871 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 25 May 2021 - 01:25 AM

 

 

 

But if this table uses a ROM and it uses the ROMs scoring
You may as well just make a VPM controlled backglass? it would be a lot easier?

 

Can you direct me where to learn how to do that?  The B2S designer obviously does not do that... and a search for that term (VPM controlled backglass) yields nothing helpful in a cursory search.  There are a lot of tables where the B2S is "simply" a modified picture with no score, etc., so that must not be done generally then I assume...  

 

 

Every machine prior to 1991 will have scores on the backglass in simple segmented LED displays, except EMs which have

mechanical score reels
So every table that is a recreation of anything prior to 1991 will have scoring on the backglass of some fashion.

 

B2S designer has a nice tutorial with it

 

But in a nut shell, open a ROM, outside of VPX

run setup in the pinmame folder and run any given ROM that you have

click game settings and make sure it is set to show the vpm DMD

 

so you get a display that looks like

 

___________

|0 0 0 0 0 0 0|  <- this is LED 1, it is 7 digits

|0 0 0 0 0 0 0| < - this is LED2, the next are LED 3 and 4

|0 0 0 0 0 0 0|

|0 0 0 0 0 0 0|

|0 0          0 0|  <--- These are LED 5 and 6 and they are each 2 digits

------------------

 

 

So you would put the LEDs into the backglass in that exact order, since you can not rename them after creation, it is sequential.
 

 

If the ROM is post 1991 and uses an actual DMD which is 128 round LEDs long by 32 round LEDs tall
You just put a grill image in it that has a blank space where a person will drag their DMD to

and if a person has 3 screens, they just hide the grill and put the DMD on the 1st screen

 

The editor lets you define the grill area, its in the tutorial included with it


Edited by wiesshund, 25 May 2021 - 01:26 AM.

If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow






Also tagged with one or more of these keywords: scores