Author
|
Topic: UQM Hyperspace Map/Planetary Database Project (Read 24244 times)
|
Bwahaha
Zebranky food
Offline
Posts: 32
I love YaBB 1G - SP1!
|
Some errors I've noticed in this sheet. I checked Vega 1's entry against what was in the game, and here is what I found.
Responses are from memory, so bear with me...
According to game, density = 1.32 (earth scale as I recall). This data says density = 105. If this is intended to be actual density, I could correct this if I knew what Earth's was. The displayed density is vastly different to that which is used in the mineral/bio calc, and is largely meaningless. The calc for the value can be found in scan.c
Techtonics is 2 in sheet, and 3 in game. Tectonics, Weather and maybe a couple of other things are zero-based in the code, and one-based when displayed on the screen. Essentially, add one to the value in the database.
Rotation period is 251 in sheet, and 1.60 in game. Rotation period is displayed differently to the way it's calculated internally. See scan.c for more detail.
Axial Tilt was a negative (though otherwise correct) value on Vega 2. Axial Tilt is always displayed as an absolute value on the screen, but can be a negative in the code.
All planets are listed as "BLUE_BODY" er, dunno.
Length of day Again, this is calculated at the time it's displayed on screen, and is largely meaningless. Calc can be found in scan.c
Planet type: Even having a number that references a table of types would be useful. That should be there, as it's essential for determining minerals. I'll check that and get back to you.
DistanceFromSun and DistanceFromParent are the same value. Not a big deal. This is by design. They're the same because the parent of a planet IS it's sun. For a moon, DistanceFromParent will be a different value to DistanceFromSun.
Density would be more correctly referred to as "Mass", but this is lkewise not a big deal, as I can label it as such when the time comes. *shrug* it's Density in the code, so it's Density in the database.
|
|
|
Logged
|
|
|
|
|
Bwahaha
Zebranky food
Offline
Posts: 32
I love YaBB 1G - SP1!
|
Sage: there's a new version of the database on my site that fixes the BLUE_BODY problem and includes the world type for each planet/moon.
|
|
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
Weather and Techtonics may be zero based, but any time either of these should be 0 or 1 in the game, the value is put down here as 0, making it impossible for me to tell which it is supposed to be.
|
|
« Last Edit: October 09, 2003, 05:07:22 pm by sageallen »
|
Logged
|
|
|
|
Bwahaha
Zebranky food
Offline
Posts: 32
I love YaBB 1G - SP1!
|
Use the source, Sage. It's all there in scan.c
Tectonics is listed on the screen as "none" if the planet is a gas giant, otherwise it's the internal tectonics + 1.
If you find an exception to this rule, I'd be interested in hearing about it.
|
|
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
Alright I see your point now.
Get this: Alpha Antilae 4c is listed in this data as a Pellucid World (purple), but in the game it's really a Treasure World (yellow). All the other information on it (with the exception of the minerals) is still accurate though.
If we're going to keep doing this we may want to establish real-time communications. If you like, grab one of my instant messenger screennames from my profile. I'd use the IRC channel for this purpose, but for some reason every IRC client I have refuses to work.
|
|
« Last Edit: October 09, 2003, 05:52:58 pm by sageallen »
|
Logged
|
|
|
|
Bwahaha
Zebranky food
Offline
Posts: 32
I love YaBB 1G - SP1!
|
Well spotted.
Another new version of the database has been uploaded to the site, fixing the bug that caused the anomaly.
|
|
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
Special system data is added "by hand" in planets/gen*.c, based on flags in the starmap data (e.g., RAINBOW_DEFINED.)
|
|
|
Logged
|
|
|
|
|
Bwahaha
Zebranky food
Offline
Posts: 32
I love YaBB 1G - SP1!
|
Yep, and that's the main reason I didn't support it in the first iteration of the planetary database. All of the special types are defined in code, rather than in an external configuration file. Makes it a pain in the bejesus to extract out.
I'd read somewhere that you're planning to externalise a lot of that type of data into XML files for 0.4. Is that still on the cards?
|
|
|
Logged
|
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
Though I've remained quiet, I've done a lot of changing to this starmap. As of a few days ago I switched the output of my script to SVG, which will require a plugin from Adobe to view. This change has reaped some benefits and drawbacks.
Benefits: Much smaller output file = faster download/rendering. A much more "elegant" (as Bwahaha put it) interface. Not so much clunky and slow javascript interfering with load times. In particular I now no longer need an image preloader script in this version.
Drawbacks: Scrollbars are nonfunctional. Best bet is to "pan" the image, the method for which relies on which platform you're on. Some browsers don't know what to do with this plugin (I'm aware that Opera doesn't at least, there's likely more). It's safe to assume this plugin will work for "major" browsers best. It seems that I can't call javascript in an embedded svg file from across frames. This can potentially be fixed but it will take time.
My server is unable to parse svg output, but thanks to Bwahaha's help, I was able to secure some webspace to host this project on. The starmap (sans frames) can be viewed at http://uqm.chumbucket.org/starmap.cgi.
|
|
« Last Edit: October 15, 2003, 09:54:18 pm by sageallen »
|
Logged
|
|
|
|
Sage
*Many bubbles*
Offline
Gender:
Posts: 234
|
Update: I've squashed a bug that displayed the map incorrectly (without the working controls). So now all the nifty stuff like the fuel calculator and sphere of influence controls are now showing. I've also put together a very alpha solar system viewer. To activate it, double click on any star, then from there follow the links to see planet data.
It should be known that in it's current incarnation there is some mismatched data (like a Gas Giant with a tectonics rating, among many others), and almost all planets orbitting a supergiant star will have several incorrect values. These of course will be addressed as I begin work on the graphical version of the solar system viewer.
|
|
|
Logged
|
|
|
|
|
Bwahaha
Zebranky food
Offline
Posts: 32
I love YaBB 1G - SP1!
|
As a result of Sage's feedback (and constant pestering), the planetary database that serves as the source for the online starmap has gone through quite a few revisions, including the fixing of the supergiant bug mentioned a couple of posts above.
While the exceptional data (rainbow worlds, etc) STILL hasn't been included, thanks to my lazy efforts, the data is now in pretty good shape. Anybody who's interested can grab the latest XML version (in all it's 670k-zipped, 14mb-when-uncompressed glory) at:
http://uqm.chumbucket.org/uqm_plandata.zip
There's also a cut-down CSV version available, that doesn't go into quite as much detail and is significantly easier to parse:
http://uqm.chumbucket.org/uqm_csv.zip
|
|
|
Logged
|
|
|
|
|