• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:38
CEST 18:38
KST 01:38
  • 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
[ASL21] Ro24 Preview Pt2: News Flash8[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy15ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research7Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool49Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
Team Liquid Map Contest #22 - Presented by Monster Energy Aligulac acquired by REPLAYMAN.com/Stego Research Weekly Cups (March 23-29): herO takes triple What mix of new & old maps do you want in the next ladder pool? (SC2) herO wins SC2 All-Star Invitational
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 519 Inner Power The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat
Brood War
General
ASL21 General Discussion A cwal.gg Extension - Easily keep track of anyone Behind the scenes footage of ASL21 Group E BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL21] Ro24 Group F [ASL21] Ro24 Group E 🌍 Weekly Foreign Showmatches Azhi's Colosseum - Foreign KCM
Strategy
Fighting Spirit mining rates What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Starcraft Tabletop Miniature Game General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2003 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
WardiTV Team League
12:45
Group B
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 642
ProTech127
StarCraft: Brood War
Britney 32165
Calm 5377
Sea 1316
Bisu 1165
Mini 815
EffOrt 787
Soma 248
firebathero 193
ggaemo 189
Rush 135
[ Show more ]
hero 93
HiyA 79
Hyun 38
Shinee 28
Aegong 25
Rock 16
IntoTheRainbow 12
soO 11
Sexy 11
Dota 2
Gorgc5408
canceldota126
Counter-Strike
pashabiceps2078
fl0m1342
ceh9571
kRYSTAL_35
Heroes of the Storm
XaKoH 137
Other Games
singsing1816
FrodaN1643
B2W.Neo789
Beastyqt594
DeMusliM232
KnowMe140
QueenE66
Trikslyr29
C9.Mang027
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis4106
• TFBlade1119
Other Games
• Shiphtur149
Upcoming Events
OSC
7h 22m
RSL Revival
17h 22m
TriGGeR vs Cure
ByuN vs Rogue
Replay Cast
1d 7h
RSL Revival
1d 17h
Maru vs MaxPax
BSL
2 days
RSL Revival
2 days
uThermal 2v2 Circuit
2 days
BSL
3 days
Afreeca Starleague
3 days
Replay Cast
4 days
[ Show More ]
Sparkling Tuna Cup
4 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-03-31
WardiTV Winter 2026
NationLESS Cup

Ongoing

BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
CSL Season 20: Qualifier 2
RSL Revival: Season 4
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

Escore Tournament S2: W1
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
StarCraft2 Community Team League 2026 Spring
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
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 © 2026 TLnet. All Rights Reserved.