Jump to content



Photo
* * * * * 1 votes

Plunger Phantom Display on the Table - Confused


  • Please log in to reply
5 replies to this topic

#1 naboodiver

naboodiver

    Enthusiast

  • Platinum Supporter
  • 400 posts
  • Location:East Tennessee and former Hoosier

  • Flag: United States of America

  • Favorite Pinball: Scared Stiff, Attack from Mars, Indiana Jones, Addams Family

Posted 06 March 2014 - 04:55 AM

My goal is to learn something new about VP every day and most days I do by reading here and trying.  But, I have one that definitely stumps me and no one has brought it up as a problem.     This is probably something obvious to many but on some of the tables, it is like I have plunger and spring under a plunger and spring view in the plunger window.    The one below pulls back, when I push to launch button in, but the one on top shows no retraction.    Why is that?    Do I have a setting wrong some place?  Help understanding why this appears the way would be appreciated.   Thanks much.



#2 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 March 2014 - 05:15 AM

1) I assume you are using the plunger key instead of any kind of analog plunger setup like the nanotech or virtuapin kit.

2) I also assume you have some sort of game pad attached top the computer you are running VP on.

What is probably happening is that you are playing a slightly older table that has the analog plunger support added but doesn't have any scripting to turn off the timer that controls the animation when using a plunger key/button to launch the ball. It is detecting a gamepad and thus assuming you have an analog plunger so it is constantly trying to update the animation to the 0 position while a second timer controlling the animation for the digital plunger is running updating it also.

#3 Bob5453

Bob5453

    I'm taking a nap

  • VIP
  • 3,896 posts
  • Location:Near Dayton, Ohio USA

  • Flag: United States of America

  • Favorite Pinball: Any table I can play while sitting in a rocking chair




  • Trophies:

Posted 06 March 2014 - 06:02 AM

I play with a gamepad, so unplugging it won't work. :) Find these lines in the script and put an apostrophe in front of them, this makes them remark statements and the code isn't executed, sort of like deleting them, but keeping them there in case you ever want them later. Plunger will now work visually.

 

Look for the Plunger routine to find them, they will look like this after you change them....

 

'If Plunger.MotionDevice> 0 Then
'    Plunger.TimerEnabled = 1
'    Plunger.MechPlunger = 1
'End If
 


Posted Image

You have discovered an Easter egg. Pat yourself on the back.


#4 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 06 March 2014 - 06:09 AM

What is probably happening is that you are playing a slightly older table that has the analog plunger support added but doesn't have any scripting to turn off the timer that controls the animation when using a plunger key/button to launch the ball. It is detecting a gamepad and thus assuming you have an analog plunger so it is constantly trying to update the animation to the 0 position while a second timer controlling the animation for the digital plunger is running updating it also.

 

Yup.   There are a lot of tables coded this way unfortunately, it also affects people with both a launch button and a plunger.    The correct way to fix it is to stop the timer when the launch "KeyDown" is pressed and resume it when you let go.   But the specific instructions will vary from table to table.

 

If Bob's instructions don't work, try locating the plunger object in the VP editor and unchecking  "Timer Enabled" under Misc.   This should fix the other cases that I've seen. 


Edited by DJRobX, 06 March 2014 - 06:11 AM.


#5 naboodiver

naboodiver

    Enthusiast

  • Platinum Supporter
  • 400 posts
  • Location:East Tennessee and former Hoosier

  • Flag: United States of America

  • Favorite Pinball: Scared Stiff, Attack from Mars, Indiana Jones, Addams Family

Posted 06 March 2014 - 03:15 PM

I do have an iPac and a launch button attached to it that emulates the "enter" key and also have a Microsoft game controller attached for nudge but no nanotech or Virtualpin plunger kit.   Sorry should have noted that in the post.     I will try the suggested changes tonight after work.    Thanks for the input on a solution guys....



#6 Horrible

Horrible

    Enthusiast

  • Members
  • PipPipPip
  • 138 posts
  • Location:London

  • Flag: United Kingdom

  • Favorite Pinball: Data East Star Wars, Star Trek 25th

Posted 10 March 2014 - 07:30 PM

I play with a gamepad, so unplugging it won't work. :) Find these lines in the script and put an apostrophe in front of them, this makes them remark statements and the code isn't executed, sort of like deleting them, but keeping them there in case you ever want them later. Plunger will now work visually.
 
Look for the Plunger routine to find them, they will look like this after you change them....
 
'If Plunger.MotionDevice> 0 Then
'    Plunger.TimerEnabled = 1
'    Plunger.MechPlunger = 1
'End If




Thank you so much!

This has been an issue for me since I got my cab up and running, it's been almost impossible to carry out skill shots until now!


Cheers

H

Win 7 Pro 64 Bit Sp1, [email protected], 8GB DDR3 RAM

NVIDIA GeForce GTX 950 2Gb, NVIDIA GeForce GT 610 1Gb

Crucial MX250Gb Primary' Samsung 840 128 Gb Backup

Corsair CX750 PINDMD3