Terrains have the wrong coloring

User avatar
Sweden Gendarme
Gendarme
Donator 03
Posts: 5132
Joined: Sep 11, 2016
ESO: Gendarme

Terrains have the wrong coloring

Post by Gendarme »

I am creating some new terrains atm, but in the scenario editor, they are all the wrong colors. When you create TGA-files, they come in the format "[name].(a,b,c,d)" where a, b, c, and d are numbers. I didn't know what to choose, so I just took the same values as some other map had. However, it's possible that this is not the issue, but instead it's the "mapcolor" attribute of the <subtype> element in "terraintypes.xml" in art3.bar.

I'm certain it's either one, or both that are causing the miscoloring. How do I fix this?
Pay more attention to detail.
User avatar
United States of America Durokan
Retired Contributor
Posts: 970
Joined: Apr 12, 2015
ESO: Durokan

Re: Terrains have the wrong coloring

Post by Durokan »

I would guess A is alpha (transparency) and the others are RGB in order, though idk
Check out my Custom Map Workshop here!
http://eso-community.net/viewtopic.php?p=98718#top
User avatar
Sweden Gendarme
Gendarme
Donator 03
Posts: 5132
Joined: Sep 11, 2016
ESO: Gendarme

Re: Terrains have the wrong coloring

Post by Gendarme »

How would they be RGB? A terrain isn't just one color. Truevision TGA Wikiepdia page is covering this I think, but I don't follow.
Pay more attention to detail.
User avatar
United States of America musketeer925
Retired Contributor
Donator 01
Posts: 2483
Joined: Mar 28, 2015
ESO: musketeer925

Re: Terrains have the wrong coloring

Post by musketeer925 »

Those values are related to the various options in the DDT Options screen in this plugin:

http://aoe3.heavengames.com/cgi-bin/for ... 9229,0,all

(Or, alternatively you can just use this plugin to directly save DDTs!)

Guessing these values are not your problem btw.
User avatar
Sweden Gendarme
Gendarme
Donator 03
Posts: 5132
Joined: Sep 11, 2016
ESO: Gendarme

Re: Terrains have the wrong coloring

Post by Gendarme »

musketeer925 wrote:Guessing these values are not your problem btw.

Are you saying that the values a, b, c, d, and the value of the mapcolor attribute are irrelevant to the miscoloring?
Pay more attention to detail.
User avatar
United States of America musketeer925
Retired Contributor
Donator 01
Posts: 2483
Joined: Mar 28, 2015
ESO: musketeer925

Re: Terrains have the wrong coloring

Post by musketeer925 »

Gendarme wrote:
musketeer925 wrote:Guessing these values are not your problem btw.

Are you saying that the values a, b, c, d, and the value of the mapcolor attribute are irrelevant to the miscoloring?

Mapcolor value might be. I was referring to the .(a, b, c, d). in the tga saving.

Who is online

Users browsing this forum: No registered users and 5 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV