• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:39
CEST 21:39
KST 04:39
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team TLMC #5: Winners Announced!1[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5TL.net Map Contest #21 - Finalists4Team TLMC #5: Vote to Decide Ladder Maps!0
Community News
5.0.15 Patch Balance Hotfix (2025-10-8)48Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition245.0.15 Balance Patch Notes (Live version)119$2,500 WardiTV TL Map Contest Tournament 154
StarCraft 2
General
5.0.15 Patch Balance Hotfix (2025-10-8) 5.0.15 Balance Patch Notes (Live version) The New Patch Killed Mech! Team TLMC #5: Winners Announced! Classic Games #3: Rogue vs Serral at BlizzCon
Tourneys
RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament $2,500 WardiTV TL Map Contest Tournament 15 Tenacious Turtle Tussle
Strategy
Custom Maps
External Content
Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More Mutation # 491 Night Drive
Brood War
General
Whose hotkey signature is this? BW General Discussion ASL20 General Discussion Question regarding recent ASL Bisu vs Larva game [BSL21] - How to Qualify to Each League ?
Tourneys
[Megathread] Daily Proleagues [ASL20] Ro8 Day 4 Small VOD Thread 2.0 [ASL20] Ro8 Day 3
Strategy
Current Meta TvZ Theorycraft - Improving on State of the Art Proposed Glossary of Strategic Uncertainty 9 hatch vs 10 hatch vs 12 hatch
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread UK Politics Mega-thread The Games Industry And ATVI
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts The Automated Ban List BarCraft in Tokyo Japan for ASL Season5 Final
Blogs
From Tilt to Ragequit:The Ps…
TrAiDoS
What your "aura" says about…
Peanutsc
Try to reverse getting fired …
Garnet
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1745 users

[G] [UMS] Squadron TD - Optimal Worker Build

Forum Index > SC2 Maps & Custom Games
Post a Reply
deo1
Profile Joined April 2010
United States199 Posts
Last Edited: 2011-08-23 02:14:40
August 23 2011 02:09 GMT
#1
Intro
Squadron Tower Defense is an interesting twist on the TD format that pits two teams of 4 players against each other. Each player must attempt to balance their own economy and defense such that they receive the maximum income without leaking (other builds employ teamwork to favor econ or defense, but that is irrelevant for this topic).

To improve one's economy, the player can either build additional SCVs or upgrade the movement speed of the SCVs.

In this guide, I demonstrate the optimal strategy for scheduling the addition and upgrade of SCVs.

Fundamentals
A player starts with 1 SCV and can add an additional 30 SCVs, at a cost of 50 minerals per SCV.

A player can also upgrade the speed of all mining SCVs by 40% up to 5 times. The cost of this upgrade increases by 60 minerals each time, starting at 60 minerals for the first upgrade. Hence:

- Upgrade 1: 60 minerals
- Upgrade 2: 120 minerals
- Upgrade 3: 180 minerals
- Upgrade 4: 240 minerals
- Upgrade 5: 300 minerals

The primary question raised: in what order should one choose to upgrade or build additional SCVs in order to optimize income?

Analysis
+ Show Spoiler +
For my analysis, I rate the value of adding and upgrading as the ratio of that action's benefit to cost, where the benefit is defined as the rate of increase in mining, and the cost is defined as the amount of minerals required for the action.

benefit
benefit of upgrading speed = 0.4
- The speed increase is always 40%, regardless of the number of SCVs currently mining.
benefit of adding SCV = 1/(number of total SCVs)
- For example, adding an SCV when only one is mining improves mining rate by 100%. Adding an SCV when two are already mining improves mining rate by 50%, and so on.

cost
cost of upgrading speed = [60,120,180,240,300]
- Depends on the upgrade step.
cost of additional SCV = 50
- An additional SCV is always 50 minerals.

value = benefit/cost
value of upgrading speed = 0.4/[60,120,180,240,300]
value of additional SCV = ((number of total SCVs)^-1)/50

I evaluated the value of each action in a series of decision steps, choosing the action with the highest value at each step. I performed this evaluation until all SCVs were mining at the maximum speed.


Results
+ Show Spoiler +

Optimal order of adding/upgrading:
Step: 0 - Add SCV
Step: 1 - Add SCV
Step: 2 - Add SCV
Step: 3 - Upgrade SCV
Step: 4 - Add SCV
Step: 5 - Add SCV
Step: 6 - Add SCV
Step: 7 - Upgrade SCV
Step: 8 - Add SCV
Step: 9 - Add SCV
Step: 10 - Add SCV
Step: 11 - Upgrade SCV
Step: 12 - Add SCV
Step: 13 - Add SCV
Step: 14 - Add SCV
Step: 15 - Upgrade SCV
Step: 16 - Add SCV
Step: 17 - Add SCV
Step: 18 - Add SCV
Step: 19 - Add SCV
Step: 20 - Add SCV
Step: 21 - Add SCV
Step: 22 - Add SCV
Step: 23 - Add SCV
Step: 24 - Add SCV
Step: 25 - Add SCV
Step: 26 - Add SCV
Step: 27 - Add SCV
Step: 28 - Add SCV
Step: 29 - Add SCV
Step: 30 - Add SCV
Step: 31 - Add SCV
Step: 32 - Add SCV
Step: 33 - Add SCV

