Register    Login    Forum    FAQ    PinSimDB.org

Board index » Future Pinball » BAM corner




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Ball Trails
 Post Posted: Thu Dec 19, 2019 12:15 pm 
Offline
User avatar

Joined: Sat Jan 29, 2011 4:54 pm
Posts: 1272
Location: Italy
Hi Rav,you can make sure that you can control the ball trails in script?


Top 
 Profile  
 
 Post subject: Re: Ball Trails
 Post Posted: Tue Dec 31, 2019 9:39 am 
Offline
User avatar

Joined: Sat Jan 29, 2011 4:54 pm
Posts: 1272
Location: Italy
ok,ball trails,now it is really 100% functional, it works even without new renderer.

this is the code,for those wishing to place it on their tables, or for those working their "mod"

Dim BallTrailsOnOff, BallTrailsMode

Under.....this
Sub FuturePinball_KeyPressed(ByVal KeyCode)

If (KeyCode = "48") Then 'key B
BallTrailsOnOff = BallTrailsOnOff + 1
If BallTrailsOnOff > 2 then BallTrailsOnOff = 1
If BallTrailsOnOff = 1 Then BallTrailsMode=true: BallTrailsSystem()
If BallTrailsOnOff = 2 Then BallTrailsMode=false: BallTrailsSystem()
End if

the botton of script....this "sub"

sub BallTrailsSystem()
PlaySound "collide"
if BallTrailsMode=false then
xBAM.Trails.Level = 1.5
xBAM.Trails.Color 255,128,150 ' Red, Green, Blue
xBAM.Trails.Enabled = true
exit sub
end if
if BallTrailsMode=true then
xBAM.Trails.Enabled = false
exit sub
end if
End sub

you can change the values as you wish...
xBAM.Trails.Level = x,x......tail length
'Red, Green, Blue
xBAM.Trails.Color 255,128,150 ........ a mix of these colors


Top 
 Profile  
 
 Post subject: Re: Ball Trails
 Post Posted: Tue Dec 31, 2019 10:02 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2940
Location: Ontario, Canada
Very cool !!!
Thanks Rav and Wild
Is a new feature in the version of BAM that was just released ?


Top 
 Profile  
 
 Post subject: Re: Ball Trails
 Post Posted: Tue Dec 31, 2019 6:04 pm 
Offline
User avatar

Joined: Sat Jan 29, 2011 4:54 pm
Posts: 1272
Location: Italy
Gimli wrote:
Very cool !!!
Thanks Rav and Wild
Is a new feature in the version of BAM that was just released ?


yes Bob... before "ball trails", you had to activate it from the bam menu,and it only worked with the new renderer active, so not everyone could use it,and in the MP there was a bug,at my request, rav has optimized it, we can activate and deactivate it in the script, it works in the MP, and above all it works even without a new renderer, excellent, don't you think :D ?

in my opinion "ball trails" is a nice feature to insert in the tables :D


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 4 posts ] 

Board index » Future Pinball » BAM corner


Who is online

Users browsing this forum: No registered users and 12 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: