Register    Login    Forum    FAQ    PinSimDB.org

Board index » Welcome to GoPinball » General Discussion




Post new topic Reply to topic  [ 154 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16
Author Message
 Post subject: Re: Future Pinball 2.0 (idea/project)
 Post Posted: Sun Feb 18, 2018 7:39 am 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 935
Popotte wrote:
Well, I think it's impossible, but just for confirmation.
- when you create a ball, it's a steel ball (with all his physic), why not other material (with it's own physic)
- when too (obviously stell) balls hit, you have (obviously) a steel sound.
Just tell me it's impossible, no problem.

If you want to assign ball different material for physic simulation, when it is not possible.
To be precise: ball is made of "ball material". FP detects, that it is ball when it checks material and it gets back "ball". You can have only one set of physics params for "ball material".

Now, if you want to:
- make some balls look like it is made of wood, then YES.
- on hit event check if ball is made of steel or wood, then YES.

Here is example:
Step 1: define balls:
Code:
Dim STEEL, WOOD
STEEL = xBAM_BallManager.DefineCustomBall(192, 192, 192, "", "", "")
WOOD = xBAM_BallManager.DefineCustomBall(192, 192,  192, "WOOD_452", "WOOD_334", "WOOD_269")

Note: You need textures for WOOD ball.
1. Add textures to FP: Texture Manager. One, two or tree textures. Same as in ZIP: 452.BMP, 334.BMP, 269.BMP but for wood ball. In texture editor give names to that textures: WOOD_452, WOOD_334, WOOD_269.
2. Add surface to table. Assing that textures to surface. (To one surface you can assign up to 3 textures). Make that surface not visible by unchecking checkbox: Render object (initial value). Move that surface to outside table to place where it will not interupt table editing.

Step 2.
Add CreateCustomBall subroutine:
Code:
Sub CreateCustomBall ( Source, BallName )
   Dim bi
   Set bi = xBAM_BallManager.CreatCustomBall(BallName)
   Source.CreateBall bi.Red, bi.Green, bi.Blue, bi.BallNumber
End Sub

Create STEEL ball in "kicker1":
call CreateCustomBall(kicker1, STEEL)

and to create WOOD ball:
call CreateCustomBall(kicker1, WOOD)

Step 3.
Play different sounds for STEEL or WOOD ball.
Code:
Sub Bamper1_Hit()
 If xBAM_BallManager.GetBallName(fpBallID) = STEEL Then
    ' play sound for STEEL ball
  End If
  If xBAM_BallManager.GetBallName(fpBallID) =WOOD Then
    ' play sound for WOOD ball
  End If
End Sub

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


Top 
 Profile  
 
 Post subject: Re: Future Pinball 2.0 (idea/project)
 Post Posted: Sun Feb 18, 2018 8:06 am 
Offline
User avatar

Joined: Fri Jul 02, 2010 4:50 am
Posts: 1131
Location: Paris - France
Thanks for all these informations.

_________________
Les cons ça ose tout. C'est même à  ça qu'on les reconnaît.
My tables avalaible at http://www.pinsimdb.org/fpreleases/ and http://www.irpinball.org/
Image
Image
Le prix s'oublie, la qualité reste


Top 
 Profile  
 
 Post subject: Re: Future Pinball 2.0 (idea/project)
 Post Posted: Sat Mar 17, 2018 12:12 am 
Offline

Joined: Thu Aug 16, 2012 11:12 pm
Posts: 1765
Location: Arkansas, USA
GeorgeH wrote:
TheNalex wrote:
I absolutly agree that BAM + FP should be distributed together in a kind of "unified" installer. Or, at least, have an installer for "BAM" that downloads FP during its installation process (to avoid any copyright problem with Black...) ==> the end results is the same

I will ask later LvR, but on my part, I'm OK to provide a download link (directly on the pinsimdb homepage for example) or provide a link to Rafal website.

Keep me posted on this subject. Do not hesitate to send me PM if I do not answer.

Best, Alex


I am in favor of replacing the following text on the PinSimDB home page with a link to "FP-BAM-setup.exe":

"It is available at the Future Pinball official website."

It would be nice if Ravarcade could post "FP-BAM-setup.exe" on his site in some way so it is downloaded directly when someone clicks on a link. Having it on Ravarcade web site would provide assurance that users would download the most current copy.

I created a link that appears to work:

http://ravarcade.pl//files/FP-BAM-setup.exe

Rav,

Will this link always download the most current version of BAM?

George


TheNalex wrote:
Yes, I will try to do something in the coming weeks (as you know I'm on vacations right now).
I will also try to add some tag and a "minimum" BAM required version on each table.


It has been a month. Are you still on vacation?

George


Top 
 Profile  
 
 Post subject: Re: Future Pinball 2.0 (idea/project)
 Post Posted: Sun Mar 18, 2018 5:59 pm 
Offline
User avatar

Joined: Fri Jul 02, 2010 4:32 am
Posts: 1637
oh sorry, no time at all to do anything for the moment.
After vacations, work and children took all my free time.

Do not desperate though, I WILL do something but I won't give a deadline this time

_________________
Image
We need you!
Help us improve the PinSimDB Database.
How to add your table or fill missing information : viewtopic.php?f=72&p=34257#p34257


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 154 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16

Board index » Welcome to GoPinball » General Discussion


Who is online

Users browsing this forum: Google [Bot] and 11 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:  
cron