generated from the code
LPTargetComp
BF22142Heroes
A template component (class id 0x000094eb): its properties are set through their prefix on the active template.
Properties (13)#
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 |
|---|---|---|---|---|
target.connectionEffect | shared std::string | shared std::string | shared std::string | default ''; stored on the template; bf2-rs: yes |
target.connectionEffectOnlyWhenZoomed | shared bool | shared bool | shared bool | default 0; stored, derived values updated; bf2-rs: yes |
target.disableFireWhenActiveMissile | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
target.disableGuidanceOnReload | client bool | client bool | client bool | default 0; stored on the template; bf2-rs: yes |
target.maxDistance | shared float | shared float | shared float | default 100.0; stored on the template; bf2-rs: yes |
target.onLockChangeToWeapon | shared bool, std::string | shared bool, std::string | shared bool, std::string | builds a list / sub-object (method); bf2-rs: yes |
target.sendVehicleLockWarning | shared bool | default 1; stored, derived values updated; bf2-rs: yes | ||
target.setTargetAtMaxDistance | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
target.targetInput | shared io::PlayerInputMap | not yet probed; bf2-rs: yes | ||
target.targetObjectTemplate | shared std::string | shared std::string | shared std::string | default ''; stored, derived values updated; bf2-rs: yes |
target.targetSystem | shared TargetSystem | shared TargetSystem | shared TargetSystem | default 0; stored on the template; bf2-rs: yes |
target.updateInterval | shared float | default 0.0; stored, derived values updated; bf2-rs: yes | ||
target.useCameraDirectionToTarget | shared bool | shared bool | shared bool | default 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.