GRimworldMaps (Google maps for Rimworld)

Started by Jaxxa, October 02, 2016, 02:52:23 AM

Previous topic - Next topic

Jaxxa

Here is something that I gave been working on for a while, taking screenshots from Rimworld and converting them for use in a Website, kind of similar to Google Maps.

Here is what I have done so far.

This is the map from the Succession game I did (https://ludeon.com/forums/index.php?topic=24214.0) , with an image at the end of each persons turn so you can see how the colony changed over time. Dont know how much further I will develop this, I mainly wanted to see if it could be done.




kaptain_kavern

I like the idea. Even if I i've no idea how it's done
Folks that do a lot of succession games or RP will find it handy.

Jaxxa

The basics of how its done is:

  • A mod moves the camera and takes a bunch of screenshots.
  • I compress the Screenshots, so it isn't almost 500 MB per map.
  • I Run a Helper program on the screenshots to generate code for them.
  • I copy that code into HTML File Template I have for http://leafletjs.com/. (and modify a few other bits)
  • Copy the images into a Subfolder of the Template.
  • Repeat Steps 1-5 to add other layers.
  • Then I hosted it online as a demonstration, but you can view it locally at this point.


kaptain_kavern

Oh thx for detailing it buddy ;)

I already heard about leafletjs on a similar project for KSP

Jaxxa

No problem, I will eventually be putting the mod up with how to instructions.