More detailed output:
+ Show Spoiler +
Step: 0 - Add SCV
Total SCVs: 2
Speed: 1.00
Speed Cost: 0

Step: 1 - Add SCV
Total SCVs: 3
Speed: 1.00
Speed Cost: 0

Step: 2 - Add SCV
Total SCVs: 4
Speed: 1.00
Speed Cost: 0

Step: 3 - Upgrade SCV
Total SCVs: 4
Speed: 1.40
Speed Cost: 0

Step: 4 - Add SCV
Total SCVs: 5
Speed: 1.40
Speed Cost: 60

Step: 5 - Add SCV
Total SCVs: 6
Speed: 1.40
Speed Cost: 60

Step: 6 - Add SCV
Total SCVs: 7
Speed: 1.40
Speed Cost: 60

Step: 7 - Upgrade SCV
Total SCVs: 7
Speed: 1.96
Speed Cost: 60

Step: 8 - Add SCV
Total SCVs: 8
Speed: 1.96
Speed Cost: 120

Step: 9 - Add SCV
Total SCVs: 9
Speed: 1.96
Speed Cost: 120

Step: 10 - Add SCV
Total SCVs: 10
Speed: 1.96
Speed Cost: 120

Step: 11 - Upgrade SCV
Total SCVs: 10
Speed: 2.74
Speed Cost: 120

Step: 12 - Add SCV
Total SCVs: 11
Speed: 2.74
Speed Cost: 180

Step: 13 - Add SCV
Total SCVs: 12
Speed: 2.74
Speed Cost: 180

Step: 14 - Add SCV
Total SCVs: 13
Speed: 2.74
Speed Cost: 180

Step: 15 - Upgrade SCV
Total SCVs: 13
Speed: 3.84
Speed Cost: 180

Step: 16 - Add SCV
Total SCVs: 14
Speed: 3.84
Speed Cost: 240

Step: 17 - Add SCV
Total SCVs: 15
Speed: 3.84
Speed Cost: 240

Step: 18 - Add SCV
Total SCVs: 16
Speed: 3.84
Speed Cost: 240

Step: 19 - Add SCV
Total SCVs: 17
Speed: 3.84
Speed Cost: 240

Step: 20 - Add SCV
Total SCVs: 18
Speed: 3.84
Speed Cost: 240

Step: 21 - Add SCV
Total SCVs: 19
Speed: 3.84
Speed Cost: 240

Step: 22 - Add SCV
Total SCVs: 20
Speed: 3.84
Speed Cost: 240

Step: 23 - Add SCV
Total SCVs: 21
Speed: 3.84
Speed Cost: 240

Step: 24 - Add SCV
Total SCVs: 22
Speed: 3.84
Speed Cost: 240

Step: 25 - Add SCV
Total SCVs: 23
Speed: 3.84
Speed Cost: 240

Step: 26 - Add SCV
Total SCVs: 24
Speed: 3.84
Speed Cost: 240

Step: 27 - Add SCV
Total SCVs: 25
Speed: 3.84
Speed Cost: 240

Step: 28 - Add SCV
Total SCVs: 26
Speed: 3.84
Speed Cost: 240

Step: 29 - Add SCV
Total SCVs: 27
Speed: 3.84
Speed Cost: 240

Step: 30 - Add SCV
Total SCVs: 28
Speed: 3.84
Speed Cost: 240

Step: 31 - Add SCV
Total SCVs: 29
Speed: 3.84
Speed Cost: 240

Step: 32 - Add SCV
Total SCVs: 30
Speed: 3.84
Speed Cost: 240

Step: 33 - Add SCV
Total SCVs: 31
Speed: 3.84
Speed Cost: 240


Graph of values for adding SCV vs upgrading speed at each step
[image loading]


Assumptions/Considerations
+ Show Spoiler +
- If the value of adding an SCV equals the value of upgrading SCVs, then I gave preference to adding an SCV. This is because the cost of adding an SCV is always less than upgrading, therefore there is a greater chance that the player will have enough money for the upgrade at a given wave in the game.

- This build order assumes that the player will always have enough money for the optimal upgrade when it comes time. This may not always be true, so the player must evaluate, for example, if it would be better to skip a 240 mineral upgrade in favor of adding 1 or 2 SCVs and waiting till the next round to upgrade. The additional income may be better than following the order precisely, but these variables are too difficult to model, e.g. round times completely vary depending on how quickly both teams kill waves.


Matlab Code
+ Show Spoiler +
[image loading]


