BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
generated from the code

nametags

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).
NameBF22142HeroesNotes
nametags.createBarclient NametagItemIDs, int, intclient NametagItemIDs, int, intclient NametagItemIDs, int, intmethod; 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)
nametags.createIconclient NametagItemIDsclient NametagItemIDsclient NametagItemIDsmethod; 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)
nametags.deathFadeOutTimeclient float -> floatclient float -> floatclient float -> floatproperty; 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)
nametags.deployableDistanceclient double -> doubleclient double -> doubleclient double -> doubleproperty; 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)
nametags.enemyDotLimitclient float -> floatproperty; BF2: only the game client registers it (the dedicated server does not know the line)
nametags.enemyTagDelayTimeclient double -> doubleproperty; BF2: only the game client registers it (the dedicated server does not know the line)
nametags.enemyTagFadeInTimeclient double -> doubleproperty; BF2: only the game client registers it (the dedicated server does not know the line)
nametags.enemyTagFadeOutTimeclient double -> doubleproperty; BF2: only the game client registers it (the dedicated server does not know the line)
nametags.getCullDistanceclient TagType -> Vec2client TagType -> Vec2client TagType -> Vec2method; 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)
nametags.manDownFadeOutTimeclient float -> floatclient float -> floatclient float -> floatproperty; 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)
nametags.maxCallDistanceclient float -> floatclient float -> floatclient float -> floatproperty; 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)
nametags.maxFriendlyDistanceclient float -> floatclient float -> floatclient float -> floatproperty; 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)
nametags.setCullDistanceclient TagType, Vec2client TagType, Vec2client TagType, Vec2method; 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)
nametags.setTextureclient int, std::string, int, int, int, intclient int, std::string, int, int, int, intclient int, std::string, int, int, int, intmethod; 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)
nametags.vehicleNametagOffsetclient float -> floatclient float -> floatclient float -> floatproperty; 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)
nametags.vehicleNametagOffsetFactorclient float -> floatclient float -> floatclient float -> floatproperty; 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)
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.