Beyond All Random

Tweakdefs builder for Beyond All Reason
Based on AMBO & MGGW's Random Rarities mod
... Changelog

How it works

This mod randomizes every unit in the game with a rarity tier (Common through Beyond All Reason). Higher rarity units get exponentially stronger stats — more HP, damage, range, speed — but also cost more to build. The system has several layers:

Combat Traits

Each combat archetype has its own pool of traits. When a unit qualifies, one trait is randomly selected from its archetype's pool.

TraitArchetypesEffect
PhantomGlass Cannon, Sniper, WatchtowerCloaking while stationary or slow-moving. Reduced HP.
VolatileGlass Cannon+30% damage, −40% HP. Extreme glass cannon.
OverchargedGlass Cannon+20% faster reload, +50% energy per shot.
JuggernautTank, Fortress+60% HP, −30% speed, −25% turn rate (Tank only).
RegeneratorTank3× idle auto-heal.
FortifiedTank+30% HP, +20% slower reload.
MarksmanSniper, Watchtower+30% range, +30% better accuracy, −30% AoE.
PiercingSniper+20% damage, −50% AoE. Single-target focus.
SwiftBrawler+40% speed, +30% acceleration, −30% HP.
BerserkerBrawler, Suppressor+20–30% damage, +30% AoE, worse accuracy.
SiegeBrawler, Suppressor+40% AoE, +15% damage, −15% speed (Brawler) or worse accuracy (Suppressor).
ShieldedFortress+40% shield power, +20% shield radius.
SirenFortress, SuppressorExtreme knockback on hit — sends enemies flying. +15% AoE, −30% damage.

Building Traits

Passive buildings get category-specific traits. Buildings use 3 archetypes: Efficient (cheap, moderate output), Fortified (tanky), Overclocked (fragile, high output, high upkeep).

TraitCategoryEffect
Deep BoreMetal Extractor+50% extraction, +30% build time.
Volatile VeinMetal Extractor+30% extraction, explodes on death.
MetamorphicMetal Extractor, EnergyAuto-evolves into T2 version after 5 minutes.
SurgeEnergy+60% energy output, explodes on death.
Efficient CoreEnergy−30% cost, +20% energy output.
Gale ForceWind/Tidal+80% output, −30% HP. Fragile but productive.
AnchoredWind/Tidal+50% HP, +20% output, −20% cost. Sturdy and cheap.
Refined ProcessConverter+30% efficiency, +20% capacity.
Bulk ConversionConverter2× capacity, −10% efficiency.
All-SeeingRadar2× radar range, 2× LOS.
ShroudRadarGains radar jamming at half radar range.
ResilientRadar, Sonar3× HP, 70% EMP resistance.
Deep ScanSonar2× sonar range, +50% LOS.
BlackoutJammer+80% jam range, +40% energy upkeep.
Stealth FieldJammer+30% jam range, +50% HP, −10% upkeep.
Rush OrderFactory+40% build speed, +50% energy upkeep.
Long ArmFactory+80% build distance, +30% LOS.
BunkerFactory2.5× HP, +50% LOS.
VaultStorage3× capacity, +50% HP.
Volatile ReserveStorage2× capacity, explodes on death.
PrecisionNano Turret+80% build range, +20% build speed.
FrenzyNano Turret2× build speed, −40% HP.
Fortified BuilderNano Turret2× HP, +30% range, −10% speed.

Trait Tree

