Welding

The Build and Repair block welds and builds projected blocks within its work area. This page describes how welding works, what controls its speed and order, and how to troubleshoot common issues.


Search Mode — Walk vs. Fly

Before anything else, the BaR’s Search Mode decides which grids it is willing to scan for weld targets. This is the upstream gate every other welding rule depends on — if a block is not visible to the scan, no weld mode, priority list, or color filter can pull it in.

The terminal Search Mode dropdown offers two modes; pick the one that matches what you want welded:

Mode Internal name What gets scanned
Walk mode (default) Grids Only the grid the BaR is mounted on, plus any sub-grids connected via locked connectors, pistons, rotors, or mergers. Free-floating ships nearby are ignored.
Fly mode BoundingBox Same as Walk mode, plus every other grid whose blocks fall inside the BaR’s work area — even unconnected ships, enemy grids, projected grids on a separate vehicle, or NPC drops drifting past.

The default is Walk because it is what most players want: a base-mounted BaR that repairs its own base and the docked ships connected to it, but ignores hostile or unrelated grids that happen to fly through. Fly is for repair platforms that should weld whatever shows up in front of them — projector pads, repair docks, station-mounted welders that service ships parked nearby without a connector lock, multi-grid projector builds that span multiple unconnected vehicles.

Things to keep in mind when switching to Fly:

  • The work area’s size and offset become much more important — Fly mode scans every grid intersecting the box, so a wide work area can pull in a lot of grids at once and grow scan cost.
  • If you have ownership conflicts in range (your own ship docked next to a salvaged hostile grid), Fly mode will see both. Use the priority list, weld mode, or move the work area to scope what gets welded.
  • Fly mode does not bypass safety checks — Safe Zones, shields, plugin protection (!protect), and MaxSystemsPerTargetGrid still apply per scanned grid.

Regardless of mode, the BaR only welds blocks it is allowed to help: your own, your faction’s, and friendly players’ blocks. Enemy and neutral blocks are never welded. Unowned blocks (fresh construction sites with no owner yet) are only welded if they were placed by you or a faction member — derelict and NPC wrecks are not repaired.

Server admins can hide either mode globally via AllowedSearchModes in ModSettings.xml. The default for newly-placed blocks is set by SearchModeDefault.


Weld Modes

The terminal Weld mode dropdown controls how far each block is welded:

Mode Behaviour
Weld to full Welds blocks all the way to 100% integrity. The default.
Weld to functional Welds blocks until they become functional (lights on, doors work, thrusters fire). Saves components and time when full integrity is not needed.
Skeleton only Only places projected blocks (the first component). Never welds or repairs existing blocks. Pair with Build Projections to rapidly stub out a projection, then switch to a full weld mode to finish.

There is no server-side override for the Weld Mode — it is always controlled per block in the terminal.


Build Projections

The Build Projections toggle controls whether projected blocks may be built by this BaR. When disabled, the BaR only repairs existing blocks — projector blueprints are ignored. The default is enabled.

Renamed from “Allow Build.” The terminal label was changed to Build Projections to make its purpose obvious at a glance — the previous “Allow Build” wording was easily misread as a master on/off for the whole system. The behaviour is identical; only the label changed.

Server-side, the corresponding setting is AllowBuildDefault (default for newly-placed BaRs) and AllowBuildFixed (locks the toggle so players cannot change it from the terminal). Both live in ModSettings.xml. The internal flag name is still AllowBuild — that name is what the scripting API exposes (BuildAndRepair.AllowBuild) and what older docs may refer to.


Sort Order

Welding targets are sorted before the loop runs. Order is controlled by the Welding Priority list in the terminal: each block class (Armor, Thrusters, Reactors, …) is processed in list order, top to bottom; blocks of equal priority are welded nearest-first. Use the Priority Up / Priority Down buttons to reorder, and the per-entry Enable/Disable buttons to enable or disable a class. The list can be locked server-wide via PriorityFixed.

There is no “Ignore priority order” option for welding — the toggle in the terminal applies only to grinding. Welding always uses the priority list when picking the next target.

The native Help Others checkbox is hidden in the terminal and forced off internally — the option is not used by this mod. Multiple BaRs sharing one target is handled by the assignment system below, not by Help Others.


Color Filter (Ignore Color)

The Use Ignore Color terminal toggle, with its associated HSV color picker, lets you mark blocks the BaR must skip. When enabled, any block painted with the configured Ignore Color HSV is excluded from the weld list and never welded — useful when you want a specific block to remain unfinished or partially ground for a paint scheme.

