About scouting and known enemy structures

25 views
Skip to first unread message

Miguel González Duque

unread,
Jul 25, 2018, 2:48:09 PM7/25/18
to sc2reader
Hi, everyone!

I'm currently working on my master thesis, and for it I want to train models for decision making under uncertainty in SC2. Thus I came to know about sc2reader. I want to mine several replays and try to build a predictive model for build orders.

I was wondering: is there an easy way to access which enemy structures has a player scouted?, is that information stored on .SC2Replay files or am I on bad luck?

Thanks!

David Joerg

unread,
Jul 25, 2018, 5:47:39 PM7/25/18
to sc2r...@googlegroups.com
Short answer: no, it’s not easy.

Long answer: with a bunch of work you can figure out some of what a player has scouted.  Because you can determine the locations of all buildings and many units, and you can tell where player is looking.


--
You received this message because you are subscribed to the Google Groups "sc2reader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sc2reader+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Miguel González Duque

unread,
Aug 2, 2018, 6:28:16 PM8/2/18
to sc2r...@googlegroups.com
Hi, David.

Thanks for your answer.

I'm willing to do that bunch of work. Would you kindly point me towards the functions that allow me to determine these locations?, to my understanding one can easily tell when a unit has been constructed and where, but I was wondering if there's a way of getting the locations of all units of a player at a given frame.

I know one could maybe infer most of that information from events such as TargetPointCommandEvents and juggling unit speeds, but I was wondering if there's a summary
 one can access (per frame).

Thanks again.
Miguel.

To unsubscribe from this group and stop receiving emails from it, send an email to sc2reader+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "sc2reader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sc2reader+unsubscribe@googlegroups.com.

David Joerg

unread,
Aug 6, 2018, 10:08:17 AM8/6/18
to sc2reader
Have a look at trackAllObjects():
https://github.com/dsjoerg/ggpyjobs/blob/master/sc2parse/sc2reader_to_esdb.py#L319

That function uses all the inference methods we know to infer unit locations at various times.  There's no way to know where all units are at all times, but using those methods you get pretty decent coverage for normal games.

Reply all
Reply to author
Forward
0 new messages