Page 1 of 1

Unit Tracer

Posted: 28 Jul 2010, 05:18
by aegis
anyone remember my mouse tracing widget?

I changed it to track unit movements over their lifetime instead of mouse movement

here's the result from a 7mb replay of an 8v8 I had -_-

Image

Re: Unit Tracer

Posted: 28 Jul 2010, 11:23
by hoijui
:D cool!
patrolling panes are quite dominant.

Re: Unit Tracer

Posted: 28 Jul 2010, 16:34
by aegis
wellll this was a really long game with a very large replay :P

Re: Unit Tracer

Posted: 28 Jul 2010, 17:24
by Masse
Just add anti-aliasing and make the line thickness to vary by speed or maybe by health of the unit, then you got art!

Re: Unit Tracer

Posted: 28 Jul 2010, 17:26
by aegis
I'm thinking of throwing it into some kind of heatmap or mesh

adding line width might be too expensive

Re: Unit Tracer

Posted: 28 Jul 2010, 19:36
by JohannesH
Just try a game that doesnt include gazillion players and itll make more sense

Re: Unit Tracer

Posted: 28 Jul 2010, 19:46
by CarRepairer
Or just make a version that only shows land units.

Re: Unit Tracer

Posted: 28 Jul 2010, 22:53
by aegis
it's actually not very performance intensive to track the units like this, so I can keep tracking all units and just put a GUI on it to configure display (when I start playing more with GUIs)

I have a tracer class and give each unit a short-range tracer (only the last 15 game frames) and a long-range tracer (every 15 game frames) so it looks cool live but I still got workable fps at the end of that game showing thousands of unit paths

Re: Unit Tracer

Posted: 28 Jul 2010, 23:34
by TradeMark
Nice, i wonder how it would look if you added 1000 replays of BADSD8v8 in it :D

Transparent lines will do enough to see the "heatmap", once you have enough data...

Also it should be in 2d only

Re: Unit Tracer

Posted: 29 Jul 2010, 02:54
by aegis
hmm I can decrease the transparency over time

Re: Unit Tracer

Posted: 29 Jul 2010, 13:15
by CaptainPoo
I'd prefer it if it combined all the small lines doing the same path into bigger lines so there would be like 1 line for the patroling fighters etc and there wouldn't be such a fail mess

Tbh no matter what you do to it, it's not very interesting

Re: Unit Tracer

Posted: 29 Jul 2010, 14:21
by oksnoop2
I find this to be very interesting.

Re: Unit Tracer

Posted: 29 Jul 2010, 14:48
by TradeMark
aegis wrote:hmm I can decrease the transparency over time
Rather make it so the slow units draws stronger lines, and fast units less visible lines, so the airscreens wont be that visible as they are now.
CaptainPoo wrote:I'd prefer it if it combined all the small lines doing the same path into bigger lines so there would be like 1 line for the patroling fighters etc and there wouldn't be such a fail mess
Or do what i said above.
CaptainPoo wrote:Tbh no matter what you do to it, it's not very interesting
These kind of heatmaps are really useful IMO, if we had such heatmaps from all maps, you can learn to play the map faster since you focus on those spots where were most heat.

--

aegis; You could also separate air, water, and ground units heatmaps, by using white, blue and yellow traces, could be turned on onto the same image if wanted (like on a website). Would be really cool. Would help a lot to see what kind of map it is, and know fast where the possible battles will be.

Only bad thing on this is that if the mod changes a lot, the heatmap isnt necessary valid anymore. Maybe we can make a gadget in BA that autouploads the unit traces data to some server that keeps track how the heatmaps looks on each map/mod?

Re: Unit Tracer

Posted: 29 Jul 2010, 19:24
by Neddie
It is interesting for the purposes of analysis, but not useful or interesting for the majority of users. That doesn't preclude it having a use.

Re: Unit Tracer

Posted: 29 Jul 2010, 20:39
by oksnoop2
TradeMark wrote: Maybe we can make a gadget in BA that autouploads the unit traces data to some server that keeps track how the heatmaps looks on each map/mod?

Ohh I did not think of that but that would be interesting. I enjoyed looking over stuff like that. http://www.steampowered.com/status/tf2/tf2_stats.php for example

Re: Unit Tracer

Posted: 05 Aug 2010, 09:48
by knorke
I find this quite interessting.
Cool how the endgame "factory waypoint to front" spam of orange and green is visible. At least I think thats what it is.
If you cba to fullfil all the request of automatic server upload and bla just make some more images for us to look at 8)

Ie of games on maps where units can not go everywhere and of different mods. kernel panic might be interessting.