[?] Colormap & Editor/Colormap difference?

Making or wanting help making your own asset? Check in here
Post Reply
PeppeJ
Posts: 195
Joined: 2010-11-06 10:32

[?] Colormap & Editor/Colormap difference?

Post by PeppeJ »

What's the difference between these two file locations?

I've been working on a tool that merges all the txXXxYY.dds files to a single image so that i can edit it wholly, and later splits them back up into their respective pieces. I noticed that chaning the Map\Colormaps and reloading the map made no difference at all, but when I changed the Map\Editor\Colormaps suddenly the ones in Map\Colormaps take effect.

So I'm very confused here trying to figure out why the heck there are two sets of them.
Image
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: [?] Colormap & Editor/Colormap difference?

Post by Mineral »

Rather simple, the ones in the editor folder are those used by the bf2editor. Only when resaving colormaps will those of the editor folder be compiled to the main colormap in a different format. Make sure to share your tool afterwards on the forums! Would be rather handy to have a tool that combines colormaps correctly :)

Let us know if you need any help.
Image
PeppeJ
Posts: 195
Joined: 2010-11-06 10:32

Re: [?] Colormap & Editor/Colormap difference?

Post by PeppeJ »

Ah! Thanks Minreal that make a lot of sense now actually (just noticed the editor has a Compile Detail & Color maps checkbox too lol :P )

And yes I was planning on throwing it out here once it's stable enough to be used :)
Image
PeppeJ
Posts: 195
Joined: 2010-11-06 10:32

Re: [?] Colormap & Editor/Colormap difference?

Post by PeppeJ »

Speaking of which actually, is there anyway to force a Colormap reload that you guys know about? It only seems to reload properly if I shut off the editor. I tried with loading a second map and then loading back to the one I'm mapping, but it seems the images are still saved in memory.
Image
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: [?] Colormap & Editor/Colormap difference?

Post by Mineral »

I don't know of a method to do so no.
Image
Post Reply

Return to “PR:BF2 Community Modding”