Jump to content



Photo
- - - - -

Dmd Scripting - Timed modes


  • Please log in to reply
4 replies to this topic

#1 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 20 January 2013 - 09:59 PM

Is it possible to display the remaining time of a timer on dmd?

 

Any ideas how you would go about this

 

Cheers


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#2 JonBaker

JonBaker

    Enthusiast

  • Members
  • PipPipPip
  • 343 posts
  • Location:Where time has no meaning

  • Flag: Scotland

  • Favorite Pinball: Hong Kong Phooey - Doesn't exist but it should

Posted 20 January 2013 - 10:55 PM

Yes.

 

Here's a typical scenario:  Hurry Up Mode

 

Sub StartHurryUp()

HurryUpCount = 30 (set the Hurry Up Time to 30 seconds)

HurryUpTimer.Set TRUE, 1000 (after one second, display the timer on the DMD)

End Sub

 

Sub HurryUpTimer_Expired()

HurryUpCount = HurryUpCount - 1

MyDMD.Text = "HURRY UP TIME: " & HurryUpCount

 

When the count reaches zero, stop the timer.....

 

If (HurryUpCount =<0) Then HurryUpTimer.Enabled = FALSE

End Sub

 

 

The highlighted red is how the timer is displayed on the DMD.



#3 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 20 January 2013 - 11:22 PM

Ah very good, works great.

 

Thankyou!


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#4 DnaDisturber

DnaDisturber

    Pinball Fan

  • VIP
  • 774 posts
  • Location:Hiscore Hill

  • Flag: Netherlands

  • Favorite Pinball: Monster Bash

Posted 25 January 2013 - 10:20 PM

Ah very good, works great.
 
Thankyou!


Haha don't tell me.... 5 minute mode anyone ;)

Author of PINemHi & PINemHi Leaderboard........
Website : www.pinemhi.com (to see all hiscores being made and the challenges)

 


#5 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 28 January 2013 - 01:26 PM

:) No, but you have given me an idea


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000