Jump to content



Photo
- - - - -

Striker (Gottlieb 1982) [Visual Pinball X]

Kalavera 1982 Gottlieb Striker

  • Please log in to reply
32 replies to this topic

#21 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,980 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 21 August 2018 - 07:10 PM

kalavera, please take a look at the 2 Left Slings: if you hit the lower, then the upper Sling is moving.
The same with upper - lower.
Sorry, i am busy and couldn't check the Script, probably a Typo or Changing … should be easy.

Line 582 and 602: at LeftSlingShot ... delete “up” / add “up”


Edited by STAT, 21 August 2018 - 07:28 PM.


#22 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,980 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 22 August 2018 - 09:56 PM

:tup:



#23 roccodimarco

roccodimarco

    Pinball Fan

  • Members
  • PipPipPipPip
  • 568 posts
  • Location:NEPA

  • Flag: United States of America

  • Favorite Pinball: Hollywood Heat, Street Fighter II, Gold ball, Grand Lizard

Posted 23 August 2018 - 02:08 AM

Maybe I’m doing something wrong but the pass feature isn’t working for me. I push my magnasave buttons and nothing happens. Where at in the script is the pass? Maybe it’s my config?

#24 kalavera

kalavera

    Aprendiendo

  • Members
  • PipPipPip
  • 233 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: The Addams Family

Posted 23 August 2018 - 05:33 PM

Maybe I’m doing something wrong but the pass feature isn’t working for me. I push my magnasave buttons and nothing happens. Where at in the script is the pass? Maybe it’s my config?

 

Sub Striker_KeyDown(ByVal keycode)
If keycode = KeyUpperLeft then controller.switch(76)=1
If keycode = KeyUpperRight then controller.switch(46)=1
 
and
 
Sub Striker_KeyUp(ByVal keycode)
If keycode=KeyUpperLeft then controller.switch(76)=0 
If keycode=KeyUpperRight then controller.switch(46)=0
 
Those are switches 76 and 46.
(look at your profile feedback)

Edited by kalavera, 23 August 2018 - 05:34 PM.


#25 roccodimarco

roccodimarco

    Pinball Fan

  • Members
  • PipPipPipPip
  • 568 posts
  • Location:NEPA

  • Flag: United States of America

  • Favorite Pinball: Hollywood Heat, Street Fighter II, Gold ball, Grand Lizard

Posted 23 August 2018 - 06:42 PM

 

Maybe I’m doing something wrong but the pass feature isn’t working for me. I push my magnasave buttons and nothing happens. Where at in the script is the pass? Maybe it’s my config?

 

Sub Striker_KeyDown(ByVal keycode)
If keycode = KeyUpperLeft then controller.switch(76)=1
If keycode = KeyUpperRight then controller.switch(46)=1
 
and
 
Sub Striker_KeyUp(ByVal keycode)
If keycode=KeyUpperLeft then controller.switch(76)=0 
If keycode=KeyUpperRight then controller.switch(46)=0
 
Those are switches 76 and 46.
(look at your profile feedback)

 

What is profile feedback? 



#26 kalavera

kalavera

    Aprendiendo

  • Members
  • PipPipPip
  • 233 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: The Addams Family

Posted 23 August 2018 - 06:58 PM

your profile feed roccodimarco, leave a message, because your message box is full



#27 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,977 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 23 August 2018 - 08:28 PM

I'm a bit confused here. Isn't the correct names LeftMagnaSave/RightMagnaSave ?


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#28 kalavera

kalavera

    Aprendiendo

  • Members
  • PipPipPip
  • 233 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: The Addams Family

Posted 23 August 2018 - 08:54 PM

I confused much more Sverre, lol, you know that my fort is not the script, but it works well with the buttons of the magnasave, to èsar that in my taxi I have assigned to another and on my pc which comes by default.
How should the exact code be so that no one has problems?

always learn something my friend, probe changing by leftmagnasave and rightmagnasave and it works the same way for me what it means to say that your appreciation is correct


Edited by kalavera, 23 August 2018 - 08:54 PM.


