Page 1 of 1
How to define new colors?
Posted: Fri Jan 10, 2014 6:14 pm
by blackarchon
As I can see in the file pandora.exe (1.1.2), there are currently 15 colors defined. How can I use more colors in the XML code part? For example, how can I get another type of blue for a faction color?
Re: How to define new colors?
Posted: Sat Jan 11, 2014 2:25 pm
by SephiRok
You can't, but you can use "rgba(1.0, 0.5, 0.75, 1.0)" syntax instead.
Re: How to define new colors?
Posted: Sun Jan 12, 2014 4:40 pm
by blackarchon
Thanks for the hint, but there seems to be something wrong. Regardless if I use "rgba(0.5, 0.0, 0.0, 1.0)", "rgba(0.5, 0.5, 0.5, 1.0)" or "rgba(0.5, 1.0, 1.0, 1.0)" - my borders are always on a dark red color. Appearantly only the red value works, but the blue and green ones are ignored. Can you confirm that? The game version is 1.1.2.
Re: How to define new colors?
Posted: Thu Jan 16, 2014 3:19 pm
by kidpython
blackarchon wrote:Thanks for the hint, but there seems to be something wrong. Regardless if I use "rgba(0.5, 0.0, 0.0, 1.0)", "rgba(0.5, 0.5, 0.5, 1.0)" or "rgba(0.5, 1.0, 1.0, 1.0)" - my borders are always on a dark red color. Appearantly only the red value works, but the blue and green ones are ignored. Can you confirm that? The game version is 1.1.2.
If you figure out how to change faction colors I am very interested in the details. The colors for the two blue factions are too similar.
Re: How to define new colors?
Posted: Fri Jan 17, 2014 2:16 pm
by SephiRok
Sorry, it's without the commas between values.
I.e. "rgba(0.5 1.0 1.0 1.0)".
Re: How to define new colors?
Posted: Fri Jan 17, 2014 8:53 pm
by blackarchon
Thank you, this works fine!