Setting Default Description
UseIgnoreColorDefault true Default state of the per-block toggle.
IgnoreColorDefault 321, 100, 51 Default HSV (close to but distinct from the default Grind Color).
UseIgnoreColorFixed false When true, the toggle is locked server-wide.

The companion Use Grind Color is the inverse direction: blocks painted with the Grind Color are routed to the grind list, not skipped — see the Grinding page. Because the routing happens at scan time, the welder never sees Grind-Color blocks at all.


Block Assignment

When more than one BaR can reach the same target block, the assignment system stops them all converging on the same block at once. As a BaR picks a block to weld it claims a short-lived reservation on that exact block, held for AssignmentTtlSeconds (default 8 s). Other BaRs treat reserved blocks as if they were already being worked and pass them by, so neighbouring BaRs spread out across the available targets instead of bunching up.

The reservation is released when the BaR finishes the block, when it abandons the lock-on, or when the reservation times out (whichever comes first), so a disconnected or destroyed BaR’s claims free up automatically within a few seconds.

Setting Default Effect
AssignToSystemEnabled true Master switch. Set to false to disable assignment server-wide.
AssignmentTtlSeconds 8 How long a reservation is held. Lower = faster recycling. Range 2–30.

The assignment system runs alongside MaxSystemsPerTargetGrid, the per-grid cap that limits how many BaRs may target the same grid at once — by default 10 in multiplayer (hosted or dedicated) and 20 in single player; more BaRs than that around one big ship wait or work on other grids (/nanobars config set MaxSystemsPerTargetGrid <n> to change it). Both are server-wide knobs; see the Configuration File page for the full picture.


Lock-On Behaviour

When the BaR starts welding a block it “locks on” to that block until the block is welded to the chosen Weld Mode (or becomes invalid). The lock-on recognises the same physical block across the periodic background rescans, so a rescan does not make the BaR drop its work.

If a locked-on block becomes temporarily unweldable due to a missing component, the lock-on is preserved — the BaR resumes the same block as soon as components arrive. If the block disappears from the target list entirely (for example after a projector update), the stale lock-on is cleared and the BaR finds a new target on the same tick.


Speed

Welding speed is controlled by two independent settings:

  • WeldingMultiplier (ModSettings.xml) — per-tick weld amount. 1 = default, 2 = double, 0.5 = half. Range: 0.1–100.
  • WorkSpeed (ModSettings.xml) — how often welding ticks fire. 1 = roughly every 1.67 s, 10 = roughly every 0.17 s. Range: 1–10.

Effective speed is WorkSpeed × WeldingMultiplier. See Welder Settings → Update Speed for the full table.

Since v2.5.4 the cosmetic transport “trip” of the flying nanobots no longer gates welding — the visual is decoupled from the weld loop and welding runs at full pace.


Components

Components are pulled on demand from connected source inventories on the conveyor network: Cargo Containers, Connectors, Conveyor Sorters, Assemblers, Ship Grinders, other Ship Welders (including other BaR blocks), and Cryo Chambers. Refineries are not used as component sources — they only receive pushed ore. Only functional blocks owned by you, your faction, or friendly players count as sources. Source inventories are rescanned every 30 seconds. Items are picked up synchronously when the welder needs them — no queueing or pre-staging is required.

In Creative mode the BaR welds and builds without consuming components, matching the original mod’s behaviour.


Performance & Safeguards

Welding includes several safeguards to keep BaRs from compounding into frame spikes:

  • Block fail cooldown — when a block fails to weld (no components, projector error, etc.) it is placed on a global cooldown. Other BaRs and this BaR’s later ticks skip the cooldowned block instead of bouncing off it every tick. Tuned via BlockFailureCooldownSeconds (default 15 seconds, 0 disables).
  • Per-tick weld budget — MaxWeldsPerTick caps the global number of weld operations per tick (0 = auto, scales with BaR count). A companion time budget, MaxWeldMsPerTick (default 8 ms), caps how much time per tick is spent welding across all BaRs.
  • Per-grid system limit — MaxSystemsPerTargetGrid caps how many BaRs may weld the same target grid simultaneously. Prevents many BaRs piling onto one grid while neighbours are ignored.
  • Shared scanning — BaRs standing close together share a single scan cycle instead of each scanning the same area, so adding more BaRs to one spot does not multiply scan cost.

Projector Cold-Start

A fresh projection takes a moment to “ramp up.” This is intentional — and worth understanding so you do not mistake it for the BaR being broken.