#29 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,977 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 23 August 2018 - 08:57 PM

I'm not sure. But, I though that these are the correct variable names. Don't remember where I found this list.

JP Black Knight has magna keys - so. Lets have a look at the code.

 

https://raw.githubus...night_1.3.1.vbs

Preference Caption       vs.       Variable Name

Left Flipper     -  LeftFlipperKey
Right Flipper   -  RightFlipperKey
LMagnaSave       -  LeftMagnaSave
RMagnaSave       -  RightMagnaSave
Start Game      -  StartGameKey
Add Credit      -  AddCreditKey
Add Credit 2    -  AddCreditKey2
Plunger         -  PlungerKey
Exit Game
Volume            -
Volume            +
Frame Count
Left Nudge      -  LeftTiltKey
Fwd Nudge         -  CenterTiltKey
Right Nudge        -  RightTiltKey
Mech Tilt       -  MechanicalTilt
Custom 1
Custom 2
Custom 3
Custom 4
Debug Balls

Pinmame (only working, if pinmame is active):
EB Buyin        -  KeyFront
Coin 3          -  keyInsertCoin3
Coin 4          -  keyInsertCoin4
Door            -  keyCoinDoor
Mech Tilt    -  keyBangBank

Service (only working, if pinmame is active):
Cancel          -  keyCancel
Down            -  keyDown
Up              -  keyUP
Enter           -  keyEnter

Edited by Thalamus, 23 August 2018 - 09:01 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#30 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,980 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 23 August 2018 - 09:05 PM

As Thalamus said above, these are the right Variables:
LeftMagnaSave, RightMagnaSave
I didn't check, where and when i have to press the “Pass“ Key,
But change to this in Script and it should work.

#31 kalavera

kalavera

    Aprendiendo

  • Members
  • PipPipPip
  • 233 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: The Addams Family

Posted 23 August 2018 - 09:08 PM

As Thalamus said above, these are the right Variables:
LeftMagnaSave, RightMagnaSave
I didn't check, where and when i have to press the “Pass“ Key,
But change to this in Script and it should work.

Thanks Stephan, I changed it and it works perfect, to know that the passes work, you should look at the three red lights that are below the flippers and when you manage to make a pass the lights of "3 steps" should go up and off one of the red



#32 roccodimarco

roccodimarco

    Pinball Fan

  • Members
  • PipPipPipPip
  • 568 posts
  • Location:NEPA

  • Flag: United States of America

  • Favorite Pinball: Hollywood Heat, Street Fighter II, Gold ball, Grand Lizard

Posted 24 August 2018 - 02:10 AM

For those who want to use the pass feature start at line 162 and replace it with this 

 

 

Sub Striker_KeyDown(ByVal keycode)

If keycode = LeftMagnaSave then controller.switch(76)=1

If keycode = RightMagnaSave then controller.switch(46)=1

 

If keycode = StartGameKey Then Controller.Switch(26)=1 ',Controller.Switch(16)=1

If keycode = LeftTiltKey Then Nudge 90, 2

If keycode = RightTiltKey Then Nudge 270, 2

If keycode = CenterTiltKey Then Nudge 0, 2

if vpmKeyDown(keycode) Then Exit Sub

If keycode = PlungerKey Then Plunger.Pullback:playsound"plungerpull"

End Sub

 

Sub Striker_KeyUp(ByVal keycode)

If keycode=LeftMagnaSave then controller.switch(76)=0 'A

If keycode=RightMagnaSave then controller.switch(46)=0' '

If vpmKeyup(keycode) Then Exit Sub

If keycode = PlungerKey Then Plunger.Fire:PlaySound"plunger"

End Sub



#33 kalavera

kalavera

    Aprendiendo

  • Members
  • PipPipPip
  • 233 posts
  • Location:Argentina

  • Flag: Argentina

  • Favorite Pinball: The Addams Family

Posted 24 August 2018 - 02:19 AM

i update the table thx roccodimarco







Also tagged with one or more of these keywords: Kalavera, 1982, Gottlieb, Striker