Jump to content



Photo
- - - - -

Future Pinball Physics Finally Fixed


  • Please log in to reply
110 replies to this topic

#21 gimli246

gimli246

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts

  • Flag: Canada

  • Favorite Pinball: Monster Bash

Posted 24 August 2018 - 03:20 PM

Thanks everyone for the dialogue.
I generally agree with everything that is being said.
Ultimately, we all have this notion or goal that  Apple = Orange = Banana
But we end up proverbially comparing "Apples to Oranges" or Banana's and it is a bit of "Fools Errand".  And admittedly I can certainly be first in line on this foolish quest
 
It gets even more confounding when we realize that even the real life Banana tables can vary between each other... based on age and maintenance and settings of real life machines.
 
That being said, I think we all have a standard that flipper aiming should be predictable and reliable.
 
I think it is most useful in the developing stages if we compare "Apples to Apples" and try and improve FP flipper function to our own standards...like Gilrock is describing.
And I really think this is doable now....
 
This new approach enabled by Ravarcade and the actual settings were arbitrarily arrived at by GeorgeH and myself based on an observation that the FP flippers in many tables had difficulty with centre shots being too weak and lateral shots being too strong of course depending on the underlying xml setup etc...
 
So for instance when using the right flipper for a centre shot the tendency was a left of centre drift and weak shot. So increasing the flipper speed at the base of the flipper was the goal.
And for an orbit shot from the right flipper the tendency was the ball rose too steeply and quickly. So decreasing the flipper speed at the tip of the flipper seemed preferable.
 
These are simply our observatoins and the dynamic code was set accordingly.  
 
The good news is once you understand the code, you can change it how you like. 
 
So Chepas , if you find the centre shots are going up the Left ramp too easily for you?  Then you just increase the Omega Value at the base...
 
Here is the Current:
Sub RightFlipper_prehit()

If BAM_VERSION < 233 then Exit Sub

OnPreHitFlipperSettings(RightFlipperExt)

omegaCorrection = 43 - (RightFlipperExt.ContactPoint * 14) ' Max omega is 43 and min is 28.2. 

If RightFlipperExt.ContactPoint < 0.0 then RightFlipperExt.Omega = 43

If RightFlipperExt.ContactPoint > 1.2 then RightFlipperExt.Omega = 28.2

If (RightFlipperExt.ContactPoint => 0.0) And (RightFlipperExt.ContactPoint =< 1.2) then 

RightFlipperExt.Omega = omegaCorrection

End if

AddDebugText "Right Flipper Speed = " &RightFlipperExt.Omega 

AddDebugText "RightFlipperExt.ContactPoint= " &RightFlipperExt.ContactPoint

 

End Sub

 
Here is what you can do:
Sub RightFlipper_prehit()

If BAM_VERSION < 233 then Exit Sub

OnPreHitFlipperSettings(RightFlipperExt)

omegaCorrection = 45 - (RightFlipperExt.ContactPoint * 14) ' Max omega is 45 and min is 31 

If RightFlipperExt.ContactPoint < 0.0 then RightFlipperExt.Omega = 45

If RightFlipperExt.ContactPoint > 1.2 then RightFlipperExt.Omega = 28.2

If (RightFlipperExt.ContactPoint => 0.0) And (RightFlipperExt.ContactPoint =< 1.2) then 

RightFlipperExt.Omega = omegaCorrection

End if

AddDebugText "Right Flipper Speed = " &RightFlipperExt.Omega 

AddDebugText "RightFlipperExt.ContactPoint= " &RightFlipperExt.ContactPoint

 

End Sub

Edited by gimli246, 03 December 2018 - 01:11 PM.


#22 Gilrock

Gilrock

    Enthusiast

  • Platinum Supporter
  • 169 posts

  • Flag: United States of America

  • Favorite Pinball: Time Warp

Posted 24 August 2018 - 03:47 PM

I was talking about Time Warp.  That's the table I created in FP and VP.  I designed it in FP first several years ago right before BAM was a thing.  Then I did the VP9 version.  Just got back into thing recently and I'm working on the VPX version.

 

