generated from the code
object
BF22142Heroes
71 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 |
|---|---|---|---|---|
object.absolutePosition | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | property |
object.absolutePositionSecondary | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | property |
object.absoluteTransformation | yes Mat4 -> Mat4 | yes Mat4 -> Mat4 | yes Mat4 -> Mat4 | property |
Object.active | yes world::IObject_ptrproxy -> world::IObject_ptrproxy | yes world::IObject_ptrproxy -> world::IObject_ptrproxy | yes world::IObject_ptrproxy -> world::IObject_ptrproxy | property |
object.addAbsolutePoint | yes | method | ||
object.attenuationRange1 | yes float -> float | yes float -> float | yes float -> float | property |
object.attenuationRange2 | yes float -> float | yes float -> float | yes float -> float | property |
object.color | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | property |
object.coneAngle1 | yes float -> float | yes float -> float | yes float -> float | property |
object.coneAngle2 | yes float -> float | yes float -> float | yes float -> float | property |
Object.create | yes world::IObjectTemplate_ptrproxy, Vec3, Vec3 -> world::IObject_ptrproxy | yes world::IObjectTemplate_ptrproxy, Vec3, Vec3 -> world::IObject_ptrproxy | yes world::IObjectTemplate_ptrproxy, Vec3, Vec3 -> world::IObject_ptrproxy | method |
Object.delete | yes world::IObject_ptrproxy | method | ||
Object.deleteAll | yes -> std::string | method | ||
object.direction | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | property |
object.disableChildren | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
Object.forceStart | yes world::IObject_ptrproxy | yes world::IObject_ptrproxy | yes world::IObject_ptrproxy | method |
Object.forceStop | yes world::IObject_ptrproxy | yes world::IObject_ptrproxy | yes world::IObject_ptrproxy | method |
object.fov | yes float -> float | yes float -> float | yes float -> float | property |
object.geometry.color | client Vec4 -> Vec4 | property; BF2: only the game client registers it (the dedicated server does not know the line) | ||
object.geometry.GenerateLightmapForThisInstance | client bool -> bool | client bool -> bool | client bool -> bool | 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) |
object.geometry.loadMesh | 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) |
object.geometry.subGeometry | 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) |
object.geometry.subGeometryCount | client -> int | client -> int | client -> int | property get; 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) |
object.geometry.technique | client std::string -> std::string | client std::string -> std::string | client std::string -> std::string | property set; 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) |
object.geometry.template | client -> IGeometryTemplate* | client -> IGeometryTemplate* | client -> IGeometryTemplate* | property get; 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) |
object.getControlPointId | yes -> int | method | ||
Object.getGroundPos | yes Vec3 -> Vec3 | method | ||
object.getLightSourceMask | yes -> int | yes -> int | yes -> int | method |
object.getVisibleTeam | yes -> int | yes -> int | yes -> int | method |
object.glowFrequency | yes float -> float | yes float -> float | property | |
object.glowOffset | yes float -> float | yes float -> float | property | |
object.glowType | yes int -> int | yes int -> int | property | |
object.group | yes int -> int | property | ||
object.hasCollision | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
object.hasGlow | yes bool -> bool | yes bool -> bool | property | |
object.hasUpdate | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
object.HDRIntensity | yes float -> float | yes float -> float | yes float -> float | property |
Object.info | yes world::IObject_ptrproxy -> std::string | method | ||
object.initGrid | yes Vec2, Vec2, int, Vec3 | yes Vec2, Vec2, int, Vec3 | yes Vec2, Vec2, int, Vec3 | method |
object.isInGrid | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
object.isOvergrowth | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
object.isSaveable | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
object.isVisible | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
object.layer | yes int -> int | property | ||
Object.list | yes -> std::string | yes -> std::string | yes -> std::string | method |
Object.listObjectsOfTemplate | yes world::IObjectTemplate_ptrproxy -> std::string | yes world::IObjectTemplate_ptrproxy -> std::string | method | |
Object.loadAll | yes std::string -> bool | method | ||
object.name | yes std::string -> std::string | yes std::string -> std::string | yes std::string -> std::string | property |
object.notInAI | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
Object.printScript | yes world::IObject_ptrproxy -> std::string | method | ||
object.rotation | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | property |
object.rotationSecondary | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | property |
Object.saveAll | yes std::string -> bool | method | ||
object.scale | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | yes Vec3 -> Vec3 | property |
object.setActive | yes bool | method | ||
object.setAsSkyLight | yes | yes | yes | method |
object.setControlPointId | yes int | yes int | yes int | method |
object.setIsDisabledRecursive | yes bool | yes bool | yes bool | method |
object.setIsInTweakModeRecursive | yes bool | yes bool | yes bool | method |
object.setIsSaveableRecursive | yes bool | yes bool | yes bool | method |
object.setIsVisibleRecursive | yes bool | yes bool | yes bool | method |
object.setLightSourceMask | yes int | yes int | yes int | method |
Object.setObjectToGround | yes world::IObject_ptrproxy -> Vec3 | method | ||
object.setTeam | yes int | method | ||
object.setVisibleTeam | yes int | yes int | yes int | method |
object.spawnOffset | yes Vec3 -> Vec3 | property | ||
Object.start | yes world::IObject_ptrproxy | method | ||
Object.stop | yes world::IObject_ptrproxy | method | ||
object.team | yes int -> int | property | ||
object.template | yes -> const IObjectTemplate* | yes -> const IObjectTemplate* | yes -> const IObjectTemplate* | property get |
object.togglePause | yes | yes | yes | method |
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.