painter.inputMap
What a painter adds to walking about: the can, the arm in hand and its wheel, the tool and colour, changing her look, hiding, the map. It composes with the engine's default map (move, look, jump, sprint, crouch, interact), which the character controller activates. Both are in the…
painter.inputMap
What a painter adds to walking about: the can, the arm in hand and its wheel, the tool and colour, changing her look, hiding, the map. It composes with the engine's default map (move, look, jump, sprint, crouch, interact), which the character controller activates. Both are in the "player" group, so a vehicle map or a menu that names that group stands them down together.
| Control | Label | Keyboard and mouse | Pad | Kind |
|---|---|---|---|---|
paint | Paint | left mouse | right trigger | button |
aim | Aim | right mouse | left trigger | button |
use | Use | E | west | button |
armWheel | Arms | F (held) | north (held) | button |
armNext / armPrev | Next / previous arm | X / Z | d-pad right / left | button |
toolNext | Next tool | Q | right shoulder | button |
pigmentNext | Next colour | R | left shoulder | button |
shed | Change | V | d-pad down | button |
hide | Hide | C | east | button |
map | Map | M, Tab | select | button |
pause | Pause | Escape | start | button |
throw | Throw | G | left trigger | LEGACY: the prototype's paint bomb. No game action reads it (the mortar tin is an arm now); delete it with the prototype's glue under /zero/source/metropolis/game/, which activates this map |
Game actions and the controls that answer them
The game reads actions by name through the host's input interface (Interfaces.ACTIONS). The adapter maps:
| Action | Control | Note |
|---|---|---|
paint | paint | while not aiming an arm |
fire | paint | while aim is held, or mounted on the van's hose |
aim | aim | "aim_hold" in settings: held, or a toggle |
interact | the default map's interact, or use | with interactKit the kit owns the press and calls driver:interacted |
sign, break_free | use, held | signing a finished wall; breaking a grab while a slip is left |
skip | use, pressed | skips the staged part of an arrest |
hide | hide | |
tool_next, pigment_next | toolNext, pigmentNext | |
arm_next, arm_prev, arm_wheel | armNext, armPrev, armWheel | the wheel also takes the look stick or the pointer (metropolisUi Wheel.pick) |
shed | shed | |
map, pause | map, pause | |
horn, handbrake | the vehicle kit's own map | not bound here |
Rebinding (metropolisUi modules.settings): Settings.rebind(values, action, key) keeps a table of the player's
own keys by action; the host applies it to these controls with the input system's rebinding call.
Scoped to this part · feeds back into the world's score.