BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
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).
NameBF22142HeroesNotes
controlMap.addAxisToAxisMappingclient int, InputDeviceFlags, InputDeviceAxes, bool, boolclient int, InputDeviceFlags, InputDeviceAxes, bool, boolclient int, InputDeviceFlags, InputDeviceAxes, bool, boolmethod; 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.addAxisToTriggerMappingclient int, int, InputDeviceFlags, InputDeviceAxes, boolclient int, int, InputDeviceFlags, InputDeviceAxes, boolclient int, int, InputDeviceFlags, InputDeviceAxes, boolmethod; 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.addButtonAndKeyToAxisMappingclient int, InputDeviceFlags, InputDeviceButtons, InputDeviceFlags, InputDeviceKeys, boolclient int, InputDeviceFlags, InputDeviceButtons, InputDeviceFlags, InputDeviceKeys, boolmethod; BF2, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.addButtonsToAxisMappingclient int, InputDeviceFlags, InputDeviceButtons, InputDeviceButtons, boolclient int, InputDeviceFlags, InputDeviceButtons, InputDeviceButtons, boolmethod; BF2, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.addButtonToTriggerMappingclient int, InputDeviceFlags, InputDeviceButtons, float, boolclient int, InputDeviceFlags, InputDeviceButtons, float, boolclient int, InputDeviceFlags, InputDeviceButtons, float, boolmethod; 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.addKeyAndButtonToAxisMappingclient int, InputDeviceFlags, InputDeviceKeys, InputDeviceFlags, InputDeviceButtons, boolclient int, InputDeviceFlags, InputDeviceKeys, InputDeviceFlags, InputDeviceButtons, boolmethod; BF2, Heroes: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.addKeysToAxisMappingclient int, InputDeviceFlags, InputDeviceKeys, InputDeviceKeys, boolclient int, InputDeviceFlags, InputDeviceKeys, InputDeviceKeys, boolclient int, InputDeviceFlags, InputDeviceKeys, InputDeviceKeys, boolmethod; 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.AddKeyToTriggerMappingclient int, InputDeviceFlags, InputDeviceKeys, float, boolclient int, InputDeviceFlags, InputDeviceKeys, float, boolclient int, InputDeviceFlags, InputDeviceKeys, float, boolmethod; 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.createclient std::stringclient std::stringclient std::stringmethod; 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.deleteControlMapclient std::stringmethod; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.dumpclientmethod; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.InvertMouseclient bool -> boolclient bool -> boolclient bool -> boolproperty; 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.keyboardSensitivityclient float -> floatclient float -> floatclient float -> floatproperty; 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.mouseSensitivityclient float -> floatclient float -> floatclient float -> floatproperty; 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.setActiveclient std::stringclient std::stringclient std::stringmethod; 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.setAxisScaleclient io::InputDeviceAxes, floatmethod; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.setButtonFallTimeclient floatmethod; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.setButtonRiseTimeclient floatmethod; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.setDoubleTapTimeclient floatmethod; BF2: bf2-rs's server runtime gives it no effect on a dedicated server (bf2-runtime owners.rs: a client-side system)
controlMap.setPitchFactorclient floatclient floatclient floatmethod; 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.setYawFactorclient floatclient floatclient floatmethod; 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.