bcp (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.
Note that there are multiple machine config examples here. They’re just included to show different options. You wouldn’t actually use more than one.
#config_version=5
modes:
- mode1
- mode2
switches:
s_test:
number:
s_test2:
number:
s_start:
number:
tags: start
s_ball_switch1:
number:
s_ball_switch2:
number:
s_ball_switch_launcher:
number:
game:
balls_per_game: 3
coils:
eject_coil1:
number:
eject_coil2:
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
debug: true
confirm_eject_type: target
eject_targets: bd_launcher
tags: trough, drain, home
bd_launcher:
eject_coil: eject_coil2
ball_switches: s_ball_switch_launcher
debug: true
confirm_eject_type: target
eject_timeouts: 2s
event_player:
send_test_trigger: trigger_test
#config_version=5
bcp:
debug: True
connections:
local_display:
host: localhost
port: 5050
type: mpf.core.bcp.bcp_socket_client.BCPClientSocket
required: True
exit_on_close: True
another_display:
host: localhost
port: 9001
type: mpf.core.bcp.bcp_socket_client.BCPClientSocket
required: True
exit_on_close: True
#config_version=5
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_mode2
stop_events: stop_mode2
game_mode: False
#config_version=5
mode:
start_events: start_mode1
stop_events: stop_mode1
game_mode: False
priority: 200