Skip to planner
BAR FIGHT

Build Order Planner

Save or load a plan

Save your complete setup and build order as a JSON file. Load it on any device to continue.

Loading replaces the current plan after validation. Files stay in your browser; nothing is uploaded. Timings are recalculated with the current planner.

Local plan variants

Stored in this browser, without an account. Download JSON to keep a separate backup.

    Share this version

    The link contains the plan: placements, orders, wind, support amounts/times and any retained public replay/player references. Anyone with the link can read it. It is not listed on BAR Fight and no plan is uploaded to the server.

    Start from a replay

    Load a player's retained opening, edit its plan, and compare recorded timings with estimates.

    Start a different plan

    Detailed diagnostic report

    Existing build report JSON files can also be uploaded. For investigating a search, include its detailed report.

    Import a replay opening

    Choose a replay file or paste its BAR/Gex link. Files stay in your browser: only the game ID is used to find retained data. No replay is run or fetched.

    Loading maps and units…

    Setup

    Map, faction & weather

    Starting resources & advanced settings

    Where the map has no spot data, metal yield and site count are editable estimates for your starting position.

    Map and data details

    Find a build

    What do you want to finish? Search for an opening, review it, then apply it to the map.

    Your target

    Minimum economy and reserves

    Checked at the common end of the search window. Zero leaves a minimum unrestricted; these requirements also apply when no current plan supplies a comparison.

    Starting setup, map limits & allied support

      Only declared gifts are available, at their scheduled arrival times. Received targets do not count as newly built.

      Builders & reclaim
      Allow map reclaim with

      Search tests early labs, constructors, Lazarus or faction equivalents, nanos, construction hand-offs and temporary-factory reclaim. Builders pay their full costs, travel to work and share resources. Map-wide reclaim assumes uncontested access; unknown objects supply no resources.

      Commander & self-D
      Commander availability
      Optional commander self-D
      Search effort & wind

      Search time limits how long your browser works, not simulated game time. Results are the best found among the tested candidates; a faster opening may exist.

      Optional additional tests use the same independent weather sequences for each finalist. They measure tested reliability, not a guarantee for future games.

      After a valid primary result is found, alternative comparisons check up to six finalists with a separate 20-second budget. Primary fallback validation may take longer. Wind checks add up to 20 seconds, checked between complete runs; a single calculation may take longer. Partial tests are labelled.

      Every candidate shares the same weather. Fixed strength is used only when random wind is off. Plans have at most 100 orders, including economy and technology.

      Economy & timings

      Economy over time

      OrderMetal / sEnergy / sQueue finishedTravel timeTime stalled

      Income is after upkeep and conversion, before construction spending. Travel and stalls are totals across all builders.

      Metal
      Energy
      Current order

      Build timings and stalls
      How the estimate works

      The planner spends metal and energy as each building goes up. Finished buildings add income or storage. New plans use changing wind within the map’s limits: a new random target about every 15 seconds, with smooth changes every game frame. Each turbine shares this wind up to its own cap. In Setup, turn off Random wind during play to use a fixed low, typical, high or manually chosen strength. Existing fixed-wind plans keep their settings. There is no per-minute wind schedule to enter. Editing, scrubbing, saving, reloading and searching keep the same weather; Try different wind creates another scenario. This follows the game’s wind behavior without reproducing a particular replay’s shared random state or predicting a future game’s weather. Find a build knows this scenario; use Try different wind to check sensitivity. Tidal generators use the map’s tidal rate.

      Find a build, in the header, searches for the earliest completion of your chosen quantity or a build that meets a deadline. It compares early factories, constructor and resurrection-bot crews, economy, build power, assistance, construction hand-offs and reclaiming obsolete factories. Choose full-map reclaim or a radius near your start, allowed reclaimers, and fixed or changing wind. It uses your starting economy and scheduled gifts; gifted units do not count as newly produced targets.

      The search tests a bounded set of placements and build orders, not every possible strategy. It compares reclaim priorities by default, including separate metal and energy workers; metal-only or energy-only restrictions remain selected, and you can choose another search policy. Results show the best found, including partial results when the target was not reached. Your current order changes only when you press Use this plan; this replaces it while preserving scheduled gifts. All generated economy, tech, move, reclaim and target orders share the 100-order limit.

      Preserve economy keeps the target finish time primary while checking the full search window. Ongoing metal/energy income and surviving worker/factory power must each match or exceed your valid current plan at the same time. Income uses the last 30 seconds and the endpoint; finite reclaim and gifts are separate. Generated reclaim continues, and new target constructors can receive paid follow-up mex upgrades. Results show the measured economy and workers. Uncheck it for a pure timing search. These are conservative comparisons at your chosen time, not a guarantee of long-game strength.

      Set when the commander stops all economy work, or only assistance. Optional self-D can search for a safe time and position or use your own values. Keeping the commander is also considered. Detonation requires time to travel after work stops, terrain and complete feature coverage; possible blast damage to other planned units or map features rejects that candidate. Detonation removes commander income, storage and build power and creates a reclaimable wreck. Its metal must still be reclaimed. Clear limits removes the commander conditions and their wreck/departure commands.

      Full-map reclaim uses actual remaining objects, travel, reach and reclaim speed. An area command can reclaim many objects while using one queue slot; helpers share the same finite resources. Search results state the computation budget and any early stop. That budget limits search work, not your simulation’s timeline. The best plan is checked through the full timeline in the browser model before Apply, including later gifts and commander events.

      Open Map tools, then Reclaim & metal limits to draw green allowed reclaim rectangles or red excluded rectangles. Multiple allowed rectangles form one permitted area; exclusions and individually protected trees or rocks override it. Restrictions use object centres. Features remain on the map: construction cannot silently clear a protected or excluded object. Choose metal spots switches to a list of spots your own builders may take; All metal spots restores unrestricted sites. These limits apply to the current queue and Find a build, including helpers. Existing incompatible commands remain visible for review, and Find can replace them with a legal plan. Middle mouse still pans; Escape cancels a rectangle.

      Find a build shows scheduled support and a button to edit it. In Allied support, enter the arrival minute for resources, a unit or a completed building, then schedule it. Use playback time copies the slider time when desired. You can edit each scheduled arrival afterwards. Resources above available storage overflow; gifts do not count as newly produced targets. Gifted extractors are external assets and may lie outside your own allowed spots, but cannot erase protected map objects.

      Export build report downloads your map, layout, setup, support timetable, map limits, latest search inputs/result and calculated timings with source fingerprints. Send that JSON when asking why the planner chose a strategy. It contains no sign-in credentials or Discord data. Imported replay references include the selected public player ID/name. The report is downloaded locally.

      Map reclaim targets lets you choose nearest, metal first, energy first, metal-bearing objects only or energy-only objects. Objects containing both resources belong to the metal group and still pay both resources. Energy-first is a planner ordering option; BAR’s Alt command keeps area reclaim active rather than selecting energy. Dragging a reclaim area captures your chosen policy in one command. Existing commands keep their policy when the selector changes.

      Select a factory and right-click a rally destination, or use Set rally point. Units produced after that time travel to the rally before ordinary preplanned work. Changing or clearing a rally affects later output; a plain movement/work command during playback can override an existing unit’s trip, while Shift queues after it. Find a build preserves exact rally events for gifted factories and uses your explicitly enabled factory-type defaults for matching new factories. Reproducing constructor rallies in BAR may require disabling automatic Factory Guard, which this planner does not run.

      Allied support can schedule completed buildings as well as mobile units. A building begins contributing its actual income, upkeep, storage, conversion and build menus only when received. Its footprint must fit, and its construction costs are paid by the ally, outside your ledger. Find a build preserves the gift and uses its capabilities; receiving the requested target does not count as producing it.

      Storage choices and reclaim timing compete with other builds. A storage building costs metal, energy and build time, and only adds capacity when complete. Resource overflow is lost. An early refund or reclaim burst cannot be saved retroactively by constructing storage later. Build-power choices use the same shared stocks and stalls, so extra builders help only when their available work can be funded.

      Find a build also tests changes suggested by each plan’s construction and resource timeline: available constructors, paid nanos, energy reserves and verified metal extractor upgrades. Upgrades require a builder with the correct build menu. Their costs, travel, energy use and income after completion count toward the target time. A valid existing plan remains a fallback when an investment does not improve the result.

      The search compares small builder teams with energy production, storage and nanos together. Helpers can follow a constructor through its nano and factory builds, and use time waiting for a later project to assist current work. Every investment still costs resources and travel time. For comparisons with a replay, match the start, wind assumption and scheduled support; automatic allied sharing is not predicted or added as free income.

      Factories and constructors use their in-game build menus, and their queues become active when they finish. Each can work independently and shares your metal and energy. Build work, build power, movement and resource stalls determine the timeline.

      Select a builder and right-click a constructor or factory to guard it and assist its ongoing work, including successive factory units. Right-click an unfinished unit or building to help finish that target only; right-click open ground to move. A plain right-click replaces that builder’s current orders at the current timeline time. Shift + right-click queues the command after its existing orders. Partly built units remain, with their progress and resource spending preserved.

      You can also choose Assist builder (O), then click a commander, constructor or factory to append ongoing assistance to the plan. While its target is idle, the helper keeps guarding. Stop assisting ends the order at the current timeline time. Assist build (R) helps one unfinished unit or building.

      Completed construction turrets automatically assist nearby construction, including factory production. Starting a new construction turret draws nearby automatic helpers onto it until it finishes. Explicit assist and reclaim orders take precedence. Idle mobile constructors do not automatically start building other units.

      Choose a build, then hold Shift and drag with the left mouse button for a line. Add Alt for a filled grid. Release the mouse to queue the valid preview positions, up to the queue limit; red positions are skipped. The grid follows a back-and-forth order. Middle mouse still pans, and Escape or right-click cancels an unfinished drag.

      Build spacing starts at zero and is remembered per unit for this session. Use Gap or Alt+Z / Alt+X to change it (0–16 steps, each adding 16 world units between footprints). Footprints and facing determine the placement pitch; native build-grid snapping stays unchanged. Resource sites that need a different position should be placed individually.

      Place an eligible extractor or geothermal upgrade over the old building. The original keeps producing until the upgrade finishes, then its metal cost is refunded.

      Gold rings mark discrete metal deposits. When placing an extractor, highlighted cells show open positions that cover the deposit. The planner chooses the closest open cell to your pointer and preserves the old coordinates for upgrades. The gold overlay shows metal-rich terrain on continuous-metal maps.

      Travel and build placement on mapped terrain use sampled heights and completed structures. Other maps use open-terrain estimates.

      The grid appears only near the building being placed or repositioned, including the current end of a drag preview. It stays hidden when there is no active building preview. Each 48-world-unit grid cell fits one standard nano turret. Each large box contains 4×4 cells (16 nanos), measuring 192×192 world units. Placement still snaps to BAR’s native 16-world-unit build grid.

      New build, factory, move, assist and reclaim commands are given at the current timeline time. Planner buttons append orders; a plain contextual right-click replaces them. A command cannot begin before you issue it. Automatic nano assistance can continue until a new explicit order is given. Giving an order while playback runs keeps playback running.

      Playback runs continuously by default. Enable Pause on completion to pause at the exact finish of each building or unit; press Play to continue. Builds that finish together share one pause. Uploaded plans keep their saved preference. You can still scrub freely.

      Save / load → Import replay reads a .sdf or .sdfz header locally, or accepts a BAR/Gex replay link. Choose a player and opening length, check the inferred builders and included units, then import. Only already retained, published match evidence is read; unavailable matches are not fetched or replayed. Recorded starts/finishes remain separate from estimates under Orders. Missing completion evidence stays Unknown. Completed gifts use their arrival time, not the donor’s construction finish. Edit builder assignments, queue times and placements to try another opening. Validated retained transport, losses and unit-reclaim intents are used when available. Optional additional original commands remain a partial reconstruction; ambiguous queue edits are not applied. Wind and sharing use sampled evidence, not exact per-frame inputs. Combat is not simulated. Imported plans use current unit balance, and JSON saves keep the reference for comparison.

      Plan safety: use Undo/Redo (Ctrl+Z/Ctrl+Y, or Ctrl+Shift+Z) outside text fields. Multi-placement and applying a search result are single edits. Local drafts recover automatically in this browser; Save / load also keeps named variants. Download JSON for independent backup. Share links require explicit consent and contain all included plan/support/public replay data in their URL fragment. Anyone with the link can read that version; deleting a local variant does not revoke a link. Saved calculation fingerprints warn about changed planner or map data.

      Worker timeline: open Orders → Worker timeline & dependencies. Click an assignment to select its worker and target on the map. Travel, Build, Assist, Reclaim, Waiting and Idle describe modeled work; resource waits may occur inside an assignment. Prerequisites are known dependencies, not a proven critical path or promised time savings. The phone timeline duration remains editable.

      Commands keep the scene visible while the timeline updates. Cancel update stops a pending calculation and keeps your draft. If an update fails, use Retry timeline or edit the plan; playback waits for a successful update.

      Each build shows its estimated resource delay, split into metal (M), energy (E), and both missing together. The estimate counts lost build power across the builders trying to work at each moment; helpers are counted together. Travel, queue waiting and idle time are excluded. During playback, it shows only delay accumulated so far. With changing helpers, this is equivalent time lost, rather than the finish-time difference of a separate fully funded game.

      Choose any timeline length in minutes beside the playback controls, or under advanced Setup settings. While playing, the timeline keeps extending at its edge, including after the current build queue has finished.

      Combat and terrain deformation are outside this estimate. Assist and reclaim orders, timed resource gifts, gifted mobile units and movement waypoints use the same simulated resource pool and timeline.

      Trees and rocks come from the exact map archive and its active feature placement files, combined with the pinned BAR feature definitions. Turn on Trees & rocks in Map layers, then click an object to inspect its remaining resources. With a builder selected, right-click an object to reclaim it; Shift queues behind existing orders. E then click reclaims one target; E then drag a circle queues the available objects in that field, up to the plan’s 100-order limit. Area queues use a nearest-next route estimate. Middle mouse still pans.

      Trees and rocks use batched rendering: 3D projects markers on the GPU, while 2D reuses cached shapes as you pan. Their individual positions and reclaim values stay exact. Hover or select a marker to see its remaining resources. Completed reclaim and newly created wrecks update at their recorded times, including when scrubbing backwards.

      Natural features pay metal and energy gradually into shared storage. Multiple reclaimers and builders guarding them share one remaining object. Canceling work preserves the reclaimed fraction; scrub the timeline to see it. Storage overflow is lost. Find a build compares paid mex expansion, storage and energy changes together with the timing of its generated wreck reclaim. It preserves your scheduled gifts and authored future commands. The layer describes initial map features, not later combat wrecks. Dynamic map spawns, crushing, burning and terrain changes are outside this estimate; partial map evidence is labeled explicitly.

      A builder clears reclaimable objects blocking a new building’s footprint before starting construction. Idle construction turrets prefer construction, then reclaim nearby map objects while metal or energy storage has room. Their automatic work and any guarding helpers use the same remaining resources as explicit reclaim commands.

      The normal commander spawn clears nearby vegetation’s resources without paying them to you. Those objects are excluded as reclaim targets at your selected start. Their later falling/removal timing is not simulated; blocking remnants are conservatively retained until a builder clears them. Other players’ spawn clearances are unknown to this single-player plan.

      A ? marks an unresolved map reference: the archive records its position, but the required feature definition or model is unavailable. These markers can be inspected but cannot supply estimated resources or be queued for reclaim.

      Automatic assistance follows BAR’s default enabled widgets and a half-second target search interval. Engine unit-ID staggering, model animation delays, damaged-unit repairs and combat reactions remain outside this estimate.

      For an income goal, the optimizer compares the rate at the selected time, then the total net production so far if the rates tie. Total net production includes excess that overflowed storage.

      BAR economy guide · Map settings source

      BAR Grid hotkeys: Z Economy, X Combat, C Utility, V Production. Within a category, bottom row Z X C V, middle row A S D F, top row Q W E R. B changes page. Escape closes the build category. Outside the grid: R assists one construction target, O guards a constructor or factory to assist its ongoing work, E reclaims. Brackets rotate. Tab on the map selects and focuses the commander. Period cycles available builders. Hold Shift for repeat placement, or to queue five factory units. Arrow keys move the cursor; Enter confirms. Right click assists unfinished construction, guards a friendly unit or moves on open ground, replacing current orders. Shift right click appends. Middle mouse pans. Open Controls for the full guide.

      Controls & help

      A quick start

      1. Set up. Choose your map and faction in Setup, then place your commander.
      2. Plan. Select a builder in Build with, choose a building, and click the map. Or use Find a build to search for an opening.
      3. Review. Press Play or move the timeline. Open Orders to inspect timings, resource delays, or delete a selected command.

      Unit searches understand names, codes and terms such as T2 con, constructor, wind, mex or transport. Add a faction to narrow the results. Build with searches only the selected builder’s menu; Find a build searches reachable technology.

      Commands are issued at the time shown on the timeline. Rewind before adding an opening order; new commands cannot start in the past. Plain placement and unit commands replace that builder’s earlier orders from this time. Hold Shift to append. Started construction stays on the map with its paid progress when its builder leaves.

      Reading resources

      Production is income after upkeep and converters, before construction. Storage change shows the change in your bank over the preceding recorded second, including construction, reclaim, gifts and overflow. A negative value means your bank fell; near zero can still mean construction is starved. Resource bars use one-second snapshots; build status follows finer construction events. Check the selected unit or Orders for shortage warnings.

      Map workspace

      The native HUD places the minimap at the top left, construction grid above the selected-unit information, and command buttons beside it. Resource bars stay at the top. Hover or focus the construction panel to reveal its builder selector and search. Orders, Map tools and Allied support open in an optional sidebar. Unit options contains draft repositioning, rotation and factory rally controls. Focus hides the HUD; Back or Escape restores it.

      On phones, Overview, Commands and Build open separate sheets with touch-sized controls. Close a sheet or choose a placement command to reveal the map. Drag with one finger to pan; tap a unit to select it. Text fields, dialogs and sidebar editing retain normal keyboard behavior.

      Use 2D / 3D beside the zoom buttons to switch between top-down planning and rotatable terrain. In 3D, hold Alt and middle-drag to orbit: move sideways to turn and vertically to change the angle. Ctrl + mouse wheel tilts; the wheel alone zooms. Middle-drag without Alt pans beyond the map edges. Fit returns to the map at your current angle; Reset view restores north and the default 45° tilt. Map tools → Map layers also has bearing and tilt sliders for touch and keyboard use.

      With the map focused, Alt + left/right arrows rotates, Alt + up/down arrows tilts, and Alt + O flips the camera. Grid camera shortcuts Ctrl + F5 and Ctrl + F6 choose 2D and 3D. Camera shortcuts are limited to the focused map; in another part of the browser, its usual shortcuts still apply. Escape cancels a held camera drag. This is an orthographic planning camera using BAR’s controls, rather than the engine’s perspective camera, collision or smoothing.

      Both views use the same map coordinates, snapping, build rules and simulation. Units retain their portraits; footprints, ranges, resource spots and reclaim areas follow the terrain. Rotating, tilting, zooming and resetting the camera do not edit your saved plan. Sharper imagery and 3D are available where exact-version source data has been verified, with a 2D fallback if the device cannot render it. Display terrain does not replace calculation terrain: maps previously using open-terrain construction/travel estimates keep those estimates. See map sources and credits.

      Map tools → Map layers contains Start boxes and a layout selector. These show BAR’s official authored presets, including team and FFA layouts and curved boundaries, in both views and the minimap. Colours distinguish the boxes in the selected preset. A lobby can use custom boxes, so this overlay is a planning reference and does not restrict your commander start. Maps without a verified preset are labelled unavailable.

      Visual reference: BAR test-31992-e7a6cff, FlowUI with the default Grid preset and physical QWERTY key positions. The existing economics catalogue remains at 57a02af. Source and fidelity notes · Font licences.

      Build a unit or building

      Original cursor badges show command intent using native names: Move, Repair, Guard, Reclaim or Rally. “RMB” describes right-click; red feedback marks unsupported or invalid actions. Restricted BAR cursor artwork is not bundled.

      Choose a builder, then press Z Economy, X Combat, C Utility or V Production. The first available build is selected automatically. Choose another with its grid key, then click the map.

      QWERASDFZXCV

      A selected factory uses these grid keys directly. B changes page. For example, with a Cortex Commander, Z then C selects Wind Turbine.

      Hold Shift and left-drag to queue a line; hold Shift + Alt and left-drag for a filled grid. Release the mouse to place the valid preview positions. Alt + Z/X increases/decreases the gap. Release Shift to return to selection.

      Factory keys queue one unit, Shift queues five, Ctrl removes one and Ctrl + Shift removes five. Factory mouse clicks use native quantities: Shift ×5, Ctrl ×20, both ×100; right-click removes matching unstarted units. Alt adds at the front only when no unit is already being built. A queue card can be inspected; right-click removes that exact unstarted item. Counts exclude completed outputs and orders not yet issued.

      Unit commands

      Left click / drag
      Select a unit / select units in a rectangle. Shift adds; Ctrl-click toggles; Ctrl-drag subtracts; Alt-drag limits the rectangle to mobile units.
      G
      Stop selected non-factory units immediately. Their paid unfinished construction remains. Shift+G queues Stop after their earlier orders.
      Pause
      Play / pause the planner while the map or native menus have focus.
      R
      Assist one unfinished construction target (Repair)
      O
      Assist a commander, constructor or factory’s ongoing work (Guard)
      E
      Reclaim
      [ / ]
      Rotate the building being placed
      Tab on map
      Select and focus the commander
      .
      Cycle available builders and factories
      Delete
      Remove a selected unstarted order. Remove dependent orders first. To edit an earlier draft, return the timeline to before it started; live Stop and reclaim preserve history.
      Right click
      With a builder selected: assist unfinished construction, guard a completed friendly unit, or move on ground. Replaces existing orders; cancels an active placement first.
      Shift + right click
      Add the contextual command after existing orders
      Esc
      Cancel command and close the build category
      Middle drag
      Pan freely beyond map edges. Fit returns to the map.
      Alt + middle drag / Ctrl + wheel
      In 3D, orbit / tilt the camera. Alt + arrows also changes the angle; Alt + O flips it. Reset view restores north.
      Arrow keys / Enter
      Move the map cursor / confirm its target

      Within an open build category, R and E choose grid cells. Press Esc first to use them as unit commands.

      To assist another builder, select the helper and right-click its constructor or factory. Assistance continues across that target’s queue and factory production. Right-clicking a target still under construction helps finish only that target. Nano turrets reject out-of-range contextual assistance unless Ctrl is held; Ctrl cannot extend their actual build range.

      Group commands go to eligible selected units together. Compatible selected constructors share one new frame and pay normal travel, resource and build-power costs; the selected primary initiates it. The planner does not reproduce builders racing to initiate a frame. Other helpers can receive Repair or Guard explicitly.

      This is a browser planning simulation with 2D/3D map views and approved unit portraits, not the BAR engine. Combat, damage repair, transport loading, resurrection, Patrol, Fight, Restore, movement states, build-priority states and repeat production are not simulated. Their controls are disabled or explain the limitation. Factory Stop Production and canceling an already-paid factory output are not simulated; queue edits preserve those frames. Resource bars use calculated one-second snapshots. Paths, egress, weather and automatic assistance retain the documented planner approximations.

      Shortcuts leave text fields, dialogs and browser key combinations available. This planner supports movement, construction, assistance and reclaim.