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

Sound

BF22142Heroes

Template type dice.hfe.world.ObjectTemplate.Sound (class id 0x00985fd1). Inheritance: 0x0000946f > Sound.

con
ObjectTemplate.create Sound my_sound

Types 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).
NameBF22142HeroesNotes
activeshared world::IObjectTemplate_ptrproxyshared world::IObjectTemplate_ptrproxyshared world::IObjectTemplate_ptrproxyhandled by the template manager; bf2-rs: yes
activeSafeshared std::string, world::IObjectTemplate_ptrproxyshared std::string, world::IObjectTemplate_ptrproxyshared std::string, world::IObjectTemplate_ptrproxyhandled by the template manager (method); bf2-rs: yes
castsDynamicShadowshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
coneDirectionclient Vec3client Vec3client Vec3accepted, no effect on the server; bf2-rs: yes
coneInnerAngleclient floatclient floatclient floataccepted, no effect on the server; bf2-rs: yes
coneOuterAngleclient floatclient floatclient floataccepted, no effect on the server; bf2-rs: yes
coneOuterVolumeclient floatclient floatclient floataccepted, no effect on the server; bf2-rs: yes
createshared std::string, std::stringshared std::string, std::stringshared std::string, std::stringhandled by the template manager (method); bf2-rs: yes
createdInEditorshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
createInvisibleshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
createNotInGridshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
createVisibleInEditorshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
cullRadiusScaleshared floatshared floatshared floatdefault 1.0; stored on the template; bf2-rs: yes
deleteshared world::IObjectTemplate_ptrproxyshared world::IObjectTemplate_ptrproxyshared world::IObjectTemplate_ptrproxyhandled by the template manager (method); bf2-rs: yes
globalEffectLevelclient floatclient floatclient floataccepted, no effect on the server; bf2-rs: yes
halfVolumeDistanceclient floatclient floatclient floatdefault 0.0; stored on the template; bf2-rs: yes
hasRelativeOffsetshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
infoshared world::IObjectTemplate_ptrproxyhandled by the template manager (method); bf2-rs: yes
is3dSoundclient boolclient boolclient boolaccepted, no effect on the server; bf2-rs: yes
isDestructableshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
isNotSaveableshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
listshared std::stringshared std::stringshared std::stringhandled by the template manager (method); bf2-rs: yes
listTemplateClassessharedsharedsharedhandled by the template manager (method); bf2-rs: yes
loadAllsharedhandled by the template manager (method); bf2-rs: yes
loopCountclient intclient intclient intaccepted, no effect on the server; bf2-rs: yes
lowSamplesclient intclient intclient intaccepted, no effect on the server; bf2-rs: yes
mediumSamplesclient intclient intclient intaccepted, no effect on the server; bf2-rs: yes
minDistanceshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
nameclientclientclientread-only; bf2-rs: yes
panclient floatclient floatclient floataccepted, no effect on the server; bf2-rs: yes
pitchclient floatclient floatclient floatdefault 0.0; stored on the template; bf2-rs: yes
pitchEnvelopeclient std::stringclient std::stringclient std::stringreads another object; bf2-rs: yes
positionclient Vec3client Vec3client Vec3accepted, no effect on the server; bf2-rs: yes
preCacheObjectclient boolclient boolclient boolaccepted, no effect on the server; bf2-rs: yes
printScriptshared world::IObjectTemplate_ptrproxyhandled by the template manager (method); bf2-rs: yes
readBinaryshared std::stringshared std::stringshared std::stringhandled by the template manager (method); bf2-rs: yes
reverbLevelclient floatclient floatclient floatdefault 0.0; stored on the template; bf2-rs: yes
saveshared world::IObjectTemplate_ptrproxyshared world::IObjectTemplate_ptrproxyshared world::IObjectTemplate_ptrproxyhandled by the template manager (method); bf2-rs: yes
saveAllsharedhandled by the template manager (method); bf2-rs: yes
saveInSeparateFileshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
soundFilenameclient std::stringclient std::stringclient std::stringreads another object; bf2-rs: yes
soundRadiusclient floatclient floatclient floatdefault 0.0; stored on the template; bf2-rs: yes
stopTypeclient intclient intclient intaccepted, no effect on the server; bf2-rs: yes
templateHasBeenUsedshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
typeshared world::IObjectTemplate_ptrproxyshared ItemContainerTypehandled by the template manager (method); bf2-rs: yes
updateshared world::IObjectTemplate_ptrproxyhandled by the template manager (method); bf2-rs: yes
updateAllsharedhandled by the template manager (method); bf2-rs: yes
volumeclient floatclient floatclient floatdefault 0.0; stored on the template; bf2-rs: yes
volumeEnvelopeclient std::stringclient std::stringclient std::stringreads another object; bf2-rs: yes
volumeGroupclient intclient intclient intaccepted, no effect on the server; bf2-rs: yes
writeBinaryshared std::stringshared std::stringshared std::stringhandled 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.