BTW Chepas you might not remember but I was like one of your first alpha testers for the Walking Dead PROC table probably sometime around 2014.  I think it was me and one other person doing the initial alpha testing.


Edited by Gilrock, 24 August 2018 - 03:47 PM.


#23 gimli246

gimli246

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts

  • Flag: Canada

  • Favorite Pinball: Monster Bash

Posted 24 August 2018 - 03:53 PM

To understand the math equation, remember that the flipper base contact point = 0 and the flipper tip contact point = 1  ( references to < 0 and >  1 are to cover any errant values proximal to the base or distal to the tip...)
 
So if we plug in the math for the Base where contact point = 0 then 
 
omegaCorrection = 45 - (RightFlipperExt.ContactPoint * 14)
 
 becomes:
omegaCorrection = 45 - (0 times 14)
omegaCorrection = 45 - 0
omegaCorrection = 45
 
Therefore,  the flipper Omega at the base is 45
 
Simlilary , if we plug in the math for the Tip  where contact point = 1 then 
 
omegaCorrection = 45 - (RightFlipperExt.ContactPoint * 14)
 
becomes:
omegaCorrection = 45 - (1 times 14)
omegaCorrectoin = 45 - 14
omegaCorrection = 31
 
Therefore,  the flipper Omega at the tip is 31
 
 
You can assign whatever math you wish to dynamically change flipper omega based on predicted flipper contact point....
 
Again Dynamic Flipper settings are adjusted independent of table XML, xBAM.BallSpeedLimit, Ravarcade Bounce Control etc...( they all do impact each other)
 
So the "Apple" to compare at this time is Flipper targeting only , please...

Edited by gimli246, 11 December 2018 - 12:59 PM.


#24 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

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

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 24 August 2018 - 04:32 PM

 

So Chepas , if you find the centre shots are going up the Left ramp too easily for you?  Then you just increase the Omega Value at the base...

 

Honestly I won't even bother doing any of these tweaks. It is a waste of time and really not any fun at all, is it? All boils back down the the glitter comment.

 

Even VP would never reach the Banana exactly, probably nothing ever will, but it's much closer than FP.

 

Just come and join the Light side and spend time doing creative things rather than wasting time doing those tweaks.

 

Compare to develop a real game. You won't be spending time creating xml to do physics testing, you would make the game. Same approach with VP where you can fall back on trusting it has "playable" covered.

 

------------------------------------------------

 

What has FP got that you think is better so you won't create on VP? Changeable cameras? Holograms?

  • Getting 3D Models into FP was kind of a ball ache, it was before blender plugin anyway, but that side of things is easier VP.
  • We like control over physics and also to have half decent out of the box. Meaning you don't have to tweak any physic in VP to be playable, unlike FP.

I was talking about Time Warp.  That's the table I created in FP and VP.  I designed it in FP first several years ago right before BAM was a thing.  Then I did the VP9 version.  Just got back into thing recently and I'm working on the VPX version.

 

BTW Chepas you might not remember but I was like one of your first alpha testers for the Walking Dead PROC table probably sometime around 2014.  I think it was me and one other person doing the initial alpha testing.

 

No idea, haven't seen it. I did start ED on FP a long time, not WD and I can't remember. Spending as much time as I did doing that in FP back then is how I learned how bad it was.


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#25 gimli246

gimli246

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts

  • Flag: Canada

  • Favorite Pinball: Monster Bash

Posted 24 August 2018 - 05:11 PM

What has FP got that I think is better so I won't create on VP?
 
Thanks for giving me an opportunity to bore everyone with my life story...it will be therapeutic for me....it all started on a rainy day when...bla bla bla
 
I used VP back in the day and I quite liked it and actually hyper modded a table ( that most people would hate...)
That was back in the days  needing constantly to update the program because it had  a 3 months lock out or whatever...they called it VPDogFood or something at the time
 
Anyways, I got into mame and making a cabinet with  dual controls for Robotron etc...
 
and then got into 3d TV's and 3d movies... bla bla bla
 
I decided to check youtube for videos of Virtual pinball and was astounded by BAM 3d and head tracking...bla bla bla
 
