On this page
AmbientEffectArea
Template type dice.hfe.world.ObjectTemplate.AmbientEffectArea (class id 0x00009c44). Inheritance: 0x0000946f > Bundle > SimpleObject > AmbientEffectArea.
ObjectTemplate.create AmbientEffectArea my_ambienteffectareaTypes that have these properties: AmbientEffectArea
Which games parse it#
Plays its linkedEffectContainer when a Trigger of its triggerId fires. Read from each game's ObjectTemplate class list (a game that does not register the type ignores ObjectTemplate.create AmbientEffectArea):
| Game | Parsed | Registered at |
|---|---|---|
| BF2 | yes | BF2.exe!0x00537263 +0x851, bf2_w32ded.exe!0x00480be0 +0x961 |
| 2142 | yes | BF2142.exe!0x00504be6 +0x659 |
| Heroes | yes | BFHeroes.exe@bfh126!0x00540d2d |
The editor's Ambient panel and inspector show the same table for the loaded game (crates/bf2-editor/src/triggers.rs, H2936); the Special Forces levels' TriggerableTemplates.con are the only shipped files that create Triggerable / TriggerableTarget (all nine switches events 1, the use key).
Properties (103)#
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.
| 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 |
addTemplate | shared std::string | shared std::string | shared std::string | builds a list / sub-object (method); bf2-rs: yes |
aiTemplate | server std::string | server std::string | server std::string | default ''; stored on the template; bf2-rs: yes |
anchor | shared Vec3 | shared Vec3 | shared Vec3 | default 0.0/0.0/0.0; stored on the template; bf2-rs: yes |
anchorOffset | shared Vec3 | shared Vec3 | shared Vec3 | default 0.0/0.0/0.0; stored on the template; bf2-rs: yes |
animatedUVRotation | client int | client int | client int | default 0; stored, derived values updated; bf2-rs: yes |
animatedUVRotationIndex | client int | client int | client int | default 0; stored on the template; bf2-rs: yes |
animatedUVRotationRadius | client float | client float | client float | default 0.30000001192092896; stored on the template; bf2-rs: yes |
animatedUVRotationReverse | client bool | client bool | client bool | default 0; stored on the template; bf2-rs: yes |
animatedUVRotationScale | client Vec2 | client Vec2 | client Vec2 | default 1.0/1.0; stored on the template; bf2-rs: yes |
animatedUVTranslation | client bool | client bool | client bool | default 0; stored on the template; bf2-rs: yes |
animatedUVTranslationIndex | client int | client int | client int | default 0; stored on the template; bf2-rs: yes |
animatedUVTranslationMax | client Vec2 | client Vec2 | client Vec2 | default 0.20000000298023224/0.0; stored on the template; bf2-rs: yes |
animatedUVTranslationReverse | client bool | client bool | client bool | default 0; stored on the template; bf2-rs: yes |
animatedUVTranslationSize | client Vec2 | client Vec2 | client Vec2 | default 8.0/0.0; stored on the template; bf2-rs: yes |
animatedUVTranslationSpeed | client Vec2 | client Vec2 | client Vec2 | default 0.0/0.0; stored on the template; bf2-rs: yes |
attachToEventObject | shared bool | default 1; stored on the template; bf2-rs: yes | ||
castsDynamicShadow | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
centerOfCollisionOffset | shared Vec3 | shared Vec3 | shared Vec3 | default 0.0/0.0/0.0; stored on the template; bf2-rs: yes |
centerOfMassOffset | shared Vec3 | shared Vec3 | shared Vec3 | default 0.0/0.0/0.0; stored on the template; bf2-rs: yes |
clearTemplateList | shared | shared | shared | builds a list / sub-object (method); bf2-rs: yes |
collisionGroups | shared U32 | shared U32 | shared U32 | default 0; stored on the template; bf2-rs: yes |
collisionMesh | shared std::string | shared std::string | shared std::string | default ''; stored on the template (method); bf2-rs: yes |
collisionPart | shared int | shared int | shared int | default 0; stored on the template; 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 |
createComponent | shared std::string | shared std::string | shared std::string | builds a list / sub-object (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 |
deleteComponent | shared std::string | shared std::string | shared std::string | reads another object (method); bf2-rs: yes |
destroyableWindowsTemplate | client std::string | client std::string | client std::string | accepted, no effect on the server; bf2-rs: yes |
drag | shared float | shared float | shared float | default 0.0; stored on the template; bf2-rs: yes |
dragModifier | shared Vec3 | shared Vec3 | shared Vec3 | default 1.0/1.0/1.0; stored on the template; bf2-rs: yes |
dragOffset | shared Vec3 | shared Vec3 | shared Vec3 | default 0.0/0.0/0.0; stored on the template; bf2-rs: yes |
floaterMod | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
geometry | shared std::string | shared std::string | shared std::string | default ''; stored on the template; bf2-rs: yes |
geometryPart | shared int | shared int | shared int | default -1; stored on the template; bf2-rs: yes |
getPosition | client int | client int | client int | accepted, no effect on the server (method); bf2-rs: yes |
getRotation | client int | client int | client int | accepted, no effect on the server (method); bf2-rs: yes |
getTemplate | shared int | shared int | shared int | accepted, no effect on the server (method); bf2-rs: yes |
gravityModifier | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
grip | shared PhysicsGripFlags | shared PhysicsGripFlags | shared PhysicsGripFlags | default 2; stored on the template; bf2-rs: yes |
handleCollisionSpeed | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
hasCollisionPhysics | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
hasMobilePhysics | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
hasPointPhysics | shared bool | shared bool | shared bool | default 0; stored, derived values updated (method); bf2-rs: yes |
hasRelativeOffset | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
hasResponsePhysics | shared bool | shared bool | shared bool | default 0; stored, derived values updated (method); bf2-rs: yes |
hasRotationalPointPhysics | shared bool | shared bool | shared bool | default 0; stored, derived values updated (method); bf2-rs: yes |
inertiaModifier | shared Vec3 | shared Vec3 | shared Vec3 | default 1.0/1.0/1.0; stored on the template; 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 |
isOvergrowth | client bool | client bool | client bool | accepted, no effect on the server; bf2-rs: yes |
isPortalPassing | server bool | server bool | server bool | default 0; stored on the template; bf2-rs: yes |
isSleeping | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
killHeatSeekingMissile | shared bool | default 0; stored on the template; bf2-rs: yes | ||
linkedEffectContainer | client std::string | client std::string | client std::string | default ''; stored on the template; 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 |
listTemplates | shared | shared | shared | accepted, no effect on the server (method); bf2-rs: yes |
loadAll | shared | handled by the template manager (method); bf2-rs: yes | ||
mapMaterial | shared uint, std::string, uint | shared uint, std::string, uint | shared uint, std::string, uint | builds a list / sub-object (method); bf2-rs: yes |
mass | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
material | shared int | shared int | shared int | default -1; stored on the template; bf2-rs: yes |
name | client | client | client | read-only; bf2-rs: yes |
networkableInfo | shared std::string | shared std::string | shared std::string | default ''; stored on the template; bf2-rs: yes |
numNetworkedEffects | client int | client int | client int | default 0; stored on the template; bf2-rs: yes |
otherCollisionLod | client int | client int | client int | default -1; stored on the template; bf2-rs: yes |
physicsFrequency | shared int | shared int | shared int | default 0; stored on the template; bf2-rs: yes |
physicsType | shared PhysicsType | shared PhysicsType | shared PhysicsType | default 0; stored on the template; bf2-rs: yes |
playAtEventPosition | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
playAtPlayerPosition | shared bool | default 0; stored on the template; bf2-rs: yes | ||
portalPassingPosition | server Vec3 | server Vec3 | server Vec3 | default 0.0/0.0/0.0; 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 | ||
projectOnHeightmap | shared bool | shared bool | shared bool | default 1; stored on the template; bf2-rs: yes |
radius | shared float | shared float | shared float | default 0.0; 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 |
relativePositionOffset | shared Vec3 | shared Vec3 | shared Vec3 | default 0.0/0.0/0.0; stored on the template; bf2-rs: yes |
removeTemplate | shared int | shared int | shared int | accepted, no effect on the server (method); bf2-rs: yes |
rotateAsAnimatedUV | client bool | client bool | client bool | default 0; stored on the template; bf2-rs: yes |
rotateAsAnimatedUVObject | client std::string | client std::string | client std::string | default ''; stored on the template; bf2-rs: yes |
rotateAsAnimatedUVReverse | client bool | client bool | client bool | default 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 |
setActiveTemplate | shared int | shared int | shared int | accepted, no effect on the server (method); bf2-rs: yes |
setCollisionMesh | shared std::string | shared std::string | shared std::string | default ''; stored on the template (method); bf2-rs: yes |
setExplodePartAtDestroy | client bool | client bool | client bool | default 0; stored on the template (method); bf2-rs: yes |
setPosition | shared Math::Vec3, int | shared Math::Vec3, int | shared Math::Vec3, int | accepted, no effect on the server (method); bf2-rs: yes |
setRotation | shared Math::Vec3, int | shared Math::Vec3, int | shared Math::Vec3, int | accepted, no effect on the server (method); bf2-rs: yes |
templateHasBeenUsed | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
treeCollisionDiameter | shared float | shared float | shared float | default 0.0; stored, derived values updated; bf2-rs: yes |
triggerId | shared int | shared int | shared int | default -1; stored on the template; 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.
tools/devwiki/refs_con.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.