vdr.one CnCTA AutoSIM

Browser extension · Command & Conquer: Tiberium Alliances

CnCTA Xenn0X AutoSIM v1

A script pack for Tiberium Alliances with the TABS Auto Optimizer: it runs simulations one after another and puts the best attack formation on the board.

  • v1.0.0
  • Chrome · Edge · Brave
  • 18 scripts
  • No tracking

2.9 MB · free · for non-commercial use · how to install

TABS Auto Optimizer

Example run · illustrative values

0.3.1
Priority
CY (else DF) + low repair
Budget
20 sims ~1 min
Try disabling unit groups
off
Smart search
on
0 / 20
#MoveCYDFArmyRepair

Press Start to play an example run.

The demo runs faster than the real thing: the game allows about one simulation every 3 seconds.

Watch it work

A demo of the Optimizer in the real game.

Prefer YouTube itself? Watch it there.

In the game

Real screenshots. The Optimizer lives next to the TABS buttons, so there is nothing new to learn.

The TABS button box in the game, with a new Optimize button at the bottom
1. The Optimize button sits at the bottom of the TABS button box.
The TABS Auto Optimizer window with the options Priority, Budget, Try disabling unit groups, Smart search and a Start button
2. Pick a priority and a budget, then press Start. Shown with the defaults: priority CY, 20 simulations (about a minute), unit groups off, smart search on.

What the Optimizer tries

It starts from the formation you set up, then tries neighbouring formations with the game's own simulation and keeps the best one. CY is the Construction Yard, DF the Defense Facility.

1Matchup placement

Reads the defenders from a first simulation, then puts each unit in the lane where its damage suits the defense and it takes the least fire. Uses the game's own armor classes, damage per armor class, unit levels and terrain.

2Focus strike

Vertigos on and beside the target lane, a cloaked Commando down it in a later wave. Also tried with the Commando carried in a Reckoner, and aimed at the Defense Facility's lane.

3Lane shift

Moves single units, air first, into the lane of the target building, and puts the Commando in the latest wave of that lane and the lanes beside it.

4Leave out

Once the CY falls, the units that cost the most repair time stay at home, as long as the CY still falls without them.

5Air strike

As soon as the CY or the DF is down (on a second attack: right away), only air units go down the CY lane, one per wave, weakest first. Often a kill with no repair.

6Smart stop

Stops early once the target is destroyed and nothing better turns up. Formations that were already simulated cost nothing, and the TABS statistics window keeps working.

Priorities

Use the TABS presets (CY, DF, Deff, CC, CY*) or the extra one:

CY (else DF) + low repair: destroy the CY. If no formation can, destroy the Defense Facility, leave as little defense standing as possible and push on the CY for your next attack. Then the lowest repair time wins, scored the game's way: the longest of the infantry, vehicle and aircraft repair.

How it works

  1. Set up your attack against a base, as you always do.
  2. Press “Optimize”, the new button under the TABS buttons.
  3. Pick a priority and a budget, then press Start. Each simulation takes about 3 seconds, the game's own limit. You can also let it try switching off whole unit groups, and switch smart search off (it is on by default).
  4. Take the result. The best formation found is placed on the board, or yours is put back if nothing was better. You press Attack yourself.

Good to know. It never simulates faster than the game itself allows. It waits for the simulator's own lock before every run, so the budget is also a time budget. Don't move units or leave the screen while it runs.

From the author's testing

Single bases in the real game, not promises. Results differ per base and formation.

sim 7The CY kill was found at simulation 7 with a focus strike on a real Outpost, which no number of single moves had reached.
8 vs ~35Simulations to kill the CY on a real Outpost after the new move order, against the order before.
21:12 → 6:22Repair time after leaving units at home, with the target still destroyed.
44% vs 35%Army health left after 16 simulations, with 11 units lost against 14 for the player's own formation.

Checked against real raid reports: army %, enemy % and repair time matched the simulation to the second.

What is in the pack

18 scripts, all switched on by default and each one switchable in the options. Based on the CnCTA SoO Script Pack by netquik; most scripts are other people's work and keep their authors.

The options page of the extension: all 18 scripts in groups, each with a checkbox
The options page: every script has its own checkbox, grouped as wrapper, simulator, info helpers, tools, GUI enhancer and mail and message. Pick what you want and press Save.

