• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:45
CEST 10:45
KST 17:45
  • 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
Code S Season 2 (2026) - RO8 Preview4[ASL21] Finals Preview: Two Legacies21Code S Season 2 (2026) - RO12 Preview2herO wins GSL Code S Season 1 (2026)5Code S Season 1 (2026) - RO4 & Finals Preview5
Community News
Weekly Cups (May 18-25): MaxPax wins doubles0Crank Gathers Season 4: BW vs SC2 Team League4Weekly Cups (May 11-17): Classic wins double0Code S Season 1 (2026) - RO8 Results2Weekly Cups (May 4-10): Clem, MaxPax, herO win1
StarCraft 2
General
Code S Season 2 (2026) - RO8 Preview Weekly Cups (May 18-25): MaxPax wins doubles herO wins GSL Code S Season 1 (2026) Code S Season 2 (2026) - RO12 Preview Weekly Cups (May 11-17): Classic wins double
Tourneys
GSL Code S Season 2 (2026) Crank Gathers Season 4: BW vs SC2 Team League GSL Code S Season 1 (2026) Sparkling Tuna Cup - Weekly Open Tournament Maestros of The Game 2 announcement and schedule !
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 527 Hell Train The PondCast: SC2 News & Results Mutation # 526 Rubber and Glue Mutation # 525 Wheel of Misfortune
Brood War
General
¿KUWAIT +27 632348369 Abortion pills for sale in Pros React To: ASL S21 Finals BW General Discussion Very long shot - StarCraft x A7X video Pros React to: TvT Masterclass in FlaSh vs Light
Tourneys
[ASL21] Grand Finals [Megathread] Daily Proleagues Escore Tournament StarCraft Season 2 Small VOD Thread 2.0
Strategy
Any training maps people recommend? Muta micro map competition [G] Hydra ZvZ: An Introduction Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Trading/Investing Thread Dating: How's your luck? European Politico-economics QA Mega-thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
Facing Challenges in Mobile App Development streaming software
TL Community
The Automated Ban List
Blogs
Customization Drives Loyalty…
TrAiDoS
Why RTS gamers make better f…
gosubay
ramps on octagon
StaticNine
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2066 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
Next event in 45m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 247
Hyun 84
actioN 80
Hm[arnc] 36
Bale 19
NotJumperer 16
Dota 2
Gorgc2441
NeuroSwarm106
XaKoH 32
canceldota20
League of Legends
JimRising 516
Reynor24
Counter-Strike
olofmeister1007
byalli680
m0e_tv661
shoxiejesuss559
Other Games
WinterStarcraft711
ceh9551
Mew2King169
Pyrionflax103
RuFF_SC241
Organizations
Other Games
gamesdonequick611
Counter-Strike
PGL423
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• LUISG 18
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 7
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis547
Upcoming Events
GSL
45m
herO vs Classic
Cure vs Clem
uThermal 2v2 Circuit
6h 15m
Replay Cast
15h 15m
GSL
1d
Maru vs SHIN
Zoun vs Rogue
WardiTV Spring Champion…
1d 3h
SKillous vs Strange
Lambo vs Strange
Ryung vs Strange
Lambo vs Ryung
Ryung vs SKillous
Lambo vs SKillous
OSC
1d 10h
Replay Cast
1d 15h
Maestros of the Game
2 days
Replay Cast
2 days
RSL Revival
2 days
Lambo vs SHIN
Solar vs Rogue
herO vs Clem
[ Show More ]
Maestros of the Game
3 days
IPSL
3 days
ZZZero vs WorsT
Julia vs eOnzErG
Replay Cast
3 days
RSL Revival
3 days
Maestros of the Game
4 days
IPSL
4 days
Dragon vs Artosis
dxtr13 vs Hawk
BSL
4 days
Wardi Open
5 days
Monday Night Weeklies
5 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
WardiTV Spring Champion…
6 days
Maestros of the Game
6 days
Liquipedia Results

Completed

ASL Season 21
2026 GSL S1
Heroes Pulsing #1

Ongoing

2026 KK StarCraft Pro League
BSL Season 22
IPSL Spring 2026
KCM Race Survival 2026 Season 2
KK 2v2 League Season 1
YSL S3
Acropolis #4
CSCL: Masked Kings S4
SCTL 2026 Spring
WardiTV Spring 2026
2026 GSL S2
RSL Revival: Season 5
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals

Upcoming

Escore Tournament S2: King of Kings
BSL 22 Non-Korean Championship
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
Bounty Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 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.