generated from the code
profile
BF2
17 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 |
|---|---|---|---|---|
profile.activateCharacterProfile | client std::string -> bool | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.activatePlayerProfile | client std::string -> bool | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.activeCharacterProfile | client std::string -> std::string | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.activeMod | client std::string -> std::string | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.activePlayerProfile | client std::string -> std::string | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.addCharacterProfile | client std::string -> bool | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.addModSetting | client std::string -> bool | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.applySettings | client | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.createPlayerProfile | client std::string -> bool | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.defaultKit | client int -> int | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.getIndexForKit | client std::string, int | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.playerName | client std::string -> std::string | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.rank | client int -> int | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.setIndexForKit | client std::string, int, int | method; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.tagIcon | client std::string -> std::string | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.tagText | client std::string -> std::string | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
profile.visualUnlockLevel | client int -> int | property; BF2: only the game client registers it (the dedicated server does not know the line) |
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.