Page 1 of 1
It seems I can't override CARD_LAYOUT.XML

Posted:
18 Jul 2013, 14:10
by thefiremind
I inserted a modified version of CARD_LAYOUT.XML in my mod, with all the counter definitions that I had in DotP2013, and I was confident that it would have worked, but then I realized that the defined counters are still red, so something must be wrong.
Did someone else try to override this file or another file belonging to the CONFIGS folder? Am I missing something?
Re: It seems I can't override CARD_LAYOUT.XML

Posted:
18 Jul 2013, 14:21
by RiiakShiNal
Have you tried using the PLAYFIELD_CONTENT or RELOAD_ALL_CONTENT flags?
Re: It seems I can't override CARD_LAYOUT.XML

Posted:
18 Jul 2013, 15:06
by thefiremind
RiiakShiNal wrote:Have you tried using the PLAYFIELD_CONTENT or RELOAD_ALL_CONTENT flags?
I have tried all the flags now, except those that are clearly made for something else (i.e. CAMPAIGN_CONTENT). No changes on the counters.
Re: It seems I can't override CARD_LAYOUT.XML

Posted:
18 Jul 2013, 15:57
by RiiakShiNal
I can confirm that I can't get it to override the one in the core. I've also tried changing the mod order to no effect.
Re: It seems I can't override CARD_LAYOUT.XML

Posted:
21 Jul 2013, 09:33
by thefiremind
I just had a thought about this: could it be that we were actually overriding CARD_LAYOUT.XML, but that section of the file does nothing on DotP2014? Since we have COUNTER_REGISTRATIONs now, it's possible that the game has predefined colors for the most common counters (P/T modifiers and charge) and it decides the other counters' colors automatically, starting from red for the first counter type that enters the battlefield and giving other colors to the next ones. But this is just a guess, I haven't tried to see what happens with 2 different custom counter types on the battlefield.