Pages: [1]
|
|
|
Author
|
Topic: Gas Giant color (Read 2827 times)
|
Angelfish
Enlightened
Offline
Posts: 568
|
As some of you may know, recently i've been busy re-emulating the SC2 universe in a clone that I'm developing.
Currently, I'm able to load the SC2 universe from an XML file and display its planets in a correct way using the colormaps and height translation files that came with SC2.
However, it seems that the data that UQM is generating doesn't specify the color of the gas giants. As a planet type it just says 'Gas Giant' without any specification of the color. Thusly, the planet generator doesn't know which colormap to use.
Ofcourse, it's possible to pseudo-randomly determine a color by using a fixed seed, but I'm trying to keep the universe as close to SC2 as possible, especially in the case of Sol where jupiter is supposed to be red and uranus is supposed to be blue, aswell as the Slylandro homeworld which is supposed to be red (as it is in the comm screen too), so it'd be nice to know how UQM determines the color of the gas giants. Does anyone know this? Or is the logging function in UQM not generating the correct/complete data?
|
|
« Last Edit: October 07, 2009, 11:37:39 am by Angelfish »
|
Logged
|
|
|
|
|
|
Angelfish
Enlightened
Offline
Posts: 568
|
Okay, after 4 hours of trying to build a working uqm-debug.exe with MinGW i've given up. I think the problem lies in the fact that somehow the config utility can't find zlib (yes, I stored it as libzdll.a), no matter what I do , and after that the resulting binary can't load the resources. I guess for now this is taking me too much time, and I'll just put in the plot relevant gas giants by hand and have the rest be determined pseudo-randomly with a fixed seed.
|
|
« Last Edit: October 12, 2009, 08:18:43 am by Angelfish »
|
Logged
|
|
|
|
Megagun
Enlightened
Offline
Gender:
Posts: 580
Moo
|
Follow http://koti.mbnet.fi/lonnberg/MinGWUQM.txt instead of the official MinGW compilation guide, and instead of building 0.6.2, build a snapshot of SVN (http://uqm.stack.nl/files/snapshots/) The .txt file might have some errors in there somewhere (I had troubles a few days ago, too), but if you hop onto IRC, I'm fairly certain we could be able to figure out how to get it to co-operate...
(Alternatively, I'd be willing to generate the data if someone gives me a few pointers as to how to actually generate it; I'm not that familiar with the sourcecode...) EDIT: http://mooses.nl/temp/Planetinfo.zip (generated from a fairly recent snapshot of SVN), but either I am blind, or it doesn't anywhere display the color of gas giants...
|
|
« Last Edit: October 12, 2009, 05:44:29 pm by Megagun »
|
Logged
|
|
|
|
|
Angelfish
Enlightened
Offline
Posts: 568
|
Ofcourse, I know that the body color of a red gas giant should be red, and of a green gas giant should be green.. however, the game somehow determines each color of the gas giants in a system in a fixed way.. and I'm curious to finding out how it is determined .
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
|
|