generated from the code
controlMap
BF22142Heroes
21 commands. A game cell holds the argument types (and the return type after ->) that game registers; empty: the game does not have the command. Back to the console reference.
Scope badges
serveronly the server reads it: a mod on the server alone takes effect, players need nothingclientonly the game client reads it (drawing, sound, HUD): every player who should see it needs the modsharedthe server and every client read it: both need the same files, or the clients' view jumpsyesthe game has it; nobody has classified its scope yet
BF22142HeroesA game column holds that game's badge and the argument types its program registers; an empty cell means the game does not know the name. The Notes column gives the reason (how the scopes are worked out).
| Name | BF2 | 2142 | Heroes | Notes |
|---|---|---|---|---|
controlMap.addAxisToAxisMapping | client int, InputDeviceFlags, InputDeviceAxes, bool, bool | client int, InputDeviceFlags, InputDeviceAxes, bool, bool | client int, InputDeviceFlags, InputDeviceAxes, bool, bool | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.addAxisToTriggerMapping | client int, int, InputDeviceFlags, InputDeviceAxes, bool | client int, int, InputDeviceFlags, InputDeviceAxes, bool | client int, int, InputDeviceFlags, InputDeviceAxes, bool | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.addButtonAndKeyToAxisMapping | client int, InputDeviceFlags, InputDeviceButtons, InputDeviceFlags, InputDeviceKeys, bool | client int, InputDeviceFlags, InputDeviceButtons, InputDeviceFlags, InputDeviceKeys, bool | method; BF2, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | |
controlMap.addButtonsToAxisMapping | client int, InputDeviceFlags, InputDeviceButtons, InputDeviceButtons, bool | client int, InputDeviceFlags, InputDeviceButtons, InputDeviceButtons, bool | method; BF2, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | |
controlMap.addButtonToTriggerMapping | client int, InputDeviceFlags, InputDeviceButtons, float, bool | client int, InputDeviceFlags, InputDeviceButtons, float, bool | client int, InputDeviceFlags, InputDeviceButtons, float, bool | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.addKeyAndButtonToAxisMapping | client int, InputDeviceFlags, InputDeviceKeys, InputDeviceFlags, InputDeviceButtons, bool | client int, InputDeviceFlags, InputDeviceKeys, InputDeviceFlags, InputDeviceButtons, bool | method; BF2, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | |
controlMap.addKeysToAxisMapping | client int, InputDeviceFlags, InputDeviceKeys, InputDeviceKeys, bool | client int, InputDeviceFlags, InputDeviceKeys, InputDeviceKeys, bool | client int, InputDeviceFlags, InputDeviceKeys, InputDeviceKeys, bool | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.AddKeyToTriggerMapping | client int, InputDeviceFlags, InputDeviceKeys, float, bool | client int, InputDeviceFlags, InputDeviceKeys, float, bool | client int, InputDeviceFlags, InputDeviceKeys, float, bool | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.create | client std::string | client std::string | client std::string | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.deleteControlMap | client std::string | method; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | ||
controlMap.dump | client | method; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | ||
controlMap.InvertMouse | client bool -> bool | client bool -> bool | client bool -> bool | property; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.keyboardSensitivity | client float -> float | client float -> float | client float -> float | property; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.mouseSensitivity | client float -> float | client float -> float | client float -> float | property; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.setActive | client std::string | client std::string | client std::string | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.setAxisScale | client io::InputDeviceAxes, float | method; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | ||
controlMap.setButtonFallTime | client float | method; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | ||
controlMap.setButtonRiseTime | client float | method; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | ||
controlMap.setDoubleTapTime | client float | method; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) | ||
controlMap.setPitchFactor | client float | client float | client float | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
controlMap.setYawFactor | client float | client float | client float | method; BF2, 2142, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system) |
Source:
tools/devwiki/refs_console.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.