generated from the code
Decal
BF22142Heroes
Template type dice.hfe.world.ObjectTemplate.Decal (class id 0x00009487). Inheritance: 0x0000946f > Decal.
con
ObjectTemplate.create Decal my_decalTypes that have these properties: Decal
Properties (47)#
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 |
animationEnable | client bool | client bool | client bool | accepted, no effect on the server; bf2-rs: yes |
animationFrameCount | client int | client int | client int | accepted, no effect on the server; bf2-rs: yes |
animationFrameCountX | client int | client int | client int | accepted, no effect on the server; bf2-rs: yes |
animationFrameHeight | client int | client int | client int | accepted, no effect on the server; bf2-rs: yes |
animationFrameWidth | client int | client int | client int | accepted, no effect on the server; bf2-rs: yes |
animationRandomizedStartFrame | client bool | client bool | client bool | accepted, no effect on the server; bf2-rs: yes |
animationSpeed | client float | client float | client float | accepted, no effect on the server; bf2-rs: yes |
castsDynamicShadow | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
color | client Vec3ColorFloat | client Vec3ColorFloatIntensity | client Vec3ColorFloatIntensity | accepted, no effect on the server; 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 0; 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 |
decalTextureName | client std::string | client std::string | client std::string | reads another object; 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 |
hasRelativeOffset | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
info | shared world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes | ||
isDestructable | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
isNotSaveable | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
isStatic | client bool | client bool | client bool | accepted, no effect on the server; 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 |
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 | ||
randomColorIntensity | client float | client float | client float | accepted, no effect on the server; bf2-rs: yes |
randomRotation | client float | client float | client Vec3 | accepted, no effect on the server; bf2-rs: yes |
randomSize | client float | client float | client float | accepted, no effect on the server; bf2-rs: yes |
readBinary | shared std::string | shared std::string | shared std::string | handled by the template manager (method); bf2-rs: yes |
rotation | client float | client float | client float | accepted, no effect on the server; 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 1; stored, derived values updated; bf2-rs: yes |
setAnimationFrameHeightRelative | client float | client float | client float | accepted, no effect on the server (method); bf2-rs: yes |
setAnimationFrameWidthRelative | client float | client float | client float | accepted, no effect on the server (method); bf2-rs: yes |
size | shared float | shared float | shared float | accepted, no effect on the server; 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 | ||
usedOnTransparentMaterials | client bool | accepted, no effect on the server; 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.