generated from the code
material
BF22142Heroes
19 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 |
|---|---|---|---|---|
material.active | yes unsigned int -> unsigned int | yes unsigned int -> unsigned int | yes unsigned int -> unsigned int | property |
material.damageLoss | yes float -> float | yes float -> float | yes float -> float | property |
material.elasticity | yes float -> float | yes float -> float | yes float -> float | property |
material.friction | yes float -> float | yes float -> float | yes float -> float | property |
material.hasWaterPhysics | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
material.isBarbwire | yes bool -> bool | property | ||
material.isOneSided | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
material.isSeeThrough | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
material.maxDamageLoss | yes float -> float | yes float -> float | yes float -> float | property |
material.minDamageLoss | yes float -> float | yes float -> float | yes float -> float | property |
material.multiplyFriction | yes bool -> bool | yes bool -> bool | property | |
material.name | yes std::string -> std::string | yes std::string -> std::string | yes std::string -> std::string | property |
material.overrideNeverPenetrate | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
material.penetrationDeviation | yes float -> float | yes float -> float | yes float -> float | property |
material.projectileCollisionHardness | yes float -> float | yes float -> float | yes float -> float | property |
material.pythonEvent | yes int -> int | yes int -> int | property | |
material.resistance | yes float -> float | yes float -> float | yes float -> float | property |
material.triggerRadio | yes bool -> bool | yes bool -> bool | property | |
material.type | yes int -> int | yes int -> int | yes int -> int | property |
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.