How to find this map (tested on NA)
- Starcraft 2 -> Multiplayer -> Join A Game -> By Category -> Tower Defense (usually top hit)
- Or search for "Squadron Tower Defense"
http://www.squadtd.com/ by tsjnsn
Poooooor Protoss.
ssartor
Profile Joined February 2011
United States129 Posts
August 23 2011 05:02 GMT
#2
I have always been curious what the most efficient build was, now if only you could have program running along side of sc that would take into account the part you said was to complicated to model.
"If you don't know, the thing to do is not to get scared, but to learn." — Ayn Rand (Atlas Shrugged)
T.O.P. *
Profile Blog Joined January 2009
Hong Kong4685 Posts
August 25 2011 00:52 GMT
#3
Fancy. Although I was able to come to the exact conclusions by doing a few calculations using the calculator.
Oracle comes in, Scvs go down, never a miscommunication.
DARKHYDRA
Profile Joined September 2006
United States303 Posts
August 25 2011 02:03 GMT
#4
I believe it was posted in squadtd's website.
A good guide line is scv upgrade at 3, 9, 17, 27 and 31 scv's.
T.O.P. *
Profile Blog Joined January 2009
Hong Kong4685 Posts
August 25 2011 11:27 GMT
#5
On August 25 2011 11:03 DARKHYDRA wrote:
I believe it was posted in squadtd's website.
A good guide line is scv upgrade at 3, 9, 17, 27 and 31 scv's.

Did you even read the op?
Oracle comes in, Scvs go down, never a miscommunication.
phaib
Profile Joined September 2007
Germany156 Posts
August 25 2011 12:29 GMT
#6
On August 25 2011 20:27 T.O.P. wrote:
Show nested quote +
On August 25 2011 11:03 DARKHYDRA wrote:
I believe it was posted in squadtd's website.
A good guide line is scv upgrade at 3, 9, 17, 27 and 31 scv's.

Did you even read the op?


I think the op is wrong. When you upgrade two times your SCVs you will get 80% faster mining, but the op calculated that it really gets 40% faster at the second time. That would be 96% at the second upgrade. I haven't checked this by myself, but that is what the guide on the squadtd's website says. With this in mind you get the 3,9,17,27,31 values.
DARKHYDRA
Profile Joined September 2006
United States303 Posts
August 25 2011 19:29 GMT
#7
On August 25 2011 20:27 T.O.P. wrote:
Show nested quote +
On August 25 2011 11:03 DARKHYDRA wrote:
I believe it was posted in squadtd's website.
A good guide line is scv upgrade at 3, 9, 17, 27 and 31 scv's.

Did you even read the op?


Lil bit, why? What's up?
T.O.P. *
Profile Blog Joined January 2009
Hong Kong4685 Posts
August 25 2011 20:28 GMT
#8
On August 25 2011 21:29 phaib wrote:
Show nested quote +
On August 25 2011 20:27 T.O.P. wrote:
On August 25 2011 11:03 DARKHYDRA wrote:
I believe it was posted in squadtd's website.
A good guide line is scv upgrade at 3, 9, 17, 27 and 31 scv's.

Did you even read the op?


I think the op is wrong. When you upgrade two times your SCVs you will get 80% faster mining, but the op calculated that it really gets 40% faster at the second time. That would be 96% at the second upgrade. I haven't checked this by myself, but that is what the guide on the squadtd's website says. With this in mind you get the 3,9,17,27,31 values.

That's funny. They shouldn't have wrote that the upgrade increases scv speed by 40% then. Cause that's deceiving.
Oracle comes in, Scvs go down, never a miscommunication.
phaib
Profile Joined September 2007
Germany156 Posts
August 25 2011 21:34 GMT
#9
There is still the possibility that the guide is wrong, but I guess no one will waste his time to find out what's really correct :-)
Please log in or register to reply.
Live Events Refresh
OSC
16:00
Mid Season Playoffs
sOs vs MojaLIVE!
SteadfastSC216
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 785
SteadfastSC 216
MindelVK 48
BRAT_OK 34
Railgan 15
StarCraft: Brood War
Britney 21569
Sea 1679
EffOrt 674
Mini 556
hero 300
Larva 212
firebathero 206
PianO 44
yabsab 28
Movie 24
[ Show more ]
scan(afreeca) 22
sorry 16
soO 14
Sacsri 10
HiyA 6
Dota 2
qojqva3277
PGG 169
Counter-Strike
ScreaM1767
pashabiceps666
Stewie2K420
flusha35
Heroes of the Storm
Liquid`Hasu529
Other Games
FrodaN2437
Grubby2111
UpATreeSC1041
fl0m747
Beastyqt610
KnowMe248
C9.Mang0151
mouzStarbuck126
Dewaltoss36
rGuardiaN34
feardragon14
fpsfer 1
Organizations
Other Games
BasetradeTV73
StarCraft 2
angryscii 16
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Reevou 3
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis7476
• TFBlade945
Other Games
• imaqtpie1454
• Shiphtur345
• WagamamaTV311
Upcoming Events
Map Test Tournament
15h 21m
OSC
17h 21m
Korean StarCraft League
1d 7h
CranKy Ducklings
1d 14h
Map Test Tournament
1d 15h
OSC
1d 19h
[BSL 2025] Weekly
1d 22h
Safe House 2
1d 22h
Sparkling Tuna Cup
2 days
Map Test Tournament
2 days
[ Show More ]
OSC
2 days
IPSL
2 days
Bonyth vs Art_Of_Turtle
Razz vs rasowy
The PondCast
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
Maestros of the Game
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
WardiTV TLMC #15
EC S1
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.