Jump to content



Photo
- - - - -

Star Wars FS B2S


  • Please log in to reply
26 replies to this topic

#21 koadic

koadic

    Pinball Fan

  • VIP
  • 1,363 posts
  • Location:Omaha, NE, USA

  • Flag: United States of America

  • Favorite Pinball: Addams Family/Fish Tales/Medieval Madness



Contributor

Posted 06 June 2012 - 01:02 PM

All you would have to do is add the switch in the KeyDown and KeyUp subs in the script... Switch 51 is the Shift Down switch (there is no Shift Up).

for example:
CODE
Sub table1_KeyDown(ByVal Keycode)
If vpmKeyDown(keycode) Then Exit Sub
If keycode = PlungerKey Then Controller.Switch(50) = 1
If keycode = LeftMagnaSave or keycode = RightMagnaSave Then Controller.Switch(51) = 1 'Shift Down
If keycode = KeyRules Then Rules
If keycode = LeftTiltKey Then vpmNudge.DoNudge 60, 3
If keycode = RightTiltKey Then vpmNudge.DoNudge 300, 3
If keycode = CenterTiltKey Then vpmNudge.DoNudge 0, 3
End Sub

Sub table1_KeyUp(ByVal Keycode)
If vpmKeyUp(keycode) Then Exit Sub
If keycode = KeyRules Then RulesOff
If keycode = PlungerKey Then Controller.Switch(50) = 0
If keycode = LeftMagnaSave or keycode = RightMagnaSave Then Controller.Switch(51) = 0 'Shift Down
End Sub


#22 Wm29671

Wm29671

    Enthusiast

  • Platinum Supporter
  • 98 posts
  • Favorite Pinball: Twilight Zone

Posted 06 June 2012 - 01:08 PM

QUOTE (koadic @ Jun 6 2012, 09:02 AM) <{POST_SNAPBACK}>
All you would have to do is add the switch in the KeyDown and KeyUp subs in the script... Switch 51 is the Shift Down switch (there is no Shift Up).

for example:
CODE
Sub table1_KeyDown(ByVal Keycode)
If vpmKeyDown(keycode) Then Exit Sub
If keycode = PlungerKey Then Controller.Switch(50) = 1
If keycode = LeftMagnaSave or keycode = RightMagnaSave Then Controller.Switch(51) = 1 'Shift Down
If keycode = KeyRules Then Rules
If keycode = LeftTiltKey Then vpmNudge.DoNudge 60, 3
If keycode = RightTiltKey Then vpmNudge.DoNudge 300, 3
If keycode = CenterTiltKey Then vpmNudge.DoNudge 0, 3
End Sub

Sub table1_KeyUp(ByVal Keycode)
If vpmKeyUp(keycode) Then Exit Sub
If keycode = KeyRules Then RulesOff
If keycode = PlungerKey Then Controller.Switch(50) = 0
If keycode = LeftMagnaSave or keycode = RightMagnaSave Then Controller.Switch(51) = 0 'Shift Down
End Sub

Awesome, very nice! Now that you mention it I do seem to remember always pulling the handle down when it said that, and then returning it to the up position. It's been a few years since I had the machine last.

#23 SPARKY70

SPARKY70

    Enthusiast

  • Members
  • PipPipPip
  • 433 posts

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

  • Favorite Pinball: FUNHOUSE

Posted 10 March 2017 - 12:10 AM

hi guys, im suddenly getting a VBSCRIPT error on this table. i never had the error before. havnt played it in a while.. can somebody please tell me what to check?  thanks/sparky



#24 ta2686

ta2686

    Retired ROM Settings Guru

  • VIP
  • 2,324 posts
  • Location:USA

  • Flag: United States of America

  • Favorite Pinball: ONE THAT WORKS!



Contributor

Posted 10 March 2017 - 12:31 AM

hi guys, im suddenly getting a VBSCRIPT error on this table. i never had the error before. havnt played it in a while.. can somebody please tell me what to check?  thanks/sparky

What is the error you are receiving? Please give an example of the error so we can help diagnose the issue.


Need to set or reset replay levels on a particular table? These guides will help you:

For Non-DMD tables: Guide to reset replay levels on non-DMD tables

For DMD tables: Guide to set replay levels on DMD tables

Need to change the number of balls per game on a particular table? These guides will help you:

For Non-DMD tables: Guide to set number of balls per game on non-DMD tables

For DMD tables: Guide to set number of balls per game on DMD tables

Need to adjust the volume on DMD based tables? This guide will help you:

Guide to adjust volume on DMD tables

An alphabetical listing of VPM emulated tables with their MPU and links to their specific replay level, balls per game and volume adjustment procedures can be downloaded as an Excel spreadsheet from this link:

Excel Spreadsheet of VPM emulated tables

#25 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,160 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 10 March 2017 - 12:52 AM

This table uses the b2s.vbs file.

Check your scripts and make sure you have it.

If not you can use the scripts found in this VPX standalone download. (Copy The scripts from download to your scripts folder and overwrite old ones. These are backwards compatible, so they will work for VP9,VP8,PM5,VPX.)

VPX stand Alone Download here..http://www.vpforums....&showfile=11572

Remember you are just using the scripts that are included in this download.

 

If you don't have VPX installed, you can find new updated scripts here... http://www.vpforums....ads&showfile=17

(This is for people who havent used all-in-one installer or don't have VPX installed.)

 

Also make sure you keep all the files included with download of table in same folder.

 

Or you can use the one that comes included with table download. (Not sure if it is an older version) It is b2s.vbs.  Just copy to your scripts folder.

 

EDIT: I just tried the b2s.vbs file that comes with download, and it works same as new ones.

 

Hope this helps you Sir.


Edited by xenonph, 10 March 2017 - 01:06 AM.

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


#26 SPARKY70

SPARKY70

    Enthusiast

  • Members
  • PipPipPip
  • 433 posts

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

  • Favorite Pinball: FUNHOUSE

Posted 10 March 2017 - 01:58 AM

hi guys, thanks for your help...

the error just said vbscripts...

i tried other vbscripts that i had, and they didnt work...

i then tried another version of this table,  and got the same error.

i decided to download the rom again, and it fixed everything... sort of weird, but its working again/thanks/sparky



#27 buddywest

buddywest

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: United States of America

  • Favorite Pinball: taxi

Posted 11 January 2022 - 01:32 AM

Need help the dmd is always behind the back glass running 2 screens for some reason this is the only table thats doing this to me.