Jump to content

Is there away to get the ball not showing the reflection and lighting by using the VPX script?


Dunard

Recommended Posts

There is a Disable Lighting option on the Video settings. But I want it to turn on and turn off on my table script for the event.

 

Glowball no reflection and lighting. Also there is no shadow is showing.

 

Plain ball with reflection and lighting.

Screenshot (55).png

Vanilla.png

Edited by Dunard
Link to comment
Share on other sites

Remain is the shadow on the ball and light shine on top of the ball. Recommended check the Disable Lighting box on the Video settings to remove everything from the ball fully for a glowball effect.

 

jpsalas helped me on this. This is just for the Metal ball only. For example a ball on a ramp. No lights showing over the ramp. Ramp walls higher than the ball.

 

Another example. Light on the other side of the wall. Ball shouldn't be getting that light shine on it until the ball enter that side of the wall.

 

    Dim BOT, i

Sub DrainHole_Hit()
    DrainHole.DestroyBall
    StartKicker1.CreateBall : StartKicker1.Kick -300, 7
    Table.BallPlayfieldReflectionScale = 0  "Removed the lights reflection from the ball.

 

" ==========================jpsalas removed the table reflection from the ball.
    BOT = GetBalls
    For i = 0  to UBound(BOT)
    BOT(b).ReflectionEnabled = False
    Next

" ==========================


End Sub

Sub Table_Init()
    StartKicker1.CreateBall : StartKicker1.Kick -300, 7
    Table.BallPlayfieldReflectionScale = 0  "Removed the lights reflection from the ball.

 

" ==========================jpsalas removed the table reflection from the ball.
    BOT = GetBalls
    For i = 0  to UBound(BOT)
    BOT(b).ReflectionEnabled = False
    Next

" ==========================


    LeftSlingshotPop.IsDropped = True
    LeftSlingshotPop.Visible = False
    RightSlingshotPop.IsDropped = True
    RightSlingshotPop.Visible = False
End Sub

Edited by Dunard
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...