A community playtest is open. Download the M2 Living Town build, play it, and tell us what broke. Download and play

Everon, 1989 · life/RP for Arma Reforger

Docs · Engineering reference

Sites

docs/features/sites.mdEdit on GitHub

LF_SiteHold — Feature/Sites/LF_SiteHold.c (#2678, 2026-11-17)

  • Scoring maths for a contested site: a lone organisation gains, two or more freeze it, an empty site decays capture progress, a full capture flips it behind a cooldown. No world yet. Tests: sites/site-hold (LOGIC).

LF_SitesConfig — Feature/Sites/LF_SitesConfig.c (#2679, 2026-11-18)

  • Per-site rules from Configs/Sites/LF_Sites.conf (no sites in the core), pack overlays, then the owner's sites.rules keyed by hideout id: radius, inner radius, member minimum, capture seconds, decay, flip cooldown, rent per hour, banked rent cap, active window. Bad values log and fall back. Tests: sites/config (LOGIC).

LF_ContestedSites — Feature/Sites/LF_ContestedSites.c, LF_ContestedSiteComponent.c (#2680, 2026-11-18)

  • A 5 s server sweep scores every site placed with LF_ContestedSiteComponent (LF_Places kind contested-site, id = the hideout it guards) with LF_SiteHold.Step under LF_SitesConfig.For(id).ToHoldRules(). Counts living player characters of an organisation inside the radius that moved 1 m or acted within activeWindowSeconds; the inner ring counts double. The holder is the hideout lessee and its held ground (no new payload). A capture releases the old lease (reason captured), leases the hideout to the capturer at zero held ground (LF_Hideout.HandOver) and publishes LF_OnSiteCaptured; a contest start publishes LF_OnSiteContested. A capture is held as CAPTURED ground (#2816): it never counts against the one-base-lease limit, so an organisation keeps its base and any number of captured sites; the tenancy kind is saved in the tenancy payload (save version 58). Tests: sites/site-sweep, sites/capture-held, sites/capture-base-reload (WORLD), persist/site-capture (PERSISTENCE).

LF_SiteFlagComponent — Feature/Sites/LF_SiteFlagComponent.c, Prefabs/Sites/LF_SiteFlag.et (#2685, 2026-11-18)

  • The flag pole of a contested site with a painted board on it that names the holder, or "Unclaimed" (#LF-SiteFlag_Unclaimed). The server holds the organisation name in one RplProp string, set from LF_OnSiteCaptured for the flag's hideout id and every 5 s from the hideout's lessee (so a release, lapse or give-up clears it); Replication.BumpMe() only when the name changes, so a late joiner reads the current holder. Each rendering machine paints the board; a listen host paints it itself, because a RplProp callback never runs on the server. The prefab flag carries the hideout id as an attribute, a script spawn calls BindHideout. The board's back is unpainted. Tests: sites/site-flag (WORLD).

Everon 1989 pack data: gang war rules and the quarry site (#2687, 2026-11-18)

  • 🧪 The pack overlays Configs/Organizations/LF_OrgWars.conf (fee 2500, answer window 900 s, length 7200 s, cooldown 86400 s, 2 members a side: an alpha population) and Configs/Sites/LF_Sites.conf (one site, hideout id quarry_hideout, radius 60 m, rent 600 an hour, bank cap 3000, capture 300 s). Both are listed in the LF_Everon1989 header; the core files keep the neutral defaults. The hideout entity and its flag are placed by the world slices; until one carries quarry_hideout the entry only sets the rules. The pack string table re-voices the 12 LF-OrgWarAnnounce_* toast keys, the war board keys and LF-SiteFlag_Unclaimed as typed notices from the commune registry. Test everon/gang-war (pack leg, LOGIC).

LF_SiteRent — Feature/Sites/LF_SiteRent.c (#2683, 2026-11-18)

  • A held site that is not contested banks rentPerHour pro rata on each sweep, capped at maxRentBanked (defaults 600/h, 3000). Rent is a capped faucet like a wage: no pool account pays it. The bank stays on the site, so a capture hands it to the new holder. Each full hour of banking logs the amount once as an LF_OnMoneyMoved with source site_rent (no account side; the incident log records it, the ledger does not). A change of holder first logs the old holder's unlogged rent under the old holder. Saved as the siterent save section (LF_SiteRentSavePayload, section version 1: hideout id, banked, last rent time, the unlogged hour); no rent accrues for server downtime. Tests: sites/site-rent (PERSISTENCE).

LF_SiteCaptureHud, LF_SiteAlerts — Feature/Sites/LF_SiteCaptureHud.c, LF_SiteAlerts.c, UI/Layouts/HUD/LF_SiteCaptureBar.layout (#2686, 2026-11-18)

  • 🧪 Capture bar. A player inside a site's radius sees a panel under the lawless tag: the site name (the pack's LF-SiteName_<hideout id> row, else "Contested ground"), the holder (or "Unclaimed") and " capturing: N%" with a bar. The server (LF_SiteCaptureFeed.Push, after each site's sweep) sends each player inside an Owner RPC only when what they would see changed, at most one per sweep, and one hide when they walk out. The client only draws, in the theme's colours; a listen host gets the same Owner RPC (no host branch, docs/architecture/rpc-routing.md). Nothing persisted.
  • Alerts. LF_SiteAlerts listens for LF_OnSiteContested and LF_OnSiteCaptured and toasts every online member of the organisation concerned, in the zone or not: a contest alerts the holder once (not again for the same site within 60 s), a capture alerts the old holder (lost) and the new one (captured). Tests: sites/site-alerts (LOGIC, fake notifier). The bar itself is looked at in a session.

Held sites on the org ledger and the war board — Feature/Organizations/LF_OrgHeldSites.c, LF_OrgLedger.c, LF_OrgWarBoard.c, Feature/Hideouts/LF_HideoutsEvents.c (#2834, 2026-11-18)

  • 🧪 Ledger. The org ledger page has a "Held ground (N)" list: the organisation's base lease first, then each captured site, each marked "Base lease" or "Captured". Names are the pack's LF-SiteName_<hideout id> row, else "Alley yard lease" (a base) or "Contested ground" (a capture). The server builds the rows from LF_Hideout.SitesOf / IsCaptured (LF_OrgHeldSites.RowsFor) and sends them in their own Owner RPC (RpcDo_LF_OrganizationSites) after every page, because the page call is at the eight-argument limit; a client that opens the ledger gets them in the same answer, so a late joiner is right.
  • 🧪 Refresh. LF_Hideout.AssignAs and Release publish LF_OnHideoutLeaseChanged (hideout, organisation, leased or lost), so a take, give-up, idle lapse, capture or emptied organisation all reach LF_OrgHeldSites, which sends the rows to every online member of that organisation; an open ledger repaints the list, a closed one drops it. A capture refreshes both the old and the new holder.
  • 🧪 War board. After the war notices the board lists each placed contested site (LF_Places kind contested-site, in id order) as ": held by " or ": unclaimed", read from the lease table on each read (no cache). It is a fourth notice kind (LF_EOrgWarNotice.SITE) in the same answer format; the "It is quiet" line still shows when no war is up.
  • Data: none persisted. Proof: org/held-sites (WORLD). Both screens are looked at in a session.

LF_SiteStrongbox: Feature/Sites/LF_SiteStrongboxComponent.c, LF_SiteStrongboxAction.c, Prefabs/Sites/LF_SiteStrongbox.et, LF_SiteRent.Take (#2684, 2026-11-18)

  • A safe prop at a site that names its hideout id (attribute, or BindHideout from script). "Take the rent" (#LF-SiteStrongbox_Take) runs on the server: the player must be a member of the organisation that leases the hideout (LF_Hideout.GetOwner) with a rank that has WITHDRAW (the same right as the ledger withdraw), within 4 m of the box. The whole bank goes into the player's hands as MoneyStack (LF_MoneyUtils.AddCash, reason site-rent) and the bank reads 0; it is never paid into an account. The cash goes in first and the bank is emptied after, so a failed payout (no room) leaves the bank as it was. Anyone else gets a toast (#LF-SiteStrongbox_NotHolder, _NoRight, _Empty, _NoRoom) and a [LFDebug:Sites] line. LF_SiteRent.Take also logs the site's unlogged rent first, so the site_rent money line stays one per banked unit. Nothing new is persisted: the emptied bank saves through the siterent section. Tests: sites/site-strongbox (WORLD).

Everon 1989 pack: the farm compound site (#3412, 2026-11-19)

  • 🧪 Place: farmcompound (a farm yard north of the Chotain road, scouted at radius 90), slot compound on the Barn_E_01 (b13): Place_farmcompound_compound.layer from the kit farm-compound. It holds the site centre (LF_ContestedSiteComponent, hideout id farm_compound; the pack's rules for that id are in LF_Sites.conf), the barn's LF_HideoutDoorComponent door (m_bOrganizationHideout), LF_SiteFlag and LF_SiteStrongbox with the same id, a name plate (pack sign farm_compound, title the LF-SiteName_farm_compound row) and a net-fence ring with a gate gap. Policed ground (no lawless zone until M7). Check: town check farmcompound, audit placement --strict; the two-member capture is a session proof (see the PR's manual steps).

The hilltop mast, site hilltop_mast (#3413, 2026-11-19)

  • 🧪 Player sees: on the summit of Pick Mountain in the north-east uplands, beside the real radio mast, the portable relay hut with a hideout door on its east side, a flag pole, a strongbox, a barrel and two crates on the open ground in front. One road climbs to it. The flag board reads the holding organisation, or the pack's "unclaimed" line; the war board lists hilltop_mast beside the quarry.
  • Owner and side: pack data only. Slot a of place hilltopmast (Place_hilltopmast_a.layer, kit tools/town/kits/hilltop-mast.json, claim tools/town/claims/hilltopmast-a.json): the door carries LF_HideoutDoorComponent and LF_LockComponent for hideout id hilltop_mast; the site marker (LF_ContestedSiteComponent), the flag and the strongbox name the same id. Radius 45 m, rent 700 an hour, bank cap 3500, capture 420 s come from the pack's Configs/Sites/LF_Sites.conf (#3406). No core change.
  • Data: none new; the lease, tenancy and rent payloads already cover any site id. Proof: tools\cli look place:hilltopmast/a (before and after), audit placement --world MainWorld --strict (warnings only: the props sit 0.2 to 0.35 m into the slope). The capture itself is the manual check in the PR.
  • Merged, in-dev. Follow-up: seat the crates and flag clear of the grass.

Contested sites rest on the ground (#3552, 2026-11-19)

  • 🧪 Player sees: at the farm compound the barn door, strongbox, flag pole and name plate stand on the grass, nothing floating or sunk, and the net fence follows the slope. Measured by the island placement audit: door 0.3 mm, plate 0.2 mm, flag 9.9 mm, strongbox contact gap 7.5 mm (before: door 24 mm, strongbox 46 mm, the flag with no support, the plate 1.3 m under the ground).
  • Cause and fix: the fit gave open-ground rows the barn's floor height (115.3 m) on a slope that falls 2.5 m across the yard, and the 12 net-fence panels (SCR_DestructibleEntity) take their layer y as a height OVER the terrain, so they stood about 115 m up (the Saint-Philippe range fence: 19 m). tools/town/seat.mjs has two new mounts: terrain (a kit row with "mount": "terrain" rests on the highest probed ground under its footprint, or under its pivot for a pole) and relative (class SCR_DestructibleEntity: its y over the ground is the bottom of its bounds). town fit <place> <slot> --terrain probes the ground on the island server (tools/town/terrain.mjs, one vertical ray per point) into tools/town/terrain/<place>-<slot>.json; a plain fit and --check read that file. Proof: town-fit-seat-selftest (red-proofed), look contact place:farmcompound/compound.
  • Map: the pack POI overlay has a public row for the place kind contested-site (label LF-MapPoi_ContestedSite, "Contested ground", category story), so the farm compound, the hilltop mast and the quarry draw on the map. Test: everon/map-pois-contested (pack leg, red-proofed).
  • Merged, in-dev. Follow-up: the hilltop mast re-fit (its own slot branch) and the Saint-Philippe range and police fences (SCR_DestructibleEntity rows with the same fault).

Suggest a changeAll docs