Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks
2013
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks
2013
Could you please help a noob in need? :)
Moderators: Xander9009, CCGHQ Admins
Could you please help a noob in need? :)
by Firehelp » 18 Nov 2012, 11:50
Hi. I decided I'd create a topic here, because it's about DOTP 2013, so I hope this is the right place. So, what am I up to?
I have Theta version with Ravnica DLC and because of that I play against AI only. Now I managed to mod the DIFFICULTY_SETTINGS by using Gibbed Duels Tools and an xml editor and I changed all the atributes to the highest AI level. So now hopefully even the Archmage difficulty AI should be playing as good as it can without cheating (at least I hope so). I even deleted the pattern @NUMBER from the original decks' DECKS\NAME.xml files, but then I realised that the AI only uses the default cards without any unlocks. So here lies my problem. I tried just switching the cards in the xml files, so the basic version would be the same as my previous version I used to play with. By that I mean I manually switched (for example) the ARCHON_OF_REDEMPTION_277989 from the pattern name="ARCHON_OF_REDEMPTION_277989" deckOrderId="3" /> and changed it for DAY_OF_JUDGMENT_277106 from the UNLOCKS\*.xml pattern <CARD name="DAY_OF_JUDGMENT_277106" deckOrderId="40" unlockOrderId="5" quantity="1" /> . To be clear, I just tried switching the part with CARD_NAME_NUMBER and keeping all the rest as it was. It worked to some degree, meaning the deck was playable and even the AI got to use the cards I desired, but it clearly doesn't understand the cards as it should (meaning it plays really bad, AKA not equiping equipments when it has unused mana and so on). I realize there is probably more to it from the AI point of view than just changing cards in the deck. Well, then I got an idea to create a completely new deck with only the cards I choose from the original wad files, making for example custom AJANI wad file with only 60 cards deck and no unlocks, but I honestly have no idea how to do that. What software to use when creating a new wad file, which files are relevant from the original wad file... I have no clue. Could anyone point me towards any topic or write me a few clues? I tried to look for something in the forum, but I didn't find anything that would help me. Also, would it be too time-consuming for me? (I'm not willing to spend days and days just to create a customized deck I already have...) Any help appreciated, thanks in advance.
I have Theta version with Ravnica DLC and because of that I play against AI only. Now I managed to mod the DIFFICULTY_SETTINGS by using Gibbed Duels Tools and an xml editor and I changed all the atributes to the highest AI level. So now hopefully even the Archmage difficulty AI should be playing as good as it can without cheating (at least I hope so). I even deleted the pattern @NUMBER from the original decks' DECKS\NAME.xml files, but then I realised that the AI only uses the default cards without any unlocks. So here lies my problem. I tried just switching the cards in the xml files, so the basic version would be the same as my previous version I used to play with. By that I mean I manually switched (for example) the ARCHON_OF_REDEMPTION_277989 from the pattern name="ARCHON_OF_REDEMPTION_277989" deckOrderId="3" /> and changed it for DAY_OF_JUDGMENT_277106 from the UNLOCKS\*.xml pattern <CARD name="DAY_OF_JUDGMENT_277106" deckOrderId="40" unlockOrderId="5" quantity="1" /> . To be clear, I just tried switching the part with CARD_NAME_NUMBER and keeping all the rest as it was. It worked to some degree, meaning the deck was playable and even the AI got to use the cards I desired, but it clearly doesn't understand the cards as it should (meaning it plays really bad, AKA not equiping equipments when it has unused mana and so on). I realize there is probably more to it from the AI point of view than just changing cards in the deck. Well, then I got an idea to create a completely new deck with only the cards I choose from the original wad files, making for example custom AJANI wad file with only 60 cards deck and no unlocks, but I honestly have no idea how to do that. What software to use when creating a new wad file, which files are relevant from the original wad file... I have no clue. Could anyone point me towards any topic or write me a few clues? I tried to look for something in the forum, but I didn't find anything that would help me. Also, would it be too time-consuming for me? (I'm not willing to spend days and days just to create a customized deck I already have...) Any help appreciated, thanks in advance.
Re: Could you please help a noob in need? :)
by thefiremind » 18 Nov 2012, 12:33
This shouldn't happen: the AI automatically understands how to use cards (if they aren't overly complicated, which is not the case for the original cards and for the majority of the custom cards, too) through analyzing different possible future scenarios and computing which scenario is best for itself. So I think you did something wrong in DIFFICULTY_SETTINGS. Let the AI use your modified deck with the original DIFFICULTY_SETTINGS and see if its performance improves.Firehelp wrote:It worked to some degree, meaning the deck was playable and even the AI got to use the cards I desired, but it clearly doesn't understand the cards as it should (meaning it plays really bad, AKA not equiping equipments when it has unused mana and so on).
You already switched cards in a deck so you understood part of the basics by yourself, anyway see if you find something useful in this topic:Firehelp wrote:Could anyone point me towards any topic or write me a few clues?
viewtopic.php?f=65&t=8290
< 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: 719 times
Re: Could you please help a noob in need? :)
by Firehelp » 18 Nov 2012, 19:17
It seems that you were correct, thefiremind. As always, one might add. The thing I didn't realize until you responded was that the card list in the DECKS folder is just that, a card list. Although I kinda wonder why the cards in the file are sometimes placed randomly, I mean it looked to me that the deckOrderId contained some information as well. But as I've tried now, it doesn't. Now if you wonder what did I do wrong, it was in the DIFFICULTY_SETTINGS file. The thing is, I changed even the values for Card Level (to 3) and that's what caused the AI (Archmage level in my case) to play very strange. It was that or some random mistake, can't say for sure, but I didn't change anything else intentionally. That's it, thanks again.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests
