How do I resize the ball in VPX?

Isaac Sauvage

Meep!
Site Supporters
Joined
Jun 23, 2003
Messages
7,208
Solutions
10
Reaction score
3,172
Points
150
Favorite Pinball Machine
Jurassic Park
So, I've been given the go-ahead by Flupper to upload his excellent VPX version of Diner (Williams, 1990). Before I do that, I'd like to solve this issue, such that I can include my personal tweaks alongside the original (just as instructions, not as a mod).

The issue is this-- visually, the ball seems a little too large for the table, especially when interacting on the flippers. Nothing critical of course, just kinda distracting / annoying.

What I used to do, about a million years ago with older VP versions, is to edit the ball graphic such that it stayed the same size (like 64x64 or 256x256), but I'd make the visible ball a few pixels smaller. Not an actual physical change of course, but it did the trick.

Problem is-- I have no idea whether this is still the way to proceed in VPX, or even if there's now a method to truly resize the ball physically. I also have no idea if the ball-shadow graphic needs to match, or is even necessary. I'm also not sure how to open the .HDR ball file. My version of IrfanView isn't working for that.

Little help? :)
 

Attachments

  • ball_HDR and ballshadow.zip
    171.3 KB · Views: 79
I've used this in many of my tables. In the scripting where the ball is to be made, use one of the following statements in line below. One of these statements will make the ball ANY SIZE you want and you can control these at anytime in the script. It's pretty neat as you can change ball sizes at anytime only when a new ball is made at the plunger or kicker.

Plunger.CreateBall.Radius = #
(the ball created to specific size will appear at the tip of the plunger)

OR

Kicker.CreateBall.Radius = #
(then kick your ball where you want using the proper scripting with X,Y)

These two statements can be used at the creation of the ball. # is the size of the ball, from 1 to whatever you want. 1 is extremely small and 40 can be a bit big but play around with the number to find the right size of the ball the suits your taste.

As for the graphic on the ball, this is controlled via the menus and sometimes making a new image for the ball is the best way to go. Using GIMP keeps the the image integrity if you wish to extend or shrink an image and save it in the proper image file.
 
Last edited:
Thanks, fellers!

Appreciate the responses, because this issue seems strangely hard to google, at least for VPX.

I'll play with this stuff tomorrow and see how that goes...
 
General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • Chat Bot Mibs Chat Bot Mibs:
    DrazeScythe has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Torntabittz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    brotherboard has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    GARRY040 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    BL2K has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Chilldog has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    rodneyfitz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    ace19120 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tomasaco has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Greek_Jedi has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Beermano has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    02browns has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    nitram1864 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    aeponce has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    JEAN LUC has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    lorenzom has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    maxangelo19 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Dragonslapper has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    royaljet has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tyfox has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Goldtopboy has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    slick267 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    dabreeze has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Spike has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Tofa has left the room.
      Chat Bot Mibs Chat Bot Mibs: Tofa has left the room.
      Back
      Top