Register    Login    Forum    FAQ    PinSimDB.org

Board index » Future Pinball » BAM corner




Post new topic Reply to topic  [ 2241 posts ]  Go to page Previous  1 ... 190, 191, 192, 193, 194, 195, 196 ... 225  Next
Author Message
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Wed Jul 31, 2019 11:23 pm 
Offline
User avatar

Joined: Mon Aug 15, 2011 10:02 am
Posts: 1886
Location: Argentina
Many thanksssss!!!!!!!


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Thu Aug 01, 2019 7:00 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2823
Location: Ontario, Canada
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


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Fri Aug 02, 2019 4:55 am 
Offline
User avatar

Joined: Sun Sep 13, 2015 1:16 pm
Posts: 532
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.


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Fri Aug 02, 2019 11:36 am 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
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

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Last edited by ravarcade on Fri Aug 02, 2019 12:33 pm, edited 1 time in total.

Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Fri Aug 02, 2019 12:10 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2823
Location: Ontario, Canada
Thanks Rav, I will have a look...
the Bam beta link is not responding yet...

Cheers


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Fri Aug 02, 2019 12:33 pm 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
Gimli wrote:
the Bam beta link is not responding yet...

Works now. There was a typo in link.

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Fri Aug 02, 2019 10:16 pm 
Offline
User avatar

Joined: Sun Sep 13, 2015 1:16 pm
Posts: 532
I am noticing that you can't switch Ball textures N or P) since the Ball shadows were added.


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Sat Aug 03, 2019 6:30 pm 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
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.

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Sun Aug 04, 2019 5:13 pm 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
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

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Top 
 Profile  
 
 Post subject: Re: Better Arcade Mode - MOD for Future Pinball
 Post Posted: Sun Aug 04, 2019 5:30 pm 
Offline
User avatar

Joined: Sun Sep 13, 2015 1:16 pm
Posts: 532
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!


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 2241 posts ]  Go to page Previous  1 ... 190, 191, 192, 193, 194, 195, 196 ... 225  Next

Board index » Future Pinball » BAM corner


Who is online

Users browsing this forum: No registered users and 6 guests

 
 

 
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: