• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:22
CEST 11:22
KST 18:22
  • 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
[ASL20] Ro8 Preview Pt2: Holding On1Maestros of the Game: Live Finals Preview (RO4)5TL.net Map Contest #21 - Finalists4Team TLMC #5: Vote to Decide Ladder Maps!0[ASL20] Ro8 Preview Pt1: Mile High15
Community News
Weekly Cups (Sept 22-28): MaxPax double, Zerg wins, PTR1BSL Season 214herO joins T121Artosis vs Ret Showmatch63Classic wins RSL Revival Season 22
StarCraft 2
General
Weekly Cups (Sept 22-28): MaxPax double, Zerg wins, PTR Production Quality - Maestros of the Game Vs RSL 2 SC2 5.0.15 PTR Patch Notes + Sept 22nd update Maestros of the Game: Live Finals Preview (RO4) Had to smile :)
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris SC2's Safe House 2 - October 18 & 19 Master Swan Open (Global Bronze-Master 2) Sparkling Tuna Cup - Weekly Open Tournament Prome's Evo #1 - Solar vs Classic (SC: Evo)
Strategy
Custom Maps
External Content
Mutation # 493 Quick Killers Mutation # 492 Get Out More Mutation # 491 Night Drive Mutation # 490 Masters of Midnight
Brood War
General
Artosis vs Ret Showmatch [ASL20] Ro8 Preview Pt2: Holding On ASL 20 Soundtrack ASL20 General Discussion BSL Season 21
Tourneys
[ASL20] Ro8 Day 3 [ASL20] Ro8 Day 2 Azhi's Colosseum [ASL20] Ro8 Day 1
Strategy
Current Meta Cliff Jump Revisited (1 in a 1000 strategy) I am doing this better than progamers do. Simple Questions, Simple Answers
Other Games
General Games
Nintendo Switch Thread Dawn of War IV Stormgate/Frost Giant Megathread Path of Exile Liquipedia App: Now Covering SC2 and Brood War!
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
TL Mafia Community Thread
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Big Programming Thread
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 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
The Automated Ban List BarCraft in Tokyo Japan for ASL Season5 Final
Blogs
[AI] Sorry, Chill, My Bad :…
Peanutsc
Try to reverse getting fired …
Garnet
[ASL20] Players bad at pi…
pullarius1
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2827 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
Croatia1837 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
Next event in 38m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Livibee 85
UpATreeSC 29
StarCraft: Brood War
Sea 1939
actioN 1344
Hyun 1107
Hyuk 924
PianO 368
ZerO 192
Pusan 141
Killer 108
Sharp 106
Flash 82
[ Show more ]
Bale 62
soO 31
Backho 29
Sacsri 20
HiyA 16
Mind 10
Dota 2
XcaliburYe222
ODPixel141
Counter-Strike
olofmeister848
shoxiejesuss494
Other Games
singsing977
ceh9588
Pyrionflax232
SortOf109
crisheroes84
NeuroSwarm68
ArmadaUGS39
ZerO(Twitch)16
Organizations
Other Games
gamesdonequick549
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• LUISG 33
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
Afreeca Starleague
38m
Soma vs BeSt
Wardi Open
1h 38m
Kaelaris Steadfast Rott…
6h 38m
OSC
14h 38m
Sparkling Tuna Cup
1d
Afreeca Starleague
1d
Bisu vs Larva
LiuLi Cup
2 days
OSC
2 days
The PondCast
3 days
Wardi Open
4 days
[ Show More ]
[BSL 2025] Weekly
5 days
[BSL 2025] Weekly
5 days
Safe House 2
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-25
Maestros of the Game
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
EC S1
ESL Pro League S22
Urban Riga Open #1
FERJEE Rush 2025
Birch Cup 2025
DraculaN #2
LanDaLan #3
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
FISSURE Playground #1

Upcoming

IPSL Winter 2025-26
SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
WardiTV TLMC #15
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
Frag Blocktober 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.