Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Programming Talk
It seems I can't override CARD_LAYOUT.XML
Moderator: CCGHQ Admins
It seems I can't override CARD_LAYOUT.XML
by thefiremind » 18 Jul 2013, 14:10
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?
Did someone else try to override this file or another file belonging to the CONFIGS folder? Am I missing something?
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: It seems I can't override CARD_LAYOUT.XML
by RiiakShiNal » 18 Jul 2013, 14:21
Have you tried using the PLAYFIELD_CONTENT or RELOAD_ALL_CONTENT flags?
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: It seems I can't override CARD_LAYOUT.XML
by thefiremind » 18 Jul 2013, 15:06
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.RiiakShiNal wrote:Have you tried using the PLAYFIELD_CONTENT or RELOAD_ALL_CONTENT flags?
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: It seems I can't override CARD_LAYOUT.XML
by RiiakShiNal » 18 Jul 2013, 15:57
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.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: It seems I can't override CARD_LAYOUT.XML
by thefiremind » 21 Jul 2013, 09:33
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.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 52 guests