When a projector first activates with a blueprint, the projected grid contains only the first block (typically the armour block the projector itself is anchored to). At the moment the BaR runs its next scan, that single block is the entire grid target. The BaR welds it. Once that first block is built, the next ring of blocks around it appears in the projection — those new blocks become visible to the BaR on the following scan, and the BaR welds one of them, then the next, and so on. Each completed block reveals the next batch of buildable neighbours, and the weld pace visibly accelerates.

So a fresh projection looks like this:

  1. First scan after projector activation — one block visible. BaR welds it.
  2. Next scan — a handful of new blocks visible. BaR welds one, then the next.
  3. Subsequent scans — many blocks visible at once. BaR works at full pace.

This stair-step pattern is how Space Engineers’ projector exposes blocks to the build pipeline: a block has to be buildable before any tool (hand welder, ship welder, BaR) can see it, and only the first block plus the immediate neighbours of already-built blocks are buildable at any moment. The BaR cannot “look ahead” at the rest of the blueprint.

As of v2.5.4, the first of those scans happens within ~1–2 seconds of the projector activating instead of waiting up to 20 seconds for the empty-grid backoff (EmptyGridRescanDelaySeconds) to expire. After that, the cadence between scans is the normal background-scan interval.

Be patient on a fresh projection. The first block or two will look slow. Once the projection grows past a handful of blocks, the BaR has plenty to work on and welding speed catches up to what you would see on an existing damaged grid.

This behaviour is intentional in the current mod — improving the “look-ahead” so a BaR pre-fetches the next ring of buildable blocks may be revisited in a future release.


Troubleshooting

The BaR is enabled and powered but never welds anything.

Work through this checklist:

  • Is Build Projections on (for projections) and the Weld mode set correctly?
  • Is the inventory full, or are required components missing? The custom info panel lists missing components.
  • Is the target owned by an enemy or neutral player? The BaR only welds your own, faction, and friendly blocks.
  • Is the target inside a Safe Zone that does not allow welding?
  • Is the target protected by an active Defence Shield?
  • Is the BaR's work area actually covering the target? Toggle Show Area to verify.
  • Is the target on a grid currently at the MaxSystemsPerTargetGrid limit? Other nearby BaRs may already be saturating it.
  • Are you on a server running BuildLimiter or a similar Torch plugin? These silently block welds without an error.
The BaR will not weld a specific block, but welds everything around it.
  • Try welding the same block manually with your hand torch. If that fails too, something is physically obstructing the block (a wheel, a misaligned subgrid component) or the block requires a DLC the projector did not allow at projection time.
  • If you are using the Multi-Grid-Projector plugin, the plugin patches game API calls and can prevent welding of certain blocks. Try without the plugin to confirm.
  • The block may be on the global fail cooldown (BlockFailureCooldownSeconds). Wait a few seconds and try again, or set the value to 0 to disable the feature.
Welding feels slower than it used to (~15-20% duty cycle).
This was a real bug in versions before v2.5.4 — the cosmetic transport timer was gating real weld work. Update to v2.5.4 or later for a 3–4× speedup on long-running welds.
Welding is stuck on a single projected block in offline mode.

In offline mode (no Steam connection), the engine's DLC entitlement table is empty and projecting certain blocks (commonly DLC armour variants) caused an internal game error, leaving the BaR locked on the broken block forever.

Fixed in v2.5.4 — the BaR now catches the engine error, marks the block as broken (skipped permanently for this session), and keeps welding the rest. A diagnostic warning is logged once per broken block per session.

Welding speed multipliers above 10 do nothing.
Before v2.5.0, multipliers above 10 also changed the update frequency. Multipliers now only affect the per-tick amount; use WorkSpeed (1–10) for update frequency. Existing worlds with a multiplier above 10 are auto-migrated to WorkSpeed = 10 on first load.
The lock-on does not release when I change a terminal setting.
Lock-on is preserved until the current block is finished, even if you toggle terminal options that change the sort order or the priority list. This is intentional — interrupting a partially-welded block leaves it as scrap. The new sort order applies to the next block the BaR picks.
I cannot find the "Help Others" checkbox in the terminal.
It is intentionally hidden. The native "Help Others" option is not used by this mod — multiple BaRs working the same area are coordinated through the block assignment system instead. There is nothing to toggle.
Two BaRs in range of the same block — only one is welding it.
That is the assignment system at work: as soon as one BaR claims the block, others treat it as taken for AssignmentTtlSeconds (default 8 s) and look for a different target. To force every BaR to focus on the same target, disable the system server-wide with AssignToSystemEnabled = false in ModSettings.xml. To loosen reservations more aggressively when BaRs come and go (without disabling the system), lower AssignmentTtlSeconds.

This site uses Just the Docs, a documentation theme for Jekyll.