Gowerly Profile Blog Joined July 2011 United Kingdom 770 Posts Last Edited: 2012-02-07 10:45:08 #1



Hi, what's up?

As mentioned in the

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





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





Game 2 of TLO vs Grubby (A lot of action here! 40+ minutes of units being killed):



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. Hi guys,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).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.Currently in prototype stage, it captures army compositions at 10 second intervals as well as when any unit is killed.StarGraphed currently uses this to create stacked graphs of army layout split up based on player race:Terran- Workers- Bio- Mech- AirZerg- Workers- Melee- Ranged- AirProtoss- Workers- Gateway- Robotics- AirWith the unit deaths, StarGraphed takes their positions and use this to create a heat map of all the action in the map.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 3Game 3 of TLO vs Real - (This game consisted of a wall + cannons and then TLO rushing to the top left with drones)Game 2 of TLO vs Grubby (A lot of action here! 40+ minutes of units being killed):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.Go for it. Will update this thread if there are frequently asked ones.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 listLong 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.If you can get replays from them, then it's a possibility for the future.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!As long as your map- Supports Spectators, and- Works normally as a multiplayer mapthen you should be able to enable StarGraphed on it.Currently there are 5 triggers and some variables that are added to the mapI 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.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.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)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 States 384 Posts #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 1928 Posts #3 amazing, simply put. I'm Quotable (IQ)

Odoakar Profile Joined May 2010 Croatia 1822 Posts #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. 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 States 713 Posts #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 Kingdom 770 Posts #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. 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 States 18142 Posts #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. 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 579 Posts #8 I think its cool how you can see which part of the map gets the most action.

TiTanIum_ Profile Joined August 2011 Brazil 1206 Posts #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. 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. 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 Country 52605 Posts #10 Could you make a custom map which displays this info after each game? Moderator Starcraft 3 when

Gowerly Profile Blog Joined July 2011 United Kingdom 770 Posts #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. 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. 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 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.

Barrin Profile Blog Joined May 2010 United States 4998 Posts Last Edited: 2012-02-05 19:01:02 #12



I mean, it's not the most useful thing in the world, but if you can really understand what it means then this tool is invaluable.



Yes!I mean, it's notmost useful thing in the world, but if you canunderstand what it means then this tool is invaluable. StarGraphed uses modified maps (normal match-maps with added triggers)

So this means the map needs the triggers before it can do this right?



PLEASE integrate this into some sort of easily-imported and reasonably user-friendly tool so that it can be used by any mapmaker who chooses to use it :DDD



(edit: of course it is intended for spectators, but what I said stands :D) So this means the map needs the triggers before it can do this right?PLEASE integrate this into some sort of easily-imported and reasonably user-friendly tool so that it can be used by any mapmaker who chooses to use it :DDD(edit: of course it is intended for spectators, but what I said stands :D) Grandfather of LotV's resource model. "Fewer Resources per Base"

Superouman Profile Blog Joined August 2007 France 2152 Posts #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

Gowerly Profile Blog Joined July 2011 United Kingdom 770 Posts Last Edited: 2012-02-05 19:29:58 #14

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 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 Kingdom 2163 Posts #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 States 4408 Posts #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 Kingdom 770 Posts #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 States 4408 Posts #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 Kingdom 770 Posts #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 Netherlands 6994 Posts #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