generated from the code
DefaultZoomComp
BF22142Heroes
A template component (class id 0x000094e5): its properties are set through their prefix on the active template.
Properties (9)#
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 |
|---|---|---|---|---|
zoom.addZoomFactor | shared float | shared float | shared float, CameraViewMode | builds a list / sub-object (method); bf2-rs: yes |
zoom.changeFovDelay | shared float | shared float | shared float | default -1.0; stored, derived values updated; bf2-rs: yes |
zoom.disableMuzzleWhenZoomed | shared bool | shared bool | shared bool | default 0; stored on the template; bf2-rs: yes |
zoom.mouseSpeedMod | shared float | shared float | shared float | default 1.0; stored on the template; bf2-rs: yes |
zoom.onlyZoomWhenProne | shared bool | default 0; stored on the template; bf2-rs: yes | ||
zoom.zoomDelay | shared float | shared float | shared float | default 0.5; stored, derived values updated; bf2-rs: yes |
zoom.zoomInput | shared io::PlayerInputMap | not yet probed; bf2-rs: yes | ||
zoom.zoomLod | shared int | shared int | shared int | default 0; stored on the template; bf2-rs: yes |
zoom.zoomOutAfterFire | shared bool | shared bool | shared bool | default 0; stored on the template; 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.