PDA

View Full Version : Changing faction map colors?



Praetor Diego
10-28-2008, 04:02
Hi,

I want to swap Averni green-yellow color for Aeudi dark-green color, so where I can find the file with the map colors? :beam:
And that changes the banners colors too?

Thanks in advance :2thumbsup:

MarcusAureliusAntoninus
10-28-2008, 05:42
Those are in the descr_sm_factions.txt.

The part thatl looksl like this:

primary_colour red 165, green 195, blue 45
secondary_colour red 165, green 195, blue 45

Praetor Diego
10-28-2008, 15:45
Great! Thanks!

Hax
10-28-2008, 16:54
They also change the colour of the banners on the strategy map.

Tellos Athenaios
10-28-2008, 19:07
And the battle map.

Hax
10-28-2008, 22:27
Are you sure? I can't recall it specifically doing that.

Tellos Athenaios
10-29-2008, 00:34
I'm sure of the colour of the deployment zone border, but you could be right on the banners. I play without those since I learned how to turn 'em off.

^RaGe^
11-01-2008, 15:01
Those are in the descr_sm_factions.txt.

The part thatl looksl like this:

primary_colour red 165, green 195, blue 45
secondary_colour red 165, green 195, blue 45
What does the secondary color do?

Foot
11-01-2008, 18:03
borders. and probably something else.

Foot

Senshi
11-04-2008, 00:15
Secondary colors are just that, secondary.

Everywhere where your factional colors are used in the interface, there is often not only the one main color (e.g. dark red for SPQR), but also a secondary color which is supposed to offer an appealing contrast. Most obvious usage are the borders, but also when holding right-click on terrain on stratmap the popup info-bar uses both colors, as do multiple other minor UI thingies.

EB made those two codes identic to remove the border effect on the minimap as it can get screwy with all those mini-provinces around Italy or Greece

I myself have re-implemented all secondary colors using alterations of the primary color or an obvious second color (e.g. SPQR: 1. dark red, 2. black), which looks quite pretty and (at least with 1680x1050) I still can differ the colors on the minimap. I just like seeing where those borders of my provinces truly are.

Dutchhoplite
11-04-2008, 12:15
primary_colour red 165, green 195, blue 45
secondary_colour red 165, green 195, blue 45


Some more questions from Dutchhoplite, sorry :embarassed:

(a). What changes what?? For instance: if i change red 165 into pink 000 what changes??
(b). Where do you get the "replacement" colours from??
(c). Do both lines have to be the same??

Thanks :)

Tellos Athenaios
11-04-2008, 15:43
(a) red, green and blue are not arbitrary names: they are references to the various components that make up a colour. A colour is encoded (usually) as ARGB whereby A means alpha (opacity) R means red, G means green and B means blue. Each of these components takes a value between (inclusive) 0 and 255.

If you have a moderately advanced paint-like program or better graphics editing software you can use its colour mixer to see what the RGB values should be like to get a certain colour.

(b) Replacement colours? The colours you want you can mix & match using a paint-like or better software.

(c) Nope. The secondary colour is how province borders within the realms of this faction will show up (possibly among other things as well). Remember the blue/red combo of Vanilla Pontos? Or the green/red of the Vanilla Gauls? In both cases that reddish was the second colour, the blue or green being the primary one.

Senshi
11-05-2008, 01:35
(a) And if you don't have any program with a color mixer, you can use http://www.colorschemer.com/online.html to check colors out.

RTW doesn't use alpha channels with faction colors, so there is only a RedGreenBlue-value.
Just choose a color of your liking in the color schmemer from the website and put its values in the descr_sm_factions.
Eg if you choose color R 200 G 150 B 10 (a strong gold-yellow color), you just write
primary_colour red 200, green 150, blue 10
secondary_colour red 165, green 195, blue 45
And if you want a darkened and not pitch black (that would be R 0 G 0 B 0 ) border, just use lower settings and put them in secondary_colour

Dutchhoplite
11-05-2008, 08:57
Thanks all http://i.fokzine.net/s/thumbsup.gif

Chris1959
11-05-2008, 10:25
What a wonderful thread and a great link Senshi, I've now changed the Saka to a pinker red as they border the Roman Empire so I can tell them apart. Trouble is these hardened horse warriors now bring to mind the Simpsons episode with John Walters and the Steelworkers of America.

I think I'll look in to adapting a couple of other factions as well.:2thumbsup:

qwbon
11-07-2008, 18:00
This may be of use to you guys. http://rgbchart.com/