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

Armor

BF22142Heroes

A template component (class id 0x0000c4aa): its properties are set through their prefix on the active template.

Properties (41)#

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
armor.addArmorEffectshared int, std::string, Vec3, Vec3shared int, std::string, Vec3, Vec3shared int, std::string, Vec3, Vec3builds a list / sub-object (method); bf2-rs: yes
armor.addArmorEffectSpectacularshared int, std::string, Vec3, Vec3shared int, std::string, Vec3, Vec3shared int, std::string, Vec3, Vec3builds a list / sub-object (method); bf2-rs: yes
armor.addWreckArmorEffectshared int, std::string, Vec3, Vec3shared int, std::string, Vec3, Vec3shared int, std::string, Vec3, Vec3builds a list / sub-object (method); bf2-rs: yes
armor.alignLastEffectToHitDirectionclient boolclient boolclient booldefault 0; stored on the template; bf2-rs: yes
armor.angleModshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.attackDamageshared floatshared floatshared floatdefault 1.0; stored on the template; bf2-rs: yes
armor.canBeDestroyedshared boolshared boolshared booldefault 1; stored on the template; bf2-rs: yes
armor.canBeRepairedWhenWreckshared boolshared boolshared booldefault 0; stored on the template; bf2-rs: yes
armor.criticalDamageshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.deepWaterDamageDelayshared floatshared floatshared floatdefault 1.0; stored on the template; bf2-rs: yes
armor.deepWaterLevelshared floatshared floatshared floatdefault 1.0; stored on the template; bf2-rs: yes
armor.defaultMaterialshared intshared intshared intdefault -1; stored on the template; bf2-rs: yes
armor.destroyOnSpectacularDeathshared boolshared boolshared booldefault 0; stored on the template; bf2-rs: yes
armor.explosionDamageserver floatserver floatserver floatdefault 0.0; stored on the template; bf2-rs: yes
armor.explosionForceshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.explosionForceMaxshared floatshared floatshared floatdefault 10.0; stored on the template; bf2-rs: yes
armor.explosionForceModshared floatshared floatshared floatdefault 1.0; stored on the template; bf2-rs: yes
armor.explosionMaterialshared intshared intshared intdefault 0; stored on the template; bf2-rs: yes
armor.explosionRadiusserver floatserver floatserver floatdefault 0.0; stored on the template; bf2-rs: yes
armor.hideChildrenOnSpectacularDeathshared boolshared boolshared booldefault 0; stored on the template; bf2-rs: yes
armor.hitPointsserver floatserver floatserver floatdefault 10.0; stored on the template; bf2-rs: yes
armor.hpLostWhileCriticalDamageshared floatshared floatshared floatdefault 1.0; stored on the template; bf2-rs: yes
armor.hpLostWhileInDeepWatershared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.hpLostWhileInWatershared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.hpLostWhileUpSideDownshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.maxHitPointsshared floatshared floatshared floatdefault 10.0; stored on the template; bf2-rs: yes
armor.showDamageAsDirtshared floatshared floatshared floatdefault -1.0; stored on the template; bf2-rs: yes
armor.speedModshared floatdefault 1.0; stored on the template; bf2-rs: yes
armor.timeToStayAfterDestroyedshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.timeToStayAsWreckshared floatshared floatshared floatdefault 20.0; stored on the template; bf2-rs: yes
armor.useMMOnDeathshared booldefault 1; stored on the template; bf2-rs: yes
armor.waterDamageDelayshared floatshared floatshared floatdefault 3.0; stored on the template; bf2-rs: yes
armor.waterLevelshared floatshared floatshared floatdefault -0.30000001192092896; stored on the template; bf2-rs: yes
armor.wreckDelayshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.wreckExplosionDamageshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.wreckExplosionForceshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.wreckExplosionForceMaxshared floatshared floatshared floatdefault 100.0; stored on the template; bf2-rs: yes
armor.wreckExplosionForceModshared floatshared floatshared floatdefault 1.0; stored on the template; bf2-rs: yes
armor.wreckExplosionMaterialshared intshared intshared intdefault 0; stored on the template; bf2-rs: yes
armor.wreckExplosionRadiusshared floatshared floatshared floatdefault 0.0; stored on the template; bf2-rs: yes
armor.wreckHitPointsshared floatshared floatshared floatdefault 10.0; stored, derived values updated; 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.