How to create a multiball with a traditional ball lock
Related Config File Sections:
Most pinball machines use a "virtual" ball lock to track multiball progress and MPF is designed to handle these by default. Machines that physically lock multiple balls require a few extra configuration settings to properly count locked balls and release them for a multiball.
Background](How MPF tracks and replaces balls
When a ball enters a ball device that is not the trough, the ball device
checks for any locks that want to "claim" the ball. If the ball is
claimed by anything, such as an enabled multiball_lock
, the ball
device will hold the ball and request a new ball be added from the
trough to the playfield. If nothing claims the ball, the ball device
will eject it back onto the playfield.
During this process, the number of "balls in play" never changes. When a ball is claimed by a lock, MPF simply swaps the location of the inactive ball from the trough to the ball device. From the game's perspective the playfield always has one ball in play.
Setting up a simple multiball
An MPF multiball only has one configuration requirement)
Note
Be careful with with balls_to_replace and replace_balls_in_play. They will only work in exactly this combination. Used in isolation they will likely lead to incorrect ball counts.
Video about ball locks and multiballs:
Something missing or wrong? You can fix it!
This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?
Please help us! You can fix it yourself and be an official "open source" contributor!
It's easy! See our Beginner's guide to editing the docs.
Page navigation via the keyboard: < >
You can navigate this site via the keyboard. There are two modes:
General navigation, when search is not focused:
- F , S , / : open search dialog
- P , , : go to previous page
- N , . : go to next page
While using the search function:
- Down , Up : select next / previous result
- Esc , Tab : close search
- Enter : go to highlighted page in the results