OpenBOR’s native player select system is very straight forward. Choose a character, and the game begins.
Contents
Controls
- Left/Right cycles through available player characters.
- Up/Down cycles through available color palettes.
- Escape returns to the main menu.
- Start or any action button confirms a selection.
After all players confirm their selections, the first/next level loads.
Properties
Color Select
colourselect {flag}
#default
colorselect 0
Models.txt command. Enable palette selection (see Palette) for players.
- 0 – Players cannot select palettes.
- 1 – Players may cycle through available palettes with Up/Down before confirming character selection.
Player Direction
spdirection {player 1} {player 2} {player 3} {player 4}
#default
spdirection 1 0 1 0
Models.txt command. Set up player facing in the select screen.
Player Select Menu Position
p{player}smenu {Player X} {Player Y} {Text X} {Text Y}
#default - Special
Lexels.txt command to set player position in select screen.
- {player} is player number affected. For example,
p2smenu ...
targets player two. - Player X and Player Y are the horizontal and vertical position of player entity.
- Text X and Text Y are the horizontal and vertical position of “Ready” text when selected.
- Default values are determined by a formula using the resolution settings and maximum allowed players. Players are evenly centered horizontally and placed at lower third of the screen vertically.
Animations
The following animations are used in selection process.
Idle
If nothing else is available, IDLE plays at all times during the selection screen.
Waiting
If available, plays in the selection screen in place of IDLE. Note for script authors: Unlike most animations, the text command and animation for waiting do not match. The real name and constant for this animation is ANI_SELECT
.
SelectIn
If this and Waiting are available, plays immediately prior to Waiting. Use this to create a transition as the character cycles in.
SelectOut
If this and Waiting are available, plays when cycling to another character. The new character does not appear until this animation is complete. Use this to create a transition as the character cycles out.
Select
Plays when selection is confirmed. Note for script authors: Unlike most animations, the text command and animation for Select do not match. The real name and constant for this animation is ANI_PICK
.