Register    Login    Forum    FAQ    PinSimDB.org

Board index » Future Pinball » FAQ & Help




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Plunger animation
 Post Posted: Wed Jul 10, 2019 6:42 pm 
Offline

Joined: Sun Mar 10, 2019 5:13 pm
Posts: 95
So I've noticed on some tables when you launch the ball, sometimes the plunger animation is real smooth. Just hold enter for like a second and the plunger pulls back fast. However on other tables the animation goes very slow and you gotta hold down enter for a few seconds till the plunger animation finally pulls all the way back. Is this how they're supposed to be? or is there something in the script I can change?


Top 
 Profile  
 
 Post subject: Re: Plunger animation
 Post Posted: Wed Jul 10, 2019 7:29 pm 
Offline
User avatar

Joined: Mon Aug 15, 2011 10:02 am
Posts: 1874
Location: Argentina
There is no easy way to change the speed of how the plunger are pulled back, you can add some script lines and a timer to regulate the Percentage of pull.

A way to achive that via script id the next:

Search for:

' The Player is Pulling back the Plunger
If (KeyCode = GetKeyCode(PlungerKey)) Then
plunger.pull
End If


and change for

' The Player is Pulling back the Plunger
If (KeyCode = GetKeyCode(PlungerKey)) Then
plungertime.set true,10 'The number here can be change, higer value slower pull
End If



And add at the end of the scrip

dim percentagepull
sub plungertime_expired
percentagepull=percentagepull+1 'Higher value here make faster pull
Plunger.Pull(percentagepull)
end sub


Finaly search for:

If (KeyCode = GetKeyCode(PlungerKey)) Then
Plunger.LetGo
PlaySound "PlungerRelease"
End If


Add there the blue line
If (KeyCode = GetKeyCode(PlungerKey)) Then
plungertime.set false,10
Plunger.LetGo
PlaySound "PlungerRelease"
End If


Top 
 Profile  
 
 Post subject: Re: Plunger animation
 Post Posted: Wed Jul 10, 2019 11:20 pm 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 2258
Location: Arkansas, USA
The plunger tends to be a little slow on my version of "Phantom of the Opera" but the action is quite smooth:

http://www.pinsimdb.org/pinball/table-2 ... a_ultimate

I am not sure if you like it or not. The slower action allows you more time to identify when you release the ball so you get the skill shot. If you like it, you can search the script for "Plunger Mod" and you can identify what you need to add to any table that has a normal plunger. The coding won't work on tables like Medieval Madness which uses an autoplunger.

The method I used is a little different from Francisco's. It requires you add a timer to the playfield.

George


Top 
 Profile  
 
 Post subject: Re: Plunger animation
 Post Posted: Thu Jul 11, 2019 9:02 pm 
Offline
User avatar

Joined: Mon Aug 15, 2011 10:02 am
Posts: 1874
Location: Argentina
GeorgeH have a much better solution


Top 
 Profile  
 
 Post subject: Re: Plunger animation
 Post Posted: Fri Jul 12, 2019 2:00 am 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 2258
Location: Arkansas, USA
Thanks Francisco but I think Gimli got it from some other table when we were working on CFTBL. I decided I liked it and figured out how to add it to other tables that have the right type of plunger.

George


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 5 posts ] 

Board index » Future Pinball » FAQ & Help


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: