Logo FSBarV1_Archived

EncyclopediaEntry Type

Pre-classified summary of one unit from `BarData.AllUnitDefs`. Classification uses the same `UnitGlyph.classifyShape` / `classifyTier` / `classifyFaction` helpers the live `GameViz` path uses, so an encyclopedia entry and an in-session glyph for the same internal name always agree on faction / tier / shape (feature 038 FR-002).

Record fields

Record Field Description

BuildTime

Full Usage: BuildTime

Field type: int
Field type: int

DefId

Full Usage: DefId

Field type: int

Stable index into `BarData.AllUnitDefs.all` at build time. Not an engine def-id; used only as a per-entry key for the Hub's list selection.

Field type: int

EnergyCost

Full Usage: EnergyCost

Field type: int
Field type: int

Faction

Full Usage: Faction

Field type: FactionId
Field type: FactionId

FootprintX

Full Usage: FootprintX

Field type: int

Footprint X in BAR footprint-cells (1 cell = 16 elmos).

Field type: int

FootprintZ

Full Usage: FootprintZ

Field type: int

Footprint Z in BAR footprint-cells.

Field type: int

Health

Full Usage: Health

Field type: int
Field type: int

HumanName

Full Usage: HumanName

Field type: string option

BarData `printableName` — human-readable display name from the BAR Lua `name` field (e.g. `"Armada Commander"`). `None` when the source unit def didn't define one.

Field type: string option

InternalName

Full Usage: InternalName

Field type: string

BarData `name` — the canonical internal name (e.g. `"armcom"`).

Field type: string

MetalCost

Full Usage: MetalCost

Field type: int
Field type: int

MovementClass

Full Usage: MovementClass

Field type: string option

BarData `movement.movementClass` (e.g. `"ATANK2"`, `"AHOVER1"`, `"ABOAT1"`). `None` for buildings and air units. Used by the Hub encyclopedia filter to identify amphibious units since `MovementShape` lumps bot / vehicle under `Ground`.

Field type: string option

Shape

Full Usage: Shape

Field type: MovementShape
Field type: MovementShape

SightRangeElmo

Full Usage: SightRangeElmo

Field type: float32
Field type: float32

Subfolder

Full Usage: Subfolder

Field type: string

BarData `subfolder` — used for faction derivation.

Field type: string

Tier

Full Usage: Tier

Field type: Tier
Field type: Tier

WeaponRangesElmo

Full Usage: WeaponRangesElmo

Field type: float32 list
Field type: float32 list

Type something to start searching.