SS scripting question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32574
    BorgDog
    Participant
      @borgdog

      I don’t normally do SS tables so have no idea how all that stuff works, but here is what I am trying to accomplish.

      I’m working on a Gottlieb system 1 upgrade (well 3 actually but 1 at the moment) and the way the gts1.vbs is setup they only use coinslot1 and coinslot2, which in vpmkeys.vbs are assigned to keys 3 and 4.  So typically everyone uses key 5 and sometimes key 6 for their coin slots, and hence the question always comes up in gottlieb system1 tables of how to add coins and the usual answer is “edit your vpmkeys.vbs so coin 1 and coin 2 are key 5” then it all works.

      Still with me?  I would like to avoid having to tell people to edit script files that get overwritten on upgrades. So how do I go about scripting to tell the rom that a coin has been inserted if someone presses a 5 on their keyboard (or the usual cab coin button)?

       

      thanks,

      Dan

      ps: updated Pinball Pool coming soon.

      #32575
      randr
      Keymaster
        @randr

        could you not add

        if  keycode = keyInsertCoin1 = 1 then keyInsertCoin3

        if keycode = (whatever is coin button you choose) then vpmTimer.pulseSW (coinswitch)

        or something like that? sure its even simpler then that maybe toss in bally.vbs in script too

        ********************************************************
        Messing with the VPinball app and push notifications.
        So if you haven't downloaded app yet what are you waiting for!?
        for IOS and Android

        ********************************************************

        ********************************************************
        Messing with the VPinball app and push notifications.
        So if you haven't downloaded app yet what are you waiting for!?
        for IOS and Android

        ********************************************************

        #32584
        BorgDog
        Participant
          @borgdog

          Thanks randr, yes it was that easy, you got me pointed looking at the right stuff and the vpmTimer.pulseSW command.  All I did was add the following to _Keydown sub.

          If keycode=AddCreditKey then vpmTimer.pulseSW (swCoin1)

          It does not seem to matter if the vpmkeys.vbs has been already edited or not, as it can’t add two at the same time anyway, and by doing it this way it does not matter what their AddCredit key is defined as it will work.  Awesome!   :good:

          #32586
          randr
          Keymaster
            @randr

            Sweet!

            ********************************************************
            Messing with the VPinball app and push notifications.
            So if you haven't downloaded app yet what are you waiting for!?
            for IOS and Android

            ********************************************************

            ********************************************************
            Messing with the VPinball app and push notifications.
            So if you haven't downloaded app yet what are you waiting for!?
            for IOS and Android

            ********************************************************

          Viewing 4 posts - 1 through 4 (of 4 total)

          Forums are currently locked.

          ©2025 VPinBall.com

          Log in with your credentials

          Forgot your details?