I started dialoguing with ravarcade and helped with the grammar on his website...bla bla bla 
and participated in endless interactions since 2014 about improving BAM and FP...bla bla bla
 
So I implemented a full 3d pinball table on a 50" samsung HD 3d Tv and added a couple monitors for backglass and FutureDMD  and added a modded x-arcade tankstick for flipper control
and then added kinect head tracking for changing the 3d perspective with head movements....and my life was complete...bla bla bla
 
Of course then virtual reality kicked in and of course Rav implemented VR for future pinball ( The First system to have VR pinball)
So I have increasingly learned tweaking and coding ( you know the disease) bla bla bla 
and began coding 3d envrioments and animations (amateurish for sure) bla bla bla
 
Then I bought a Samsung S7 phone for Samsung Gear VR and I learned about Rift Cat and Nolo to make it VR compatible with Steam content .
Turns out I could happily run Future Pinball VR on this rig and Nolo allows wireless VR (the first wireless VR pinball and with positional room tracking).... bla bla bla
 
I also periodically use the limited VR offerings from Stern and Pinball FX2
 
But always is the spectre that FP  is old , irrelevant and has poor physics....bad reputations are hard to overcome...
 
Meanwhile, unbeknownst to most VP users BAM has continued developing a staggering array of features ( of course "useless" and "stupid" and "hilarious" to many here...)
 
Ravarcade has essentially unlocked access to FP code through BAM and I have happily explored most of these including:
 
1.Custom balls of all shapes and sizes (animated flaming balls, hockey pucks, whatever..)
2.Hittable Swinging ball and chain for Junkyard dog
3.Fully playable backglass playfields
4.Fully scalable miniplayfields
5.Miniplayfields that move with flippers (Indiana Jones)
6.Custom Games Room environments and model animations
7. Two player tables with opposing table slopes (See joust Pinball)
8. Full VR implementation
9.Full 3d implementation for 3d TV
10. Script controlled camera zoom off all table angles
11. on the fly physics tweaking and saving
12, Dof  Links stuff
 
So I realize much of this may or may not be available in VP...it was kind cool being in a small community trying, however unsuccessfully,  to reinvent the wheel 
 
The VR and 3d for me makes it all worth while and now that I can impact Flipper dynamics so easily.   I am a naively happy clam.
 
But I thought I would float a discussion about some of this stuff to the pinball community at large (at the risk of Thalamic Scorn) for those curious about FP , BAM and what
the small group at Go Pinball are up to...

Edited by gimli246, 06 December 2018 - 06:30 PM.


#26 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

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

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 24 August 2018 - 06:17 PM

Bit of an essay there, but sounds like it's more of an "attract" thing with all the bells and whistles. Rather than an actual pinball game that plays like pinball.

 

That is fine but trouble is I've seen threads just like this over the years and they're all the same result. That 2.7 isn't really much different to this anyway and that was a while back.

 

It is like the ark of the covenant is finally discovered, which just turns out to be a chest with a 5w led inside.


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#27 gimli246

gimli246

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts

  • Flag: Canada

  • Favorite Pinball: Monster Bash

Posted 24 August 2018 - 08:20 PM

Yes , I know...we'll see
This works alongside the 2.7 or whatever but point taken

Edited by gimli246, 24 August 2018 - 08:22 PM.


#28 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

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

  • Favorite Pinball: System 11

Posted 25 August 2018 - 07:18 AM

Gimli246, I like your spirit. FP looks great. I like the lighting engine especially. If VPX physics could ever be mapped to FP I’m sure we’d have lots of happy campers.

#29 TerryRed

TerryRed

    Pinball Wizard

  • Silver Supporter
  • 2,011 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 25 August 2018 - 07:27 AM

I myself, applaud any effort made to try to help FP play better. There are loads of wonderful tables not available for VPX (and probably never will be), and I would love to see a decent solution to improving the physics. I'm a casual player, so I don't get all elitest, pissy and worked up about FP vs VPX. I enjoy it all for what it is.

 

