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

MultiFireArmTargetComp

BF22142Heroes

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

Properties (12)#

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
target.connectionEffectshared std::stringshared std::stringshared std::stringdefault ''; stored on the template; bf2-rs: yes
target.connectionEffectOnlyWhenZoomedshared boolshared boolshared booldefault 0; stored, derived values updated; bf2-rs: yes
target.lockAngleshared floatshared floatshared floatdefault 45.0; stored on the template; bf2-rs: yes
target.lockDelayshared floatshared floatshared floatdefault 0.0; stored, derived values updated; bf2-rs: yes
target.loseLockDelayshared floatshared floatshared floatdefault 0.20000000298023224; stored, derived values updated; bf2-rs: yes
target.maxDistanceshared floatshared floatshared floatdefault 100.0; stored on the template; bf2-rs: yes
target.onLockChangeToWeaponshared bool, std::stringshared bool, std::stringshared bool, std::stringbuilds a list / sub-object (method); bf2-rs: yes
target.sendVehicleLockWarningshared booldefault 1; stored, derived values updated; bf2-rs: yes
target.setTargetAtMaxDistanceshared boolshared boolshared booldefault 0; stored on the template; bf2-rs: yes
target.targetInputshared io::PlayerInputMapnot yet probed; bf2-rs: yes
target.targetSystemshared TargetSystemshared TargetSystemshared TargetSystemdefault 0; stored on the template; bf2-rs: yes
target.useCameraDirectionToTargetshared boolshared boolshared booldefault 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.