Looks really good!
I'm sure you can get some DBZ animated character BAM custom models to work with the table? (not sure if you PC can handle that?)
for sharpness, darkLevel I receive error.....Sub NewtonPhysicsTick()
Dim i, j
i = (xBAM.NewtonCounter Mod 256) / 256
j = ((xBAM.NewtonCounter + 128) Mod 256) / 256
Call Flasher1Ext.SpotLight(2, i * 360, 80, 75)
Call Flasher2Ext.SpotLight(2, j * 360, 80, 75)
Call Flasher3Ext.SpotLight(2, i * 360, 80, 75)
Call Flasher4Ext.SpotLight(2, j * 360, 80, 75)
End Sub
xBAM.RayCastShadows.Enable= True
'xBAM.RayCastShadows.Set sharpness, darkLevel
'xBAM.RayCastShadows.Sharpness = 0.8
'xBAM.RayCastShadows.DarkLevel - 0.2
xBAM.RayCastShadows.Set 0.8
xBAM.ShadowMap "flasher1", 800 , 1 , 5, 1, 10
xBAM.ShadowMap "flasher2", 800 , 1 , 5, 1, 10
xBAM.ShadowMap "flasher3", 800 , 1 , 5, 1, 10
xBAM.ShadowMap "flasher4", 800 , 1 , 5, 1, 10
If Not xBAM.RayCastShadows.Enable Then xBAM.RayCastShadows.Set 0.8, 0 'sharpness, darklevel
' Flasher1Ext.SpotLight(coneAngle, rotationAngle, verticalAngle, falloffAngle)
' coneAngle - "open" or "close" the angle of light spread
' rotationAngle - clockwise rotation angle. Zero point to top of the table
' verticalAngle - vertical angle. Zero is down straight into playfield, 90 (degrees) is horizontal.
' falloffAngle - allows to make edges of spot light blurred (soft shadows). It is the shadow "darkness level"
' .SetPosition X,Y,Z you place the flasher wherever (hidden) but you can position the light on the table nonetheless. Z is Height.
Example
Call PFLightEXT.SpotLight( 100, 0, 80, 20)
PFLightEXT.SetPosition 274,1029,0
I don't even know....!!I only have this. If there's more, i'd like to know as well.
in fact now I don't know another new one...... PFLightEXT.SetPosition 274,1029,0' .SetPosition X,Y,Z you place the flasher wherever (hidden) but you can position the light on the table nonetheless. Z is Height.
and you did well, that's what everyone needs, thank youI just wanted to share what I have on spotlights.
Yes,in fact, as I said above, it would be useful to have a specific thread (with images) to be able to study.....but for now I can't open it until everything is clear to me (maybe someone else? could)Terry surely can answer about the rotating spotlights but I can imagine 2 ways ( I never did it): some math and a timer miniplayfield with the sportlight and rotate the miniplayfield.
I assume you ask because you could not find a code example but I was sure I've seen something at gopinball at some point... now lost, anyway