• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:14
CEST 12:14
KST 19:14
  • 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 RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy4Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3BGE Stara Zagora 2025: Info & Preview27
Community News
Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson."2Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey.7Code S RO8 Results + RO4 Bracket (2025 Season 2)14BGE Stara Zagora 2025 - Replay Pack2Weekly Cups (June 2-8): herO doubles down1
StarCraft 2
General
Jim claims he and Firefly were involved in match-fixing Code S RO8 Results + RO4 Bracket (2025 Season 2) Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey. Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson." Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho
Tourneys
[GSL 2025] Code S: Season 2 - Semi Finals & Finals Sparkling Tuna Cup - Weekly Open Tournament $3,500 WardiTV European League 2025 Sea Duckling Open (Global, Bronze-Diamond) SOOPer7s Showmatches 2025
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
BW General Discussion ASL20 Preliminary Maps BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games FlaSh Witnesses SCV Pull Off the Impossible vs Shu
Tourneys
[Megathread] Daily Proleagues [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET Small VOD Thread 2.0 [BSL20] ProLeague Bracket Stage - Day 4
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Beyond All Reason What do you want from future RTS games?
Dota 2
Best crypto recovery experts in the world Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread Russo-Ukrainian War Thread Vape Nation Thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 35218 users

StarCraft Map Analysis: StarGraphed

Forum Index > SC2 General
Post a Reply
1 2 3 4 Next All
Gowerly
Profile Blog Joined July 2011
United Kingdom916 Posts
Last Edited: 2012-02-07 10:45:08
February 05 2012 17:52 GMT
#1
Hi guys,

Hi, what's up?
As mentioned in the HEAT Charity Tournament thread, I have been working with TBO to create a system that can automatically capture data from specially modified maps to give post-, or in-game analysis on the match.
I have named this system StarGraphed (apparently it's not already been taken and I like the name).

What does it do?
StarGraphed uses modified maps (normal match-maps with added triggers) to output data from a game as it is played to the spectators of the game. This data is then read in and parsed by an external tool in the background and, when requested, is displayed.

What does it capture?
Currently in prototype stage, it captures army compositions at 10 second intervals as well as when any unit is killed.

What do you do with that?
StarGraphed currently uses this to create stacked graphs of army layout split up based on player race:
Terran
- Workers
- Bio
- Mech
- Air

Zerg
- Workers
- Melee
- Ranged
- Air

Protoss
- Workers
- Gateway
- Robotics
- Air

With the unit deaths, StarGraphed takes their positions and use this to create a heat map of all the action in the map.

And the result looks like...?
This:

This is all generated from the gameplay data within 20 seconds of the game finishing!

Introductory map for this: TLO vs Grubby Group Stage Game 3
[image loading]

Game 3 of TLO vs Real - (This game consisted of a wall + cannons and then TLO rushing to the top left with drones)
[image loading]

Game 2 of TLO vs Grubby (A lot of action here! 40+ minutes of units being killed):
[image loading]
Disclaimer: I know this one starts at 118/140 food. This is entirely my fault. I started recording the data too late. Thankfully not much fighting had happened at that point.

Alright, so what?
Well, further work will be done, of course. TBO believes we should be able to extend this to apply it to any replay of any game ever, which could be great. As for the reasoning behind doing it, we're looking at ways to digest the game that just happened easily before the next round starts. We're both into the analytical side of the game, so this suits us perfectly. We hope that others will be interested in what can be done with this and how it can be used in tournaments/casts.

Questions?
Go for it. Will update this thread if there are frequently asked ones.
What the hell? Why even bother?
We're hoping for a two-fold plan with this:
Short Term:
- Something to briefly talk about if the game requires it. Allows for visual representation of the game right after it is over. Especially for longer games it allows for the important points to be pointed out more easily.
- Getting a feel for something like this or tools like it. TBO has been very focused in increasing production quality with overlays or picture-in-picture tech. Something like this just adds to the list

Long Term:
Map Statistics.
With enough time we would like to set up a site for regularly updated statistics on maps played over time.
For example, some people may wonder where the fights are mainly done on ZvZs on Antiga Shipyard, or how many TvP's end up with air units by protoss. If we can get replay analysis working, all this is possible. We're excited about whether this can be done.

Can it be used by map makers to see how their maps are played out?
If you can get replays from them, then it's a possibility for the future.

Does it cause lag?
Currently, Stargraphed captures and outputs the following:
- Number of every type of unit per player (once every 5 seconds I think. Maybe even once every 2 seconds)
- Positions of every unit that has died in the last 5 seconds (output once every 5 seconds)
- Player Names/Player Races/Map information (name, size, etc) (output at the start)
- Total resources harvested per player (once every 2 or 5 seconds again)

It is ONLY output to the observers. The Players do not get any output. I spoke to some of the HEAT players and they did not notice any lag. The only time the framerate dropped for Tarson we weren't even playing one of the StarGraphed maps!

How much work is it to change the map to make this work?
As long as your map
- Supports Spectators, and
- Works normally as a multiplayer map
then you should be able to enable StarGraphed on it.
Currently there are 5 triggers and some variables that are added to the map
I enabled all of the HEAT Tournament maps in about 30 minutes. It was simply a case of copy/pasting the triggers in to the map and publishing them. The data is then output into the bank directory as some other custom maps that save data do.

What happened with Antiga?
No idea. I downloaded it in the Editor, updated it, re-uploaded it and then it was magically a single player game. Possibly due to it being a blizzard map? It'll probably be pretty trivial to fix, I'll look at modifying the MLG Antiga one and seeing if that fixes it. I just didn't have enough time to figure it out on the day.

What makes a blip on the heat map?
Any unit being killed that isn't:
- Natural expiration (hallucinations, zerg eggs, broodlings from expiring, etc), or
- Killed by your own team (unless it's by storm, siege tank splash or nukes)

Could it be modified to do live output?
If I can get the triggers that do that kind of thing into a map, then I don't see why not. That one may take a bit of time, though! Watch this space, etc.
I will reduce you to a series of numbers.
BoxedLunch
Profile Joined January 2011
United States387 Posts
February 05 2012 17:56 GMT
#2
it will never cease to amaze me the kind of information and statistics the community comes up with.

that said, what purpose does this serve?
In theory, practice and theory are the same. In practice, they are not
archonOOid
Profile Blog Joined March 2011
1983 Posts
February 05 2012 18:02 GMT
#3
amazing, simply put.
I'm Quotable (IQ)
Odoakar
Profile Joined May 2010
Croatia1835 Posts
February 05 2012 18:10 GMT
#4
On February 06 2012 02:56 BoxedLunch wrote:
it will never cease to amaze me the kind of information and statistics the community comes up with.

that said, what purpose does this serve?


I think this would be great in tournaments as a filler between games, to check the previous game and discuss some of the presented stats.
TheTurk
Profile Joined January 2011
United States732 Posts
February 05 2012 18:14 GMT
#5
Fucking awesome.
Analytical discussion by casters and such at events would be really beneficial using this.
Starcraft is a lifestyle.
Gowerly
Profile Blog Joined July 2011
United Kingdom916 Posts
February 05 2012 18:14 GMT
#6
On February 06 2012 02:56 BoxedLunch wrote:
it will never cease to amaze me the kind of information and statistics the community comes up with.

that said, what purpose does this serve?

In the short term it would be good to see it used in casted tournaments. TBO and I think it should give something to talk about with the added benefit of quantifiability. You can see in one image how the army was made up at any point in the game and where all the fights happened. Were they closer to one side?

In the long term, if we can apply it to any game ever, we could do map stats. Apply the heat map over all games played to see where the most combat happened.
Could lead to asking why the fights happen there. If there are areas of the map where there are few to no fights, especially if there's minerals, could you expand there, or is the reason there are no fights there because it is a stupid place to expand?

You could adapt it to spot proxy pylons/hatches/barracks, etc. With the data we have found it is possible to get out of the map editor, we could expand it to find out pretty much anything.
I will reduce you to a series of numbers.
Bagration
Profile Blog Joined October 2011
United States18282 Posts
February 05 2012 18:18 GMT
#7
On February 06 2012 02:56 BoxedLunch wrote:
it will never cease to amaze me the kind of information and statistics the community comes up with.

that said, what purpose does this serve?


It shows the main attack routes and positions needed to defend and contain. It can help players with their positioning. Of course, I am not talking about pros, as they probably already have this knowledge, but this could be really good stuff for an average ladder player.
Team Slayers, Axiom-Acer and Vile forever
Fealthas
Profile Joined May 2011
607 Posts
February 05 2012 18:31 GMT
#8
I think its cool how you can see which part of the map gets the most action.
TiTanIum_
Profile Joined August 2011
Brazil1335 Posts
February 05 2012 18:33 GMT
#9
On February 06 2012 03:10 Odoakar wrote:
Show nested quote +
On February 06 2012 02:56 BoxedLunch wrote:
it will never cease to amaze me the kind of information and statistics the community comes up with.

that said, what purpose does this serve?


I think this would be great in tournaments as a filler between games, to check the previous game and discuss some of the presented stats.


Agree completely. They can analyze a little better what happened during the game. Except for that cannon rush...

OP, can you make a graph with the upgrades and researches during the game as well? The upgrade timings for mirror matches and TvP is so important, that could be useful information as well.
The_Templar
Profile Blog Joined January 2011
your Country52797 Posts
February 05 2012 18:38 GMT
#10
Could you make a custom map which displays this info after each game?
Moderatorshe/her
TL+ Member
Gowerly
Profile Blog Joined July 2011
United Kingdom916 Posts
February 05 2012 18:41 GMT
#11
On February 06 2012 03:33 TiTanIum_ wrote:
Show nested quote +
On February 06 2012 03:10 Odoakar wrote:
On February 06 2012 02:56 BoxedLunch wrote:
it will never cease to amaze me the kind of information and statistics the community comes up with.

that said, what purpose does this serve?


I think this would be great in tournaments as a filler between games, to check the previous game and discuss some of the presented stats.


Agree completely. They can analyze a little better what happened during the game. Except for that cannon rush...

OP, can you make a graph with the upgrades and researches during the game as well? The upgrade timings for mirror matches and TvP is so important, that could be useful information as well.


I was trying to get the upgrades into the release for HEAT, but couldn't do it in time. It is definitely high on the list, though. It would add much depth to the army composition analysis, especially when comparing with the opponent, as it would signify timing pushes, etc.

As for putting the output into the map itself: I am unsure if this is possible. I do not think that the map editor itself is powerful enough to do that.
I will reduce you to a series of numbers.
Randomaccount#77123
Profile Blog Joined May 2010
United States5003 Posts
Last Edited: 2012-02-05 19:01:02
February 05 2012 18:58 GMT
#12
--- Nuked ---
Superouman
Profile Blog Joined August 2007
France2195 Posts
February 05 2012 19:01 GMT
#13
Is it possible with that software to make a heat map over lets say 1k games to see where battles occur more often?
Search "[SO]" on B.net to find all my maps ||| Cloud Kingdom / Turbo Cruise '84 / Bone Temple / Eternal Empire / Zen / Purity and Industry / Golden Wall / Fortitude / Beckett Industries / Waterfall
Gowerly
Profile Blog Joined July 2011
United Kingdom916 Posts
Last Edited: 2012-02-05 19:29:58
February 05 2012 19:17 GMT
#14
It should be possible to do that. TBO and I believe it is possible to do this from replays with a bit of work.
If it is, we can definitely do this over time.
We both have plans for where we'd like this to go, so any suggestions can help us shape up what's most important.

As for the integration tools, yes, that should be doable also. Currently if I want to add it to a map it's 4 steps (copy all triggers from one map, open new map, delete all triggers and paste in mine, so even if it's not possible, posting how to do it should be sufficient, be sure to use maps that already support observers, though!).

Thanks for all your responses so far, it's great to see that people are positive about it!

Edit: The main reason for modified maps is that Blizzard takes a dim view of hooking into the game. This way it's all done with the Blizzard map editor, etc.

Edit2: The games I managed to capture from HEAT are here!
I will reduce you to a series of numbers.
Micket
Profile Joined April 2011
United Kingdom2163 Posts
February 05 2012 19:30 GMT
#15
Would be really cool to see TvT graphs. It will tell you exactly where the pro gamers tend to contest for position. In some maps its really obvious eg Xelnaga caverns but on Taldarim, it gets confusing where you should position your army.
Primadog
Profile Blog Joined April 2010
United States4411 Posts
February 05 2012 19:37 GMT
#16
Very novel. This idea has potential.

I noticed that your axis is food-based. Would resource usage be a better indicator?
Thank God and gunrun.
Gowerly
Profile Blog Joined July 2011
United Kingdom916 Posts
February 05 2012 19:50 GMT
#17
There's a plan for a combined resource based army linegraph (which can then show both players on the same graph). The idea behind it being food-based is that it's generally what's discussed during a game (supply lead, etc)
I will reduce you to a series of numbers.
Primadog
Profile Blog Joined April 2010
United States4411 Posts
February 05 2012 20:13 GMT
#18
Have you consider just keeping the axis at 200 food then? otherwise a short game like TLO vs Real can produce some ugly graphs.

Love the heat mapping thing you have to the right. It'd be more amazing if it's animated!
Thank God and gunrun.
Gowerly
Profile Blog Joined July 2011
United Kingdom916 Posts
February 05 2012 20:38 GMT
#19
It is a tossup. If you cap it at 200, then in short games it's hard to gauge the army sizes, I might have set values 20, 50, 100, 200 instead.
I will reduce you to a series of numbers.
Grumbels
Profile Blog Joined May 2009
Netherlands7031 Posts
February 05 2012 20:39 GMT
#20
I don't want to be mean, but what use would this serve ever? Viewers have just watched the game, they know where the majority of the fights and such happened. It's not even interesting information, because it only gives you a vague idea of what kind of game just happened anyway. People can make those observations for themselves. I really don't want starcraft casts to end up with endless talk about pointless statistics.
Well, now I tell you, I never seen good come o' goodness yet. Him as strikes first is my fancy; dead men don't bite; them's my views--amen, so be it.
1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
Sparkling Tuna Cup
10:00
Weekly #94
CranKy Ducklings62
LiquipediaDiscussion
GSL Code S
08:00
Semi-Finals & Finals
Rogue vs Classic
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .138
Rex 0
StarCraft: Brood War
Rain 3521
Calm 2883
Bisu 1316
Horang2 692
Larva 661
Pusan 597
BeSt 237
Killer 220
Mini 219
Leta 119
[ Show more ]
hero 105
Hyun 102
EffOrt 84
Soulkey 64
ToSsGirL 48
sSak 48
Aegong 38
Last 38
Barracks 34
Shinee 31
JulyZerg 17
ZerO 14
HiyA 11
Movie 9
Noble 7
SilentControl 6
ivOry 6
Hm[arnc] 5
eros_byul 1
Dota 2
XaKoH 586
XcaliburYe477
Fuzer 136
Pyrionflax40
Counter-Strike
Stewie2K1051
flusha461
edward93
Super Smash Bros
C9.Mang0393
Mew2King120
Westballz27
Heroes of the Storm
Khaldor289
Other Games
singsing1299
ZerO(Twitch)4
Organizations
Dota 2
PGL Dota 2 - Main Stream13420
PGL Dota 2 - Secondary Stream4791
Other Games
gamesdonequick632
StarCraft: Brood War
lovetv 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• LUISG 36
• Adnapsc2 33
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2127
League of Legends
• Stunt616
Upcoming Events
WardiTV Qualifier
5h 46m
BSL: ProLeague
7h 46m
Bonyth vs Dewalt
Cross vs Doodle
MadiNho vs Dragon
Replay Cast
13h 46m
Wardi Open
1d
Replay Cast
1d 13h
Replay Cast
1d 23h
RSL Revival
1d 23h
Cure vs Percival
ByuN vs Spirit
RSL Revival
2 days
herO vs sOs
Zoun vs Clem
Replay Cast
3 days
The PondCast
3 days
[ Show More ]
RSL Revival
3 days
Serral vs SHIN
Solar vs Cham
Replay Cast
4 days
RSL Revival
4 days
Reynor vs Scarlett
ShoWTimE vs Classic
uThermal 2v2 Circuit
5 days
SC Evo League
6 days
Circuito Brasileiro de…
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-06-11
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
BLAST Open Fall 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.