getting army positions :is it possible with sc2 reader?

22 views
Skip to first unread message

loic midy

unread,
Dec 2, 2019, 1:36:47 PM12/2/19
to sc2reader

Hello,

I'm aware of UnitPositionsEvent but the docs says "Marks the positions of the first 255 units that were damaged in the last interval”

Is there a way to get the x,y position of all army units from time to time (ex: every 15 seconds).

 

Yours sincerely

Loïc

Philippe Carphin

unread,
Dec 2, 2019, 2:51:06 PM12/2/19
to sc2r...@googlegroups.com
The way it works, you might have to work pretty hard.

Starcraft works like a deterministic state machine. Replays work by recording just the inputs and replaying those inputs.  Even when viewing a replay, units are where they are not because their position was recorded but because all the inputs were recorded and replayed.  And because it is deterministic, every time you replay those inputs, the unit will end up at the same place.

Have a nice day
Phil

On Dec 2, 2019, at 13:36, loic midy <loic...@gmail.com> wrote:


--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/sc2reader/1a9f6095-eb7c-47ea-b54e-09795cb3f801%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages