generated from the code
LightSource
BF22142Heroes
Template type dice.hfe.world.ObjectTemplate.LightSource (class id 0x000094c7). Inheritance: 0x0000946f > LightSource.
con
ObjectTemplate.create LightSource my_lightsourceTypes that have these properties: LightSource
Properties (63)#
Each name links its row in the cross-game table (the owner classes and the scope's reason). The BF2 cell holds this class's argument types; Notes the default a fresh template holds, what the BF2 dedicated server does with the line, and whether bf2-rs handles it.
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 |
|---|---|---|---|---|
active | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | handled by the template manager; bf2-rs: yes |
activeSafe | shared std::string, world::IObjectTemplate_ptrproxy | shared std::string, world::IObjectTemplate_ptrproxy | shared std::string, world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes |
affectingType | shared int | shared int | shared int | default 0; stored on the template; bf2-rs: yes |
affectLightmappedObjects | client bool | client bool | client bool | default 1; stored on the template; bf2-rs: yes |
attenuationRange1 | shared float | shared float | shared float | default 4.0; stored, derived values updated; bf2-rs: yes |
attenuationRange2 | shared float | shared float | shared float | default 5.0; stored, derived values updated; bf2-rs: yes |
castsDynamicShadow | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
castsStaticShadow | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
color | client Vec3ColorFloatIntensity | client Vec3ColorFloatIntensity | client Vec3ColorFloatIntensity | default 1.0/1.0/1.0; stored on the template; bf2-rs: yes |
coneAngle1 | shared float | shared float | shared float | default 20.0; stored, derived values updated; bf2-rs: yes |
coneAngle2 | shared float | shared float | shared float | default 22.5; stored, derived values updated; bf2-rs: yes |
create | shared std::string, std::string | shared std::string, std::string | shared std::string, std::string | handled by the template manager (method); bf2-rs: yes |
createdInEditor | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
createInvisible | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
createNotInGrid | shared bool | shared bool | shared bool | default 1; stored, derived values updated; bf2-rs: yes |
createVisibleInEditor | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
cullRadiusScale | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
delete | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes |
direction | shared Vec3 | shared Vec3 | shared Vec3 | builds a list / sub-object; bf2-rs: yes |
enabled | shared bool | shared bool | shared bool | default 1; stored on the template; bf2-rs: yes |
flicker | shared float | shared float | shared float | default 0.0; stored, derived values updated; bf2-rs: yes |
fov | client float | client float | client float | default 8.0; stored, derived values updated; bf2-rs: yes |
geometry | shared std::string | shared std::string | shared std::string | default ''; stored on the template; bf2-rs: yes |
hasRelativeOffset | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
HDRIntensity | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
info | shared world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes | ||
intensity | shared float | shared float | shared float | default 0.699999988079071; stored on the template; bf2-rs: yes |
isDestructable | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
isDynamic | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
isNotSaveable | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
lightType | client std::string | client std::string | client std::string | default ''; stored, derived values updated; bf2-rs: yes |
list | shared std::string | shared std::string | shared std::string | handled by the template manager (method); bf2-rs: yes |
listTemplateClasses | shared | shared | shared | handled by the template manager (method); bf2-rs: yes |
loadAll | shared | handled by the template manager (method); bf2-rs: yes | ||
name | client | client | client | read-only; bf2-rs: yes |
objectShadows | shared bool | shared bool | shared bool | default 1; stored on the template; bf2-rs: yes |
preCacheObject | client bool | client bool | client bool | accepted, no effect on the server; bf2-rs: yes |
printScript | shared world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes | ||
projectorApplyMask | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
projectorAspect | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
projectorFar | shared float | shared float | shared float | default 5.0; stored on the template; bf2-rs: yes |
projectorFov | client float | client float | client float | default 1.0471975803375244; stored on the template; bf2-rs: yes |
projectorNear | shared float | shared float | shared float | default 0.0010000000474974513; stored on the template; bf2-rs: yes |
projectorTexture | client std::string | client std::string | client std::string | default ''; stored on the template; bf2-rs: yes |
readBinary | shared std::string | shared std::string | shared std::string | handled by the template manager (method); bf2-rs: yes |
save | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes |
saveAll | shared | handled by the template manager (method); bf2-rs: yes | ||
saveInSeparateFile | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
scale | shared Vec3 | shared Vec3 | shared Vec3 | default 1.0/1.0/1.0; stored on the template; bf2-rs: yes |
selfLights | client bool | client bool | client bool | default 1; stored on the template; bf2-rs: yes |
selfShadows | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
shadowIntensity | shared float | shared float | shared float | default 0.8500000238418579; stored on the template; bf2-rs: yes |
softness | shared float | shared float | shared float | default 0.0; stored on the template; bf2-rs: yes |
speccolor | client Vec3ColorFloatIntensity | client Vec3ColorFloatIntensity | client Vec3ColorFloatIntensity | default 1.0/1.0/1.0; stored on the template; bf2-rs: yes |
supportsEmitter | shared bool | shared bool | shared bool | default 1; stored on the template; bf2-rs: yes |
supportsGlow | client bool | client bool | client bool | default 1; stored on the template; bf2-rs: yes |
supportsPerPixel | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
supportsPerVertex | shared bool | shared bool | shared bool | default 1; stored on the template; bf2-rs: yes |
templateHasBeenUsed | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
type | shared world::IObjectTemplate_ptrproxy | shared ItemContainerType | handled by the template manager (method); bf2-rs: yes | |
update | shared world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes | ||
updateAll | shared | handled by the template manager (method); bf2-rs: yes | ||
writeBinary | shared std::string | shared std::string | shared std::string | handled by the template manager (method); bf2-rs: yes |
Generated by tools/devwiki/refs_con.py from re/data/template_properties.tsv.
Source:
tools/devwiki/refs_con.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.