GoPinball.com
http://www.gopinball.com/forum/

Better Arcade Mode - MOD for Future Pinball
http://www.gopinball.com/forum/viewtopic.php?f=86&t=3249
Page 193 of 225

Author:  francisco666 [ Wed Jul 31, 2019 11:23 pm ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

Many thanksssss!!!!!!!

Author:  Gimli [ Thu Aug 01, 2019 7:00 am ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

Hi Rav,

the shadow feature is outstanding !! Looks and works amazing !
All the new ball features also look very cool ! I will have a look at your explanation of the new code....

Is it possible to add ball rolling sounds (like what smoke did) as a
Standard BAM feature too ?


The color on the custom ball does not seem right:
compare the two tables in this file:
https://www.dropbox.com/s/mjxovl075m5c1 ... m.rar?dl=0

One table uses the old method and the other uses the new.
When ball hits slingshots in the new table the colors are black for the tennis ball and the volleyball ?

Also, I am not sure how to tell the ball ID . In my demo table, If you press "<" and play in debug mode it will create a new ball and every ball is named = 0

Author:  TerryRed [ Fri Aug 02, 2019 4:55 am ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

Ball and Flipper Shadows look fantastic Rav! Great job.

So the only thing I see in Jaws for example, is the shadow is still visible when the ball is in the barrel kicker.

I imagine I can use your new commands for radius,etc to change that up when its in the kicker and back to normal when out of the kicker.... but that could get tricky in MB situations.

Author:  ravarcade [ Fri Aug 02, 2019 11:36 am ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

TerryRed wrote:
So the only thing I see in Jaws for example, is the shadow is still visible when the ball is in the barrel kicker.

I imagine I can use your new commands for radius,etc to change that up when its in the kicker and back to normal when out of the kicker.... but that could get tricky in MB situations.

I will fix it.

Gimli wrote:

Is it possible to add ball rolling sounds (like what smoke did) as a
Standard BAM feature too ?


Maybe, but not soon.

Gimli wrote:
The color on the custom ball does not seem right:
...
One table uses the old method and the other uses the new.
When ball hits slingshots in the new table the colors are black for the tennis ball and the volleyball ?

Nope, colors are correct. Error is in wrong textures applied to ball.
Here is fixed BAM.dll
https://www.ravarcade.pl/beta/BAM.dll


... and about things in script:
Pleses use xBAM.Ball or fpBallId ONLY in something_hit() subroutines, not in FuturePinball_KeyPressed() or in CreateNewBall()
In CreateNewBall you have this:
Code:
   xBAM.Ball.Name = xBAM.Ball.Name + 1
   xBAM.Ball.UpdateBall 192, 192, 192, "Beach_452", "Beach_334", "Beach_269"'xBAM.Ball.Opacity = 0
   CreateCustomBall PlungerKicker

That 2 lines xBAM.Ball may change look of any existing ball on table, but they will not change look of new ball created on PlungerKicker.

If you want to change look of ball in FuturePinball_KeyPress(), please do it this way:
Code:
Sub FuturePinball_KeyPressed(ByVal KeyCode)
   Dim ball
   Set ball = xBAM.BallCloseTo(0,0)
   If ball.exist Then
      if keycode = 46 then ball.UpdateBall 192, 192, 192, "Beach_452", "Beach_334", "Beach_269"
      If keycode = 47 then ball.UpdateBall 255, 255, 255, "Volley_452", "Volley_334", "Volley_269"
      If keycode = 48 then ball.UpdateBall 222, 253, 130, "Tennis_452", "Tennis_334", "Tennis_269"      
   End If

So:
1. Find ball on table with xBAM.BallCloseTo
2. Check if ball exist
3. Change ball look (ball variable is THAT ball)

On "CustonBall(1).fpt" you have this:
Code:
Dim Beachball, TennisBall, VolleyBall
BeachBall = xBAM.BallManager.DefineCustomBall(192, 192, 192, "Beach_452", "Beach_334", "Beach_269")
TennisBall = xBAM.BallManager.DefineCustomBall( 222, 253,  130, "Tennis_452", "Tennis_334", "Tennis_269")
VolleyBall = xBAM.BallManager.DefineCustomBall( 255, 255, 255, "Volley_452", "Volley_334", "Volley_269")

You don't need to remove this code. Lets say you keeped it as it is.

Now, in LeftSlingshotRubber_Hit(), you can use BallTransformations.UpdateBall like you do on CustonBall(1).fpt
... or you can write same rules like this:
Code:
Sub LeftSlingshotRubber_Hit()
   If xBAM.Ball.Name = BeachBall Then
      xBAM.Ball.Name = TennisBall
   ElseIf xBAM.Ball.Name = TennisBall Then
      xBAM.Ball.Name = VolleyBall
   ElseIf xBAM.Ball.Name = VolleyBall Then
      xBAM.Ball.Name = BeachBall
   End If

Author:  Gimli [ Fri Aug 02, 2019 12:10 pm ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

Thanks Rav, I will have a look...
the Bam beta link is not responding yet...

Cheers

Author:  ravarcade [ Fri Aug 02, 2019 12:33 pm ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

Gimli wrote:
the Bam beta link is not responding yet...

Works now. There was a typo in link.

Author:  TerryRed [ Fri Aug 02, 2019 10:16 pm ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

I am noticing that you can't switch Ball textures N or P) since the Ball shadows were added.

Author:  ravarcade [ Sat Aug 03, 2019 6:30 pm ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

Another beta:
https://www.ravarcade.pl/beta/BAM.dll

- Flipper shadows don't require xBAM.CreateAllExt any more. So, all old tables will get ball & flipper shadows without any modifications
- No more shadows on top of ball, so in Jaws ball in barrel hole will look correct
- xBAM.DisableFlipperShadows / xBAM.EnableFlipperShadows can be used to disable/enable shadows for selected or all flippers
If you pass as arg name of flipper like this:
xBAM.DisableFlipperShadow "LeftFlipper"
it will disable shadow only for LeftFlipper,
If you skip argument it will be applied to all flippers.
So, for table with many extra-invisible-hidden-flipper, you can hide unwanted shadows.

TerryRed wrote:
I am noticing that you can't switch Ball textures N or P) since the Ball shadows were added.

I will check it.

Author:  ravarcade [ Sun Aug 04, 2019 5:13 pm ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

BAM Update v.256

https://www.ravarcade.pl/files/bam-setup.exe
https://www.ravarcade.pl/files/BAM_v1.4-256.zip

This is normal release.

- Ball & Flippers shadows (go to Addons menu to tweak params)
- Added new script command to control new shadows and ball look

https://www.youtube.com/watch?v=N_AdMHrKdeo

Author:  TerryRed [ Sun Aug 04, 2019 5:30 pm ]
Post subject:  Re: Better Arcade Mode - MOD for Future Pinball

ravarcade wrote:
BAM Update v.256

https://www.ravarcade.pl/files/bam-setup.exe
https://www.ravarcade.pl/files/BAM_v1.4-256.zip

This is normal release.

- Ball & Flippers shadows (go to Addons menu to tweak params)
- Added new script command to control new shadows and ball look

https://www.youtube.com/watch?v=N_AdMHrKdeo


Awesome....ball textures change now as well.

I get so excited when I see a new reply is in for this thread!

Thanks so much Ravarcade!

Page 193 of 225 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/