Even with these new updates....it's not VPX physics...nor will it ever be VPX. I don't ever expect it to be. So stop comparing it as such. If someone actually has FP and newest BAM properly setup and this new code implemented properly for a specific table, you will see it's definitely better than it was... but it will take some time to mature. 

 

If you spend most of your time playing VPX...then you will most likely hate FP (and FX3, etc) no matter what.

 

I would hope some people who actually like FP originals would at least "want" them to at least play a lot better if possible... but some just want to have another chance to say "FP is shit" no matter what. I invest quite a bit in the VPX side in terms of DOF, PUP, table testing,etc...   and I don't need to be convinced to hate FP. I love it for its strengths, and I'm ok with the weaknesses.... you don't like it. Get over it.

 

To the FP haters....don't frikkin bother posting in a FP thread that you know you won't be supportive of no matter what...be a dick in your own VPX fanatic posts. It's getting old....almost as old as FP itself. ;)

 

Thanks gimli for your post, your work with the FP community, and with ravarcade! Your time and work is not wasted and is appreciated by many. You've been a patient gentleman...and sadly this post brought out the same old pissy responses I would expect to see here.



#30 Thalamus

Thalamus

    VPF Veteran

  • Platinum Supporter
  • 5,019 posts

  • Flag: Norway

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

Posted 25 August 2018 - 08:28 AM

As long as the topic states something that is total bullshit I will not shut up about how bad FP is. It is bad - really really bad and will always be !

 

When it comes to you Terry. There is very few people I admire in this community more. Sure. I don't agree with you on everything. You have a flair for everything bling-bling :) But there is no doubt that our community would not be nearly as fun and exciting without your contributions in different areas. So, please don't change who you are and what you do.

 

I have no problems with people loving FP. As long as they don't tell to the whole world that they found the holy grail.


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


#31 senseless

senseless

    Pinball Fan

  • Platinum Supporter
  • 513 posts

  • Flag: Netherlands

  • Favorite Pinball: T2, Black Knight 2K, Monster Bash

  • PS3 Gamer Tag: senseless_mind

Posted 25 August 2018 - 08:47 AM

I love to read about the passion of people in our pinball community. I also see a lot of opportunities here to make the ultimate vpx version of POP. Maybe gimli, Gilrock and 32 can join forces :).

 

I will try to new BAM and physics and if the table plays better I will even consider redoing the DOFLinx Mod on this table...



#32 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

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

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 25 August 2018 - 02:48 PM

As long as the topic states something that is total bullshit I will not shut up about how bad FP is. It is bad - really really bad and will always be !

 

Init.

 

 

I myself, applaud any effort made to try to help FP play better.

 

You actually posted a very similar thread yourself, which didn't feel that long ago. "Finally, we did it!, great physics now, unlocked and owned". You did post a video though, which saved me half hour testing

 

 

If you spend most of your time playing VPX...then you will most likely hate FP (and FX3, etc) no matter what.

 

Lol. It plays like so bad, it's not about hating it, just for hating it. It's so terrible and you would defend it even if it caused you a house fire.


Edited by chepas, 25 August 2018 - 02:51 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#33 TerryRed

TerryRed

    Pinball Wizard

  • Silver Supporter
  • 2,011 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 25 August 2018 - 03:59 PM

 

As long as the topic states something that is total bullshit I will not shut up about how bad FP is. It is bad - really really bad and will always be !

 

Init.

 

 

I myself, applaud any effort made to try to help FP play better.

 

You actually posted a very similar thread yourself, which didn't feel that long ago. "Finally, we did it!, great physics now, unlocked and owned". You did post a video though, which saved me half hour testing

 

 

If you spend most of your time playing VPX...then you will most likely hate FP (and FX3, etc) no matter what.

 

Lol. It plays like so bad, it's not about hating it, just for hating it. It's so terrible and you would defend it even if it caused you a house fire.

 

 

 

My last post about "SLAM has unlocked FP physics", etc.... was more to show what he claimed, not me thinking "FP is fixed"... sadly we can't even confirm how well his new Ultimate PRO tables play or not since he hasn't released anything in over 1.5 years. If there's someone who will never be convinced to hate FP, its that guy.

 

