Jump to content



Photo
* * * * - 7 votes

JP's Friday the 13th[Visual Pinball X Original]

Friday 13th

  • Please log in to reply
121 replies to this topic

#121 kentayeyen

kentayeyen

    Hobbyist

  • Members
  • PipPip
  • 28 posts

  • Flag: Sweden

  • Favorite Pinball: scared stiff

Posted 08 December 2024 - 09:50 AM

What about moving the settings from the script to the new easy access Table Options (F12).
Something like this..

Dim    SongVolume : SongVolume = 0.3
Dim    FlippersBlood : FlippersBlood = True
Dim    FlexDMDHighQuality : FlexDMDHighQuality = False

Dim dspTriggered : dspTriggered = False
Sub Table1_OptionEvent(ByVal eventId)
    If eventId = 1 And Not dspTriggered Then dspTriggered = True : DisableStaticPreRendering = True : End If
    SongVolume = Table1.Option("SongVolume", 0, 1, 0.01, 0.3, 1)
    FlippersBlood = Table1.Option("FlippersBlood", 1, 2, 1, 1, 0, Array("On", "Off"))
       if FlippersBlood = 1 Then FlippersBlood = True
       if FlippersBlood = 2 Then FlippersBlood = False
    FlexDMDHighQuality = Table1.Option("FlexDMDHighQuality", 1, 2, 1, 2, 0, Array("On", "Off"))
       if FlexDMDHighQuality = 1 Then FlexDMDHighQuality = True
       if FlexDMDHighQuality = 2 Then FlexDMDHighQuality = False
    If eventId = 3 And dspTriggered Then dspTriggered = False : DisableStaticPreRendering = False : End If
End Sub


More could be moved like selecting LUT and this, Freeplay..

Dim    bFreePlay : bFreePlay = False
   bFreePlay = Table1.Option("FreePlay", 1, 2, 1, 2, 0, Array("On", "Off"))
       if bFreePlay = 1 Then bFreePlay = True
       if bFreePlay = 2 Then bFreePlay = False
 



#122 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,166 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 08 December 2024 - 10:31 AM

Thanks, I thought about that, and also put there the LUT selector :) But with 240 tables to fix, I thought I can do it next year if I feel for it :D


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

WIP? Cobra, Nuova Bell and Playbar tables, thanks to akiles50000 redrawings






Also tagged with one or more of these keywords: Friday, 13th