The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => General UQM Discussion => Topic started by: rtobyr on January 04, 2014, 03:21:14 am



Title: Pulling Planetary Data from the Source Code?
Post by: rtobyr on January 04, 2014, 03:21:14 am
I wanted to create a sort of "heat map" of mineral and life-form-data resources. Rather than visit every planet to gather this information, I wonder if there's a [reasonably easy] way to pull this information from the source code into a table.


Title: Re: Pulling Planetary Data from the Source Code?
Post by: meep-eep on January 04, 2014, 02:17:08 pm
Not from the source code directly, as this is procedurally generated. But UQM can generate this data for you.
You would need to modify (and rebuild) the source code, but it's a matter of changing a few lines. And without too much effort, you could modify the format to suit your own wishes.
You can find a file with the data in the default output format here (http://www.stack.nl/~svdb/sc2/PlanetInfo), but this is probably not the easiest format to work with.


Title: Re: Pulling Planetary Data from the Source Code?
Post by: Elestan on January 07, 2014, 12:31:18 am
I uploaded a full database of planet properties in CSV form here (http://wiki.uqm.stack.nl/File:PlanetDatabase.zip).  It's available in sortable table form here (http://wiki.uqm.stack.nl/List_of_planets).

Hope that helps!