Skip to content

Balance Tables

Stats live in many places: a Soldier’s health on the Soldier, its damage on a weapon component, a Tank’s speed on the Tank. Balancing means comparing them side by side. The Balance Data asset collects the numbers you choose from many Blueprints into one DataTable, one row per unit or ability, so you can read a whole roster in a grid, edit it, and send the edits back.

Goal. Build a table of every unit’s health, damage and speed, change the numbers in the table, push them into the Blueprints, then do the same for ability costs and cooldowns.

The tool is an editor tool. It reads and writes the Blueprints’ authored values, the defaults you would otherwise set in each class. It does not change a running match.

A Balance Data asset names the classes to include. Four buttons act on it:

Button Does
Preview Matched Targets Lists the classes the asset currently matches. Changes nothing.
Gather → Table Builds the DataTable from the matched Blueprints.
Push Table → Source Writes edited table values into the Blueprints.
Check Sync Compares the table to the Blueprints and reports cells that differ. Writes nothing.

Gather reads the Blueprints. Push writes them. Edits you make in the table never reach a unit until you Push.

Right-click in the Content Browser, open SeinARTS, and choose Balance Data Asset under the Balance heading. Name it for its concern, such as BalanceInfantry; the table is named after it. Keep one asset per concern, so each table stays small.

Open it and fill in Targeting:

Setting Value
Target Kind Entities (units / buildings)
Included Roots A parent class such as SU_Infantry. Every concrete entity Blueprint under a root is included, and the root too. Add more roots for more branches.
Excluded Classes Classes to drop, along with everything under them
Include Abstract Off. Abstract bases carry no shippable stats.

Under Tracking, Tracked Components picks which components become columns. Click Add Component Type, search, and pick from the list. It offers the framework’s components and the components your Blueprints author. Leave the list empty to track every eligible component found on the matched units. For a table of health, damage and speed, add your health component, your combat component and Sein Movement Data.

Under Output, set Output Directory to a Content folder for the generated assets, or leave it empty to put them beside the asset. Generated Table shows the result once you Gather.

Click Preview Matched Targets. The panel lists the matched classes. An empty result means no roots, or exclusions that remove them all.

Click Gather → Table. The tool creates a DataTable DT_BalanceInfantry, with a row structure BalanceInfantry_Row, and opens it.

  • There is one row per matched Blueprint, named after it.
  • There is one column per tuning field: each deterministic field you can edit on a tracked component, named after the component and the field, such as MovementPayload_Speed or SC_HealthData_MaxHealth.
  • Fixed Point fields appear as plain numbers.
  • When Tracked Components is empty or includes Sein Identity Data, two label columns, Identity_DisplayName and Identity_IdentityTag, describe each row. They are read-only; Push never writes them.
  • A cell shows its type’s default, such as 0, for a unit that does not have that component. It is skipped on Push.

Gather also stores which Blueprint each row reads. If you Gather again later, it rebuilds the table from the Blueprints. Any edits made only in the table are discarded, so it asks first.

Edit the numbers in the table. Then, in the Balance Data asset, click Push Table → Source. Confirm.

Push writes only the cells that changed, so a value you did not touch is never rewritten, and a Fixed Point value does not drift through the float round trip. A push of an entity table is a single undoable step, Balance Push.

Push changes the Blueprints in memory. Save them to keep the change: File > Save All, or Ctrl+S on each.

Click Check Sync to confirm. It reports how many cells match the Blueprints, or how many differ and which way to go: Gather to pull the Blueprints in, or Push to send the table out.

Make a second asset BalanceAbilities and set:

Setting Value
Target Kind Abilities (cost / cooldown / range)
Ability Roots SA_Produce, SA_Place and any other roots whose children you tune
Excluded Abilities Abilities to leave out

Gather. Each ability Blueprint is a row. The columns are the ability’s simple editable fields, such as Cooldown, MaxRange and AreaRadius (Fixed Point shows as a number), plus flags and enums, and one Cost_ column per resource in the Resource Catalog, such as Cost_Minerals. The cost columns edit Resource Cost, which covers an order’s cost, a unit’s training cost and a building’s cost alike, since all of them are ability costs.

Setting a cost cell to 0 removes that resource from the ability’s cost.

Soldiers should be tougher and cost more. Start from the demo’s numbers: health 100, 150 Minerals for the Barracks and 50 for a Soldier.

  1. Create BalanceInfantry with Included Roots SU_Soldier, Tracked Components the Soldier’s health and Sein Movement Data. Gather.
  2. In DT_BalanceInfantry, find the SU_Soldier row. Change SC_HealthData_MaxHealth and SC_HealthData_Health from 100 to 120, and MovementPayload_Speed from 350 to 340.
  3. Back in the asset, click Push Table → Source, confirm, and save the Soldier Blueprint. Check Sync reports every cell in sync.
  4. Create BalanceAbilities with Ability Roots SA_Produce, Gather, and change the Cost_Minerals of SA_Produce_Soldier from 50 to 60. Push, and save.

Play. A Soldier now has 120 health, walks slightly slower and costs 60 Minerals. A match with an unmodified build cannot join yours: balance values are simulation data, and every player must have the same build.

Symptom Likely cause
Gather produces no table, and the Output Log says nothing matched No Included Roots or Ability Roots, or exclusions removed them all. Check with Preview Matched Targets.
Gather produces no table, and the Output Log says no columns The tracked components expose no editable deterministic fields. Check Tracked Components.
A column is missing Only fields you can edit on the component and that are deterministic become columns. Read-only fields and floats do not.
Push is cancelled, or the table is stale The matched classes changed since the last Gather. Gather → Table again before you Push.
Check Sync says the structure drifted A class or a tracked field was added or removed. Gather again.
Push stops with an inherited component error A child Blueprint inherits the component and cannot override it. Edit the parent, or give the child its own component.
A cell does nothing on Push It belongs to a unit without that component, or the value is unchanged
The Soldier shows the old value in play The Blueprint was not saved after the Push
Edits I made in the table vanished A second Gather rebuilt the table from the Blueprints. Push before you Gather again.
A warning says the Output Directory is invalid Use a Content folder such as /Game/Balance