Right Ramp:I added a new Trigger that I called Trigger12b and assigned it to a new "surface" ( you'll see it in top right of table editor) called "RightRampFix" and set the height of that surface to 43-46 mm ( the height of the ramp that the trigger is on)
Left ramp (Franky Ramp):I simply added a code to start FrankenStein Multiball if all franky body parts obtained and when you
hit any one of your FrankyBelt kickers
Although the kickers are still required at least now you can always start the multiball mode (before it was hit or miss)
Don't worry about phantom flippers right now, George.
Play with the new flipper code above and you'll see how you can code them to respond differently based on ball speed.
In my demo , I actually have the flipper strength/speed "omega" lower when the ball moves faster.
Which is opposite of what I had originally planned.
But this may make sense, I guess as perhaps a faster flipper speed meeting a fast spinning ball
might only amplify weird FP behaviour...who knows?
You of course can add more than two settings per flipper.
For example here is an arbitrary combination using 3 different speed tolerances:
Code:
Sub LeftFlipper_prehit()
If xBAM.Ball.Speed <=300 then
LeftFlipperExt.Mass = 20000
LeftFlipperExt.Omega = 50
End if
If xBAM.Ball.Speed > 300 < = 500 then
LeftFlipperExt.Mass = 20000
LeftFlipperExt.Omega = 35
End if
If xBAM.Ball.Speed > 500 then
LeftFlipperExt.Mass = 20000
LeftFlipperExt.Omega = 25
End if
prehitidx = prehitidx + 1
AddDebugText "on pre hit: " & prehitidx
AddDebugText "xBAM.Ball.Speed: " & xBAM.Ball.Speed
End Sub
Once you are on to it, you see how easy it is.
I wanted to start with just 2 settings /flipper to observe the results.
You obviously will notice the difference most readily if the 2 values per flipper are not close to each other ( ie set one Omega = 10 and the other at 70)
Eventually we can change the Rubber Elasticity, and Friction values as well if we want..
For phantom flippers we'll need to add "Flag" so prehit isn't active if phantom flippers are about to fire....and that is easy to do as well