- This topic has 3 replies, 3 voices, and was last updated 5 years, 10 months ago by Lizard.
-
AuthorPosts
-
January 17, 2019 at 12:46 am #109806
I have a global ball and decal image set in VPX with the overwrite ball image option. What i want to do on some tables is script a different ball and decal.
The table i am trying on at the moment is 32assassins latest flipper football update to change to the soccer ball. I can manage to change the ball image
with .BallImage = “ball” but can’t find any info on how to change the decal image by script. Had a look at the command reference text file but couldn’t
find a solution. Can the ball decal be changed via the script?
Cheers
You need to login in order to like this post: click here
January 17, 2019 at 8:41 am #109836Might be a different way to do it, but this is how I did it in Black Hole and it worked. When I create the ball I assign it a name, then later you can assign an image and a decal to that ball.
Set cBall1 = Kicker1.CreateSizedBallWithMass(BallRadius, BallMass)
cBall1.Image = “Chrome_Ball_29”
cBall1.FrontDecal = “BlackHole_Ball1”You need to login in order to like this post: click here
January 17, 2019 at 6:07 pm #109948uncle willy has multiple code examples on how to change the ball image on his seawitch table.
https://www.vpforums.org/index.php?app=downloads&showfile=3028
when the ball is created and kicked out
bsTrough.BallImage = “ballDark”
ball image is changed by triggers
‘Ball image triggers
Sub tdl_Hit():ActiveBall.Image = “ball”:End Sub
Sub tld_Hit():ActiveBall.Image = “ballDark”:End Sub
see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0see a table you like help me find the resources so that I can finish it
https://www.dropbox.com/sh/7qtake9whi5ium2/AAB4K4W78oMVlqSxTzKtGHTHa?dl=0You need to login in order to like this post: click here
January 17, 2019 at 8:47 pm #109961Thanks for the replies, i have got it working now using the trigger method thanks.
You need to login in order to like this post: click here
-
AuthorPosts
Forums are currently locked.