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

lightManager

BF22142Heroes

45 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
lightManager.ambientColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.defaultEffectLightAffectionFactorclient 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)
lightManager.dynamicPointColorclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.dynamicPointColorHighclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.dynamicPointColorLowclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.dynamicPointScaleclient float -> floatproperty; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.effectShadowColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.effectSunColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.enableStencilCullerResetclient bool -> boolclient bool -> boolclient bool -> boolproperty; 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)
lightManager.enableSunclient bool -> boolclient bool -> boolclient bool -> boolproperty; 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)
lightManager.groundHemiclient std::string -> std::stringclient std::string -> std::stringclient std::string -> std::stringproperty; 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)
lightManager.hemiLerpBiasclient 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)
lightManager.initclientclientclientmethod; 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)
lightManager.lightCullDistanceclient 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)
lightManager.lightMapAmbientAlphaCutoffRangeclient Vec2 -> Vec2client Vec2 -> Vec2client Vec2 -> Vec2property; 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)
lightManager.maxLightsPerBundledMeshclient int -> intclient int -> intclient int -> intproperty; 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)
lightManager.maxLightsPerSkinnedMeshclient int -> intclient int -> intclient int -> intproperty; 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)
lightManager.maxLightsPerStaticMeshclient int -> intclient int -> intclient int -> intproperty; 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)
lightManager.maxLightsPerTerrainPatchclient int -> intclient int -> intclient int -> intproperty; 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)
lightManager.maxLodForMaterialBatchingclient int -> intproperty; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.singlePointColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.singlePointColorHighclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.singlePointColorLowclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.skinnedMeshShaderLodDistanceclient 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)
lightManager.skyColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.skyColorHighclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.skyColorLowclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.staticLightBlendingTimeclient double -> doubleproperty; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.staticSkyColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.staticSkyColorHighclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.staticSkyColorLowclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.staticSpecularColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.staticSunColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.sunColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.sunColorHighclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.sunColorLowclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.sunDirectionclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.sunSpecColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.sunSpecColorHighclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.sunSpecColorLowclient Vec3 -> Vec3property; BF2: only the game client registers it (the dedicated server does not know the line)
lightManager.treeAmbientColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.treeAmbientColorLowyes Vec3 -> Vec3property
lightManager.treeShadowColoryes Vec3 -> Vec3property
lightManager.treeSkyColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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)
lightManager.treeSunColorclient Vec3 -> Vec3client Vec3 -> Vec3client Vec3 -> Vec3property; 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.