Jump to content



Photo
- - - - -

Flipper solenoid callbacks


  • Please log in to reply
4 replies to this topic

#1 powerchisper

powerchisper

    Enthusiast

  • Silver Supporter
  • 243 posts
  • Location:Sevilla

  • Flag: Spain

  • Favorite Pinball: Dracula

Posted 15 November 2010 - 08:19 PM

Hi friends.

There goes a question some of you may think it's silly , but...

I have the solenoid list from my Dracula manual.
It has a number for each of the solenoids and flashers , as you know ( number 1 is the plunger...etc )

But the flippers have no numbers , as they are triggered by a separate PCB , the Fliptronics card.
Other two functions are also triggered from this board , I think they are the ramp diverter and the release post.

How do I find those numbers ??

so I could write something like :

SolCallback(xx)= "LFlipper,...etc.."
Please correct my English if it is necessary.

Any funny words or sentences you can teach me are welcome too !!!

This way I'll learn about pinball but English as well.

#2 Joe

Joe

    Pinball Wizard

  • VIP
  • 2,363 posts
  • Location:60016

  • Flag: United States of America

  • Favorite Pinball: New Stern ones

Posted 15 November 2010 - 11:22 PM

QUOTE (powerchisper @ Nov 15 2010, 02:19 PM) <{POST_SNAPBACK}>
Hi friends.

There goes a question some of you may think it's silly , but...

I have the solenoid list from my Dracula manual.
It has a number for each of the solenoids and flashers , as you know ( number 1 is the plunger...etc )

But the flippers have no numbers , as they are triggered by a separate PCB , the Fliptronics card.
Other two functions are also triggered from this board , I think they are the ramp diverter and the release post.

How do I find those numbers ??

so I could write something like :

SolCallback(xx)= "LFlipper,...etc.."

the old table has this.

SolCallback(sAutoPlunger) = "vpmSolAutoPlunger AutoPlunger,10,"
SolCallback(sOuthole) = "bsTrough.SolIn"
SolCallback(sTrough) = "bsTrough.SolOut"
SolCallback(sRightSlingshot) = "vpmSolSound ""Slingshot"","
SolCallback(sLeftSlingshot) = "vpmSolSound ""Slingshot"","
SolCallback(sLeftJet) = "vpmSolSound ""Jet1"","
SolCallback(sRightJet) = "vpmSolSound ""Jet1"","
SolCallback(sBottomJet) = "vpmSolSound ""Jet1"","
SolCallback(sLRFlipper)=" vpmSolFlipper RightFlipper,Nothing,"
SolCallback(sLLFlipper) = "vpmSolFlipper LeftFlipper,Nothing,"
SolCallback(sKnocker) = "vpmSolSound ""Knocker"","

SolCallback(sShooterRamp) = "SolShooterRamp"
SolCallback(sRRampUp) = "SolRRampUp"
SolCallback(sRRampDown) = "SolRRampDown"
SolCallback(sTopDiverter) = "vpmSolDiverter Diverter,true,"

SolCallback(sAsylumFlasher)="SolAsylumFlasher"
SolCallback(sTLFlasher)="solTLFlasher"
SolCallback(sTRFlasher)="solTRFlasher"
SolCallback(sCastleFlasher)="solCastleFlasher"

SolCallback(sCoffinPopper)="bsCoffinPopper.SolOut"
SolCallback(sCastlePopper)="bsCastlePopper.SolOut"
SolCallback(sTLPopper) = "bsTLPopper.SolOut"
SolCallback(sBLPopper) = "bsBLPopper.SolOut"
SolCallback(sCastleRelease) = "bsCastleLock.SolOut"
SolCallback(sRGate) = "SolRGate"
SolCallback(sLGate) = "SolLGate"

SolCallback(sLDrop) = "dtLDrop.SolDropUp"

SolCallback(sMagnet) = "SolMistMagnet"

#3 unclewilly

unclewilly

    sofa king.....

  • VIP
  • 5,171 posts
  • Location:Baltimore, Maryland

  • Flag: United States of America

  • Favorite Pinball: tz, tom, big hurt, who dunnit



Posted 16 November 2010 - 12:36 AM

Flipper solenoid call backs don't need numbers in vpm they are "generic"

Something like this(it's from comet, but i use the same basic subs in all my tables, no numbers needed"

SolCallback(sLRFlipper) = "SolRFlipper"
SolCallback(sLLFlipper) = "SolLFlipper"

Sub SolLFlipper(Enabled)
If Enabled Then
PlaySound "LFlip":LeftFlipper.RotateToEnd:LeftFlipperOff.RotateToEnd
LWLogoUp.IsDropped=0:LWLogo.IsDropped=1
Else
PlaySound "LFlipD":LeftFlipper.RotateToStart:LeftFlipperOff.RotateToStart
LWLogoUp.IsDropped=1:LWLogo.IsDropped=0
End If
End Sub

Sub SolRFlipper(Enabled)
If Enabled Then
PlaySound "RFlip":RightFlipper.RotateToEnd:RightFlipperOff.RotateToEnd
RWLogoUp.IsDropped=0:RWLogo.IsDropped=1
Else
PlaySound "RFlipD":RightFlipper.RotateToStart:RightFlipperOff.RotateToStart
RWLogoUp.IsDropped=1:RWLogo.IsDropped=0
End If
End Sub

"it will all be ok in the end, if it's not ok, it's not the end"
 
Monster Bash VP10 WIP https://dl.dropboxus... (vpx)WIP15.vpx

uw2.gif


#4 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,300 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 16 November 2010 - 06:25 PM

I just want to add that the constants sLRFlipper and sLLFlipper are defined in the core.vbs, like this:

'-- Flipper solenoids (all games)
Const sLRFlipper = 46
Const sLLFlipper = 48
Const sURFlipper = 34
Const sULFlipper = 36

So they can be used in a solenoid call.
If you take a look at any VP8 table then you'll see another way to use the solenoid calls.

JP

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

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#5 powerchisper

powerchisper

    Enthusiast

  • Silver Supporter
  • 243 posts
  • Location:Sevilla

  • Flag: Spain

  • Favorite Pinball: Dracula

Posted 16 November 2010 - 06:31 PM

Well thank you very much.
I didn't expect the help from two top-gun table builders.


The numbers 34 and 36 are in my list , but not the main flippers.


I think I have solved this flipper issue.

Now I'm hitting my head on the wall to get the plunger working ( see the Syntax error topic )
Please correct my English if it is necessary.

Any funny words or sentences you can teach me are welcome too !!!

This way I'll learn about pinball but English as well.