I will never try to "convince" someone to like FP.... and I get a lot of people who ask me about it. I tell them try it for yourself, and I always give the disclaimer "It will not play like VPX" if they are a VPX player.

 

 

On a more serious note chepas.... what is your avatar? Is that from Gremlins?


Edited by TerryRed, 25 August 2018 - 04:00 PM.


#34 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

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

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 25 August 2018 - 04:11 PM

It's not hate, is it? Giving time to actually test it this time and laying out it's flaws. There is no magic wand for FP.

 

 

"It will not play like VPX" if they are a VPX player.

 

This is where you get it wrong. Compare both sims to a real pin, not to each other. VP plays much closer to a real pin so you can put it above it all day.

 

I had trouble coming off real Tron just last week (I play it all the time) and trying a VP version. I ended up tweaking for about 3-4 hours and still didn't get done, the upper flipper was my main issue in the end but I wouldn't be able to do anything close to that in FP. I have MOTU > Tron, this is much different on the upper flipper, so now I wonder if this was a FP conversion. It evens kills the geometry!

 

 

On a more serious note chepas.... what is your avatar? Is that from Gremlins?

 

I wanted to ask you the same. Yes it is the fit one.


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#35 TerryRed

TerryRed

    Pinball Wizard

  • Silver Supporter
  • 2,011 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 25 August 2018 - 05:40 PM

 

 

 

On a more serious note chepas.... what is your avatar? Is that from Gremlins?

 

I wanted to ask you the same. Yes it is the fit one.

 

 

It's actually me from a movie I made with my kids many years ago.



#36 gimli246

gimli246

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts

  • Flag: Canada

  • Favorite Pinball: Monster Bash

Posted 25 August 2018 - 10:05 PM

Thanks everyone for engaging and I know for some it is a wearisome topic.

Thanks Terry and Ben and Senseless for the encouragement.

I hope that anyone that dabbles in tweaking and enjoys FP, will consider trying this new approach.
I am more than happy to help you understand it...

Edited by gimli246, 06 December 2018 - 07:11 PM.


#37 TerryRed

TerryRed

    Pinball Wizard

  • Silver Supporter
  • 2,011 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 25 August 2018 - 10:09 PM

Thanks everyone for engaging and I know for some it is wearisome topic.

Thanks Terry and Ben and Senseless for the encouragement.

I hope that anyone that dabbles in tweaking and enjoys FP, will consider trying this new approach.
I am more than happy to help you understand it...

 

With GeorgeH's help I did try to quickly apply it to Bez Ball, and I did notice it helped quite a bit. It made the table much easier for my wife to play (who doesn't play pinball).



#38 gimli246

gimli246

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts

  • Flag: Canada

  • Favorite Pinball: Monster Bash

Posted 26 August 2018 - 12:18 AM

I added it to a Jaws table with 2.7 XML and Shootanza with Monezzas ZED physics that I am modding and I really think it makes a difference.

Again people should try it with their favorite XML and try it with and without xBAM.BallSpeedLimit and Bounce Control as described above..

All flippers can have different codes
which makes fine tuning of tables with more than 2 flippers much easier

Edited by gimli246, 06 December 2018 - 06:35 PM.


#39 gimli246

gimli246

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts

  • Flag: Canada

  • Favorite Pinball: Monster Bash

Posted 29 August 2018 - 01:53 AM

https://youtu.be/CqzNKJIsUWc


Here is a video where I try to demonstrate:
1.debug mode showing how flipper numbers change depending on contact point
2.accurate flipper targetting
Pay attention to flashing red target lights and accuracy of shots from a cradled position (I am using BAMs flipper testing tool and sometimes I accidently reflexly flick the flipper, so ignore that)
3.At the end I go ahead play the table a little

Edited by gimli246, 29 August 2018 - 12:25 PM.


#40 DJRobX

DJRobX

    Pinball Fan

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

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 29 August 2018 - 01:54 AM

Tron, this is much different on the upper flipper, so now I wonder if this was a FP conversion. It evens kills the geometry!

 

Yes, all of the VPX Trons are based on Fren's FP conversion.    G5K did some extensive graphical updates, but they still originate with the FP PF as the foundation.