Rarity 5+ Unit
  • Combat Unit
    • Glass Cannon HP 0.88 · Dmg 1.12 · Rld 0.91
      • Phantom cloak, −15% HP
      • Volatile +30% dmg, −40% HP
      • Overcharged −20% reload, +50% energy/shot
    • Tank HP 1.22 · Dmg 1.01 · Rld 0.97
      • Juggernaut +60% HP, −30% spd
      • Regenerator 3× autoheal
      • Fortified +30% HP, +20% reload
    • Sniper HP 1.03 · Rng 1.14 · Acc 0.91
      • Phantom cloak, −10% HP
      • Marksman +30% rng, +30% acc, −30% AoE
      • Piercing +20% dmg, −50% AoE
    • Brawler Spd 1.10 · AoE 1.10 · Rld 0.88
      • Swift +40% spd, −30% HP
      • Berserker +20% dmg, +30% AoE
      • Siege +40% AoE, +15% dmg, −15% spd
    • Fortress HP 1.20 · Dmg 1.08
      • Juggernaut +60% HP
      • Shielded +40% shield, +20% radius
      • Siren knockback, +15% AoE
    • Watchtower HP 1.03 · Rng 1.14 · Acc 0.91
      • Phantom cloak, −10% HP
      • Marksman +30% rng, +30% acc
    • Suppressor AoE 1.12 · Rld 0.88
      • Siege +40% AoE, +15% dmg
      • Berserker +30% dmg, +30% AoE
      • Siren knockback, +15% AoE
  • Passive Building
    • Efficient HP 0.9 · Cost 0.8 · Output 1.15
    • Fortified HP 1.5 · Cost 1.1 · Output 1.0
    • Overclocked HP 0.8 · Output 1.4 · Upkeep 1.3
    • Metal Extractor
      • Deep Bore +50% extraction
      • Volatile Vein +30% extraction, death AoE
      • Metamorphic evolves to T2
    • Energy
      • Surge +60% output, death AoE
      • Efficient Core −30% cost, +20% output
      • Metamorphic evolves to next tier
    • Wind / Tidal
      • Gale Force +80% output, −30% HP
      • Anchored +50% HP, +20% output
    • Converter
      • Refined Process +30% eff, +20% cap
      • Bulk Conversion 2× cap, −10% eff
    • Radar
      • All-Seeing 2× radar + LOS
      • Shroud gains jamming
      • Resilient 3× HP, EMP resist
    • Sonar
      • Deep Scan 2× sonar
      • Resilient 3× HP, EMP resist
    • Jammer
      • Blackout +80% jam range
      • Stealth Field +30% jam, tanky
    • Factory
      • Rush Order +40% build speed
      • Long Arm +80% build range
      • Bunker 2.5× HP
    • Storage
      • Vault 3× capacity, +50% HP
      • Volatile Reserve 2× cap, death AoE
    • Nano Turret
      • Precision +80% range, +20% speed
      • Frenzy 2× speed, −40% HP
      • Fortified Builder 2× HP, +30% range

How to use

  1. Configure the parameters below and click Generate.
  2. Copy the output string.
  3. In the BAR lobby, paste the rarity mod with: !bset tweakdefs <paste>
  4. The building mod goes in a second slot: !bset tweakdefs1 <paste>
  5. For faction buffs, use a third slot: !bset tweakdefs2 <paste>

Faction Buff

The faction buff is a separate tweakdefs slot that flat-boosts all units of one faction. Use it for players vs boosted AI games — give the AI faction a stat multiplier to make it a tougher opponent without changing the rarity rolls. You can also use it for asymmetric PvP where one side gets a handicap advantage. Load it in tweakdefs2 alongside the rarity mod in tweakdefs and building mod in tweakdefs1.

Renamer widget

To see rarity names on units in-game, install the renamer widget from the BAR Discord thread. Drop the widget .lua file into your data/LuaUI/Widgets/ folder and enable it in-game.

Probability to escalate to the next rarity tier on each roll. At 0.7, each unit has a 70% chance to go from Common to Uncommon, then 70% from Uncommon to Rare, and so on up to 28 tiers. Higher values mean more legendary units but also wilder imbalance.
Chance that a combat unit becomes cursed instead of getting a normal rarity roll. Cursed units have reduced HP, damage, range, and speed — but cost significantly less metal and energy. Set to 0 to disable cursed units entirely.
Chance that a high-rarity unit with an archetype rolls a special trait on top (e.g. Phantom gives cloaking, Juggernaut gives massive HP). Only applies to units that meet the Min Trait Rarity threshold and already have an archetype.
The minimum rarity floor for guaranteed factory picks. Each factory randomly picks one combat unit and forces it to at least this rarity level. At 7 (Mythical), every player is guaranteed at least one strong unit per factory. Set higher for crazier games.
Minimum rarity level a unit must reach before it can roll a trait. At 5 (Exotic), any unit with an archetype can get traits. Raise it to keep traits rare and impactful.
Set a rarity floor and ceiling per faction. Units belonging to a faction will have their rarity clamped to this range. Use this to make one faction's units consistently stronger (e.g. set Legion floor to 10 for a tough AI opponent). Leave at 0–28 for no override.
Armada
Cortex
Legion
Choose which faction's units receive the buff. This applies a flat stat multiplier to all units belonging to the selected faction — useful for balancing asymmetric games or just having fun.
Flat multiplier applied to HP, speed, damage, range, AoE, and shields for all units of the selected faction. Reload time is divided by this value (faster reload). At 1.5x, units are 50% stronger across the board.
+50%

Generate a !welcome-message command for your BAR lobby. It tells players about the mod and links to the renamer widget. Paste the output into the lobby chat to set the welcome message for all joining players.

Units — paste with: !bset tweakdefs <paste> 0 / 16,384 chars
Buildings — paste with: !bset tweakdefs1 <paste> 0 / 16,384 chars
0 / 16,384 chars