generated from the code
Sound
BF22142Heroes
Template type dice.hfe.world.ObjectTemplate.Sound (class id 0x00985fd1). Inheritance: 0x0000946f > Sound.
con
ObjectTemplate.create Sound my_soundTypes that have these properties: Sound
Properties (51)#
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 |
castsDynamicShadow | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
coneDirection | client Vec3 | client Vec3 | client Vec3 | accepted, no effect on the server; bf2-rs: yes |
coneInnerAngle | client float | client float | client float | accepted, no effect on the server; bf2-rs: yes |
coneOuterAngle | client float | client float | client float | accepted, no effect on the server; bf2-rs: yes |
coneOuterVolume | client float | client float | client float | 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 |
delete | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | shared world::IObjectTemplate_ptrproxy | handled by the template manager (method); bf2-rs: yes |
globalEffectLevel | client float | client float | client float | accepted, no effect on the server; bf2-rs: yes |
halfVolumeDistance | client float | client float | client float | default 0.0; stored on the template; 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 | ||
is3dSound | client bool | client bool | client bool | accepted, no effect on the server; 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 |
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 | ||
loopCount | client int | client int | client int | accepted, no effect on the server; bf2-rs: yes |
lowSamples | client int | client int | client int | accepted, no effect on the server; bf2-rs: yes |
mediumSamples | client int | client int | client int | accepted, no effect on the server; bf2-rs: yes |
minDistance | shared float | shared float | shared float | default 0.0; stored on the template; bf2-rs: yes |
name | client | client | client | read-only; bf2-rs: yes |
pan | client float | client float | client float | accepted, no effect on the server; bf2-rs: yes |
pitch | client float | client float | client float | default 0.0; stored on the template; bf2-rs: yes |
pitchEnvelope | client std::string | client std::string | client std::string | reads another object; bf2-rs: yes |
position | client Vec3 | client Vec3 | client Vec3 | accepted, no effect on the server; 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 | ||
readBinary | shared std::string | shared std::string | shared std::string | handled by the template manager (method); bf2-rs: yes |
reverbLevel | client float | client float | client float | default 0.0; stored on the template; 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 |
soundFilename | client std::string | client std::string | client std::string | reads another object; bf2-rs: yes |
soundRadius | client float | client float | client float | default 0.0; stored on the template; bf2-rs: yes |
stopType | client int | client int | client int | 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 | ||
volume | client float | client float | client float | default 0.0; stored on the template; bf2-rs: yes |
volumeEnvelope | client std::string | client std::string | client std::string | reads another object; bf2-rs: yes |
volumeGroup | client int | client int | client int | 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.