generated from the code
maplist
BF22142Heroes
16 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 |
|---|---|---|---|---|
maplist.addMapTag | yes std::string | method | ||
maplist.append | server std::string, std::string, int -> bool | server std::string, std::string, int -> bool | server std::string, std::string, int -> bool | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server) |
maplist.appendSave | server std::string, std::string, int -> bool | method; Heroes: bf2-rs handles it on the server only (bfh-server) | ||
maplist.clear | server -> bool | server -> bool | server -> bool | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server) |
maplist.clearSave | server -> bool | method; Heroes: bf2-rs handles it on the server only (bfh-server) | ||
maplist.configFile | yes std::string -> std::string | yes std::string -> std::string | yes std::string -> std::string | property |
maplist.currentMap | server -> int | server -> int | server -> int | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server) |
maplist.inheritMapTags | yes std::string | method | ||
maplist.insert | server int, std::string, std::string, int -> bool | server int, std::string, std::string, int -> bool | server int, std::string, std::string, int -> bool | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server) |
maplist.list | yes -> std::string | yes -> std::string | yes -> std::string | method |
maplist.listAll | server -> std::string | method; Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server) | ||
maplist.load | server -> bool | server -> bool | server -> bool | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server) |
maplist.mapCount | server -> int | server -> int | server -> int | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server) |
maplist.remove | server int -> int | server int -> int | server int -> int | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server) |
maplist.save | server -> bool | server -> bool | server -> bool | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server) |
maplist.saveSave | server -> bool | method; Heroes: bf2-rs handles it on the server only (bfh-server) |
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.