Added in this pack

  • TABS Auto Optimizer0.3.1 · Xenn0XNew

    Add-on for Battle Simulator V2: searches for a better attack formation by running a queue of simulations.

  • SoO Compatibility Shim0.1.0 · Xenn0XNew

    Safer lookups of the game's internal names after patches. SOO_SHIM.report() in the console shows which lookups work.

Adjusted

  • Tiberium Alliances Battle Simulator V223.05.31 · Eistee, TheStriker, VisiG, Lobotommi, XDaastChanged

    Game-internal lookups now go through the compatibility shim.

  • TA Autorepair1.0.4 · petuiChanged

    Stops with a clear console message instead of breaking when a patch renames something it needs.

  • infernal wrapper1.52 · NetquiK, after infernal_me, KRS_L, krisanChanged

    Two independent lookups; it reports itself as not installed if either one fails.

Unchanged from the SoO pack

  • CnCTAOpt Link1.0.7.7 · zbluebugz
  • Chat Helper Enhanced3.2.3 · Yiannis mod
  • Formation Saver2.3.3 · Panavia, KRS_L, DebitoSphere
  • MaelstromTools Dev (Mod v1.7 for MCV)0.1.5.5 · Maelstrom, HuffyLuf, KRS_L, Krisan, DLwarez, NetquiK
  • Maelstrom ADDON Basescanner AIO1.9.5 · BlinDManX, chertosha, NetquiK
  • MovableMenuOverlay1.0.9 · NetquiK
  • PvP/PvE Ranking, POI Holding and split base kill score1.7.4.4 · ViolentVin, KRS_L, YiannisS
  • Real POI Bonus1.0.4 · petui, AlkalyneD4, NetquiK
  • The Movement1.0.8.3 · petui
  • Tunnel Info2.2.1.4 · KRS_L
  • WarChiefs Sector HUD22.05.04 · Eistee
  • WarChiefs Upgrade Base/Defense/Army22.10.08 · Eistee
  • Wavy0.6.2 · petui

Privacy

  • The statistics function of the original pack is removed: nothing is sent to a statistics site.
  • The donation buttons and the e-mail and support links are removed as well.
  • The extension only asks for local storage and access to the game's own site (*.alliances.commandandconquer.com).
  • No analytics or tracking code. The one outbound action is the CnCTAOpt button, which opens an external base planner when you click it.

Tested

The search logic of the Optimizer does not touch the game directly, so it is tested outside the game with recorded battle data from four Outposts. There are automated tests for the Optimizer, the compatibility shim, the wrapper, the glue code and Auto Repair.

Install

An unpacked extension for Chrome, Edge, Brave and other Chromium browsers.

File: CnCTA-Xenn0X-AutoSIM-v1.zip (2.9 MB). SHA-256: 9ad0872b98d95e3a5aeb62b1833cd5164fdfc21f7744a738b10af730aa2d1896

  1. Unzip the archive somewhere permanent, for example in Documents. Chrome loads the extension from that folder every time it starts.
  2. Remove or switch off older packs (“CnCTA SoO SCRIPT PACK” and its “(updated)” version), or every script loads twice.
  3. Open chrome://extensions (Edge: edge://extensions) and turn on Developer mode.
  4. Click Load unpacked and choose the folder that contains manifest.json. Make sure the extension is switched on.
  5. Switch scripts on or off in the options: click the extension's icon, then Options. Reload the game tab.

Check that it works

Open an attack on a base: under the TABS button box there is an Optimize button. In the console (F12) run:

SOO_SHIM.report()

On the current game version every lookup should say ok, none “via fallback” or “failed”. To update later: replace the files in the folder and click the reload arrow on the extension.

Credits and licence

Based on the CnCTA SoO Script Pack by netquik. The pack's options page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0. Every bundled script keeps its own author and licence, for example GPL v3 for several of petui's scripts and CC BY-NC-ND 3.0 for the Basescanner AIO. The TABS Auto Optimizer and the compatibility shim are by Xenn0X.

Fan-made and unofficial. Not affiliated with or endorsed by Electronic Arts. Command & Conquer and Tiberium Alliances are trademarks of Electronic Arts Inc. The screenshots show the game's own interface and artwork, which belong to Electronic Arts.