Misc User Apps - Better Ways to View Maps divine.216 - Mon Nov 30, 2009 4:30 am Post subject: Better Ways to View Maps
I've been mulling over better ways to display and interact with subspace levels on the web.
But my aim is to come up with something quite a bit more interactive than that sample suggests. Some ideas:
- permit web user markup and commenting on the maps (collaborative creation of map guides and critiques, e.g. "this corner of the base is best defended with a shark and a few carefully placed mines 'here' and 'here'" or "34 pilots marked this as their [least] favorite base" or "(tag cloud for this spot)")
- have asss record how the map is actually used to display usage data layered atop the map on the web display
- and display all this information both on the web and in-game (when requested, or for new players, or at "game" start etc.)
I am thinking to integrate this with asss (possibly generating eLVL data off of the user markup, or more immediately interacting with a running ASSS instance). We'll see, as I find time.
I'll release any code worth having.
But I'm curious what other related work is being done -- both on the web end and on the asss end. I'd just as soon avoid needless duplication.
L.C. - Mon Nov 30, 2009 9:27 am Post subject:
Real-time online radar? Hakaku - Mon Nov 30, 2009 6:02 pm Post subject:
In terms of any online interactive map, I've only seen three of them, but they were all designed for bots.
The first one I saw was designed by SOS. It was a basic map colored to mark where players went (trails rather than dots), so it could easily reveal the most used locations and bases.
The second one is integrated into the stats at http://stats.svszone.com, though I don't understand the website at all; I think it's only used during premier(?) matches to record kill locations (example). It was more or less a model for a stats collecting bot in Trench Wars, which records kill and death locations as well as ship. (example)
None of these are open source, and for the latter two they're solely used for specific events, but it gives you an idea of what you can do: record movement, kill and death locations. You could easily add flags and powerballs to that as well, among the other stuff you already listed.
Bak - Mon Nov 30, 2009 6:51 pm Post subject:
a few years ago I made a java applet to replay player movements in hockey zone, which were recorded by a merv bot. The code is buried somewhere, although it was more interesting than useful. Here's a screenshot I found:
http://img.photobucket.com/albums/v622/bak2007/opening.pngCypherJF - Mon Nov 30, 2009 8:52 pm Post subject:
Long ago, I made a mervbot plugin that collected the player stats; allowed a web-based chat interface (hacked up oy); level map with kill zone statistics & where do you most die; and near real time flag / player locations..
Not sure what I did with the source code; if I even still have it... it would have been an ideal asss module.
This is very much a work in progress. But by using open html / js (rather than 3rd party flash tools as in my earlier post) follow on development of tools becomes much easier. Although, for now, canvas rendering goes without the benefit of serious acceleration, so its display can be limited.
(A part of this work required some python to translate LVL into javascript -- I will make that available.)
Aquarius - Tue Dec 08, 2009 9:01 am Post subject:
This is really cool keep it up.
Samapico - Tue Dec 08, 2009 11:26 am Post subject:
Cool
Hakaku - Tue Dec 08, 2009 1:38 pm Post subject:
Pretty cool, but note that it won't work in IE due to a lack of support and no standardization for HTML5. You should consider adding something along the lines of explorercanvas for IE users to be able to render it.
divine.216 - Thu Dec 10, 2009 8:03 pm Post subject: python for translating maps
Here is the tool I use to translate maps into javascript (lvl2js) together with a lib for handling maps in python (pylvl):