How to define new colors?
Moderators: Pandora Moderators, Slitherine Core
-
- Corporal - 5 cm Pak 38
- Posts: 45
- Joined: Sat Oct 12, 2013 2:25 pm
- Location: Germany
How to define new colors?
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?
You can't, but you can use "rgba(1.0, 0.5, 0.75, 1.0)" syntax instead.
Rok Breulj
Designer and Programmer
Proxy Studios
Designer and Programmer
Proxy Studios
-
- Corporal - 5 cm Pak 38
- Posts: 45
- Joined: Sat Oct 12, 2013 2:25 pm
- Location: Germany
Re: How to define new colors?
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?
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.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.
Re: How to define new colors?
Sorry, it's without the commas between values.
I.e. "rgba(0.5 1.0 1.0 1.0)".
I.e. "rgba(0.5 1.0 1.0 1.0)".
Rok Breulj
Designer and Programmer
Proxy Studios
Designer and Programmer
Proxy Studios
-
- Corporal - 5 cm Pak 38
- Posts: 45
- Joined: Sat Oct 12, 2013 2:25 pm
- Location: Germany
Re: How to define new colors?
Thank you, this works fine! 
