generated from the code
terrain
BF22142Heroes
23 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 |
|---|---|---|---|---|
terrain.ambientColor | client Vec3 -> Vec3 | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
terrain.create | client std::string | client std::string | client std::string | method; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.forceRenderStyle | client int -> int | client int -> int | client int -> int | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.GIColor | client Vec3 -> Vec3 | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
terrain.GIColorHigh | client Vec3 -> Vec3 | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
terrain.GIColorLow | client Vec3 -> Vec3 | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
terrain.init | client | client | client | method; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.load | client std::string | client std::string | client std::string | method; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.refreshTerrainSampling | yes | method | ||
terrain.sunColor | client Vec3 -> Vec3 | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
terrain.terrainWaterColor | client Vec3 -> Vec3 | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
terrain.waterAlphaAdd | client float -> float | client float -> float | client float -> float | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterAlphaHeightMul | client float -> float | client float -> float | client float -> float | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterAnimSpeed | client float -> float | client float -> float | client float -> float | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterColor | client Vec3 -> Vec3 | client Vec3 -> Vec3 | client Vec3 -> Vec3 | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterNormalMap | client std::string -> std::string | client std::string -> std::string | client std::string -> std::string | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterQuality | client int -> int | client int -> int | client int -> int | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterReflectivity | client float -> float | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
terrain.waterScroll | client Vec2 -> Vec2 | client Vec2 -> Vec2 | client Vec2 -> Vec2 | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterSpecularColor | client Vec4 -> Vec4 | client Vec4 -> Vec4 | client Vec4 -> Vec4 | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterSpecularPower | client float -> float | client float -> float | client float -> float | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterSunIntensity | client float -> float | client float -> float | client float -> float | property; BF2 and 2142: only the game client registers it (the dedicated server does not know the line); Heroes: 2142's verdict for the same name (Heroes shipped no server program) |
terrain.waterTransparency | client float -> float | 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.