multiball (example config files)¶
Machine config examples¶
Here are some example machine-wide config files that show real-world examples of how these configs are used.
#config_version=5 game: balls_per_game: 1 coils: eject_coil1: number: eject_coil2: number: eject_coil3: number: switches: s_start: number: tags: start s_ball_switch1: number: s_ball_switch2: number: s_ball_switch3: number: s_ball_switch4: number: s_ball_switch5: number: s_ball_switch6: number: s_lock1: number: s_lock2: number: s_ball_switch_launcher: number: playfields: playfield: default_source_device: bd_launcher tags: default ball_devices: bd_trough: eject_coil: eject_coil1 ball_switches: s_ball_switch1, s_ball_switch2, s_ball_switch3, s_ball_switch4, s_ball_switch5, s_ball_switch6 confirm_eject_type: target eject_targets: bd_launcher tags: trough, drain, home bd_launcher: eject_coil: eject_coil2 ball_switches: s_ball_switch_launcher confirm_eject_type: target eject_timeouts: 2s bd_lock: eject_coil: eject_coil3 ball_switches: s_lock1, s_lock2 eject_timeouts: 2s modes: - mode1 - mode2 - mode3 - mode4 multiballs: mb1: ball_count: 1 ball_count_type: add shoot_again: 30s enable_events: mb1_enable disable_events: mb1_disable start_events: mb1_start stop_events: mb1_stop mb2: ball_count: 2 ball_count_type: add shoot_again: -1 enable_events: mb2_enable disable_events: mb2_disable start_events: mb2_start stop_events: mb2_stop mb3: ball_count: 1 ball_count_type: add shoot_again: 0 enable_events: mb3_enable disable_events: mb3_disable start_events: mb3_start stop_events: mb3_stop mb10: ball_count: 3 ball_count_type: total shoot_again: 20s start_events: mb10_start mb_add_a_ball: ball_count: 2 start_or_add_a_ball_events: start_or_add add_a_ball_events: add_ball
Mode config examples¶
Here are some example mode config files that go along with the machine-wide config above.
Note that there are multiple mode config examples here. You might not necessarily use more than one in your machine.
#config_version=5 mode: start_events: start_mode4 stop_events: stop_mode4 multiballs: mb4_autostart: ball_count: 2 ball_count_type: total shoot_again: 0s start_events: multiball_lock_lock_mb_autostart_full ball_locks: bd_lock multiball_locks: lock_mb_autostart: lock_devices: bd_lock balls_to_lock: 1
#config_version=5 mode: start_events: start_mode1 stop_events: stop_mode1 multiballs: mb4: ball_count: 1 ball_count_type: add shoot_again: 30s enable_events: mb4_enable disable_events: mb4_disable start_events: mb4_start stop_events: mb4_stop mb11: ball_count: 2 ball_count_type: total shoot_again: 20s start_events: mb11_start ball_locks: bd_lock mb12: ball_count: current_player.lock_mb6_locked_balls ball_count_type: add shoot_again: 20s start_events: mb12_start ball_locks: bd_lock mb6: ball_count: 2 ball_count_type: add shoot_again: 0 start_events: mb6_start ball_locks: bd_lock multiball_locks: lock_mb6: lock_devices: bd_lock balls_to_lock: 2 reset_count_for_current_player_events: mb6_start disable_events: mb6_start
#config_version=5 mode: start_events: start_mode2 stop_events: stop_mode2 multiballs: mb5: ball_count: 1 ball_count_type: add start_events: mb5_start
#config_version=5 mode: start_events: start_mode3 stop_events: stop_mode3 multiballs: mb_autostart: ball_count: 2 start_events: mode_mode3_started