Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Documentation



Basic Abilities and function calls
Moderator: CCGHQ Admins
Re: Basic Abilities and function calls
by Epiphany » 30 Jun 2010, 22:46
Not sure where to post this, but thought I'd let you know the following:
I was curious to see that "shadow" exists in the KEYWORDS.LUA file, and added it to a card just to see how it behaves.
Shadow works as intended, but I don't think the computer is able to react to it properly.
I was playing against the most basic green deck, and I attacked with my creature with shadow, he had a creature out without shadow (therefore couldn't block) but he put a giant growth on it anyway, for no reason, thus wasting the giant growth.
Maybe we should start a thread to report our random findings as we play around with the files?
I was curious to see that "shadow" exists in the KEYWORDS.LUA file, and added it to a card just to see how it behaves.
Shadow works as intended, but I don't think the computer is able to react to it properly.
I was playing against the most basic green deck, and I attacked with my creature with shadow, he had a creature out without shadow (therefore couldn't block) but he put a giant growth on it anyway, for no reason, thus wasting the giant growth.
Maybe we should start a thread to report our random findings as we play around with the files?
-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Huggybaby » 30 Jun 2010, 22:50
First, make sure that the situation is actually unique and repeatable, because sometimes the AI makes boneheaded moves with normal cards.
If you want to start a topic about observations like this feel free.
If you want to start a topic about observations like this feel free.
-
Huggybaby - Administrator
- Posts: 3225
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 734 times
- Been thanked: 601 times
Re: Basic Abilities and function calls
by Uresti » 01 Jul 2010, 01:48
hey epiphany i noticed that too, seems they have prepared for most used abilities in the LUA codes
what we dont know if they are ready to use in game.
what we dont know if they are ready to use in game.
- Uresti
- Posts: 151
- Joined: 25 Jun 2010, 15:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Epiphany » 01 Jul 2010, 08:01
Cool, I'm going to test it more when I get a chance today, but for now I've started a thread where we can discuss more random things like that, here:Uresti wrote:hey epiphany i noticed that too, seems they have prepared for most used abilities in the LUA codes
what we dont know if they are ready to use in game.
viewtopic.php?f=62&t=2811
-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Epiphany » 01 Jul 2010, 10:33
Uresti, (or anyone) does the file called "A_CARD_TEXT.XML" have to be named that? Or can you have a WHATEVER.XML and as long as it's in the TEXT_DUELTIME folder it'll be included?
-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Uresti » 01 Jul 2010, 15:00
no xxxx_CARD_TEXT is the format, mine is called "A" cuz the expansion is alpha
- Uresti
- Posts: 151
- Joined: 25 Jun 2010, 15:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Epiphany » 01 Jul 2010, 15:01
Lovely, thanks for the info!Uresti wrote:no xxxx_CARD_TEXT is the format, mine is called "A" cuz the expansion is alpha

-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Epiphany » 02 Jul 2010, 14:56
I'm really struggling to create a new deck, I'm not sure what the problem is. I save under a new file name and I have the unlock secret menu to unlock everything, yet nothing new seems to show up.omnix32 wrote:Deck editor and tools. small deck editor will find all cards, full deck editor will have unnamed text displayed for custom cards.
viewtopic.php?f=62&t=2788
http://www.mediafire.com/file/d2umorjzl ... C_9999.rar
Deck editor full:
http://dl.dropbox.com/u/8210580/DotP%20 ... Editor.zip
Tools to unpack, make .TDX
http://mod.gib.me/dotp/bin-temp2.zip
have fun.
Once you make a deck, you will have to delete your profile to use it or it will be locked. That or use the unlock deck cheat described here.
http://forums.somethingawful.com/showth ... t378562751
-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Uresti » 02 Jul 2010, 15:15
you must use an UID that is on the younamedeck also there is a TXT that have all deck UID yoys must be there too..
- Uresti
- Posts: 151
- Joined: 25 Jun 2010, 15:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Epiphany » 02 Jul 2010, 15:23
Ah, I found the text file, lovely, thank you. It has things like this:Uresti wrote:you must use an UID that is on the younamedeck also there is a TXT that have all deck UID yoys must be there too..
- Code: Select all
[Teeth_of_the_Predator]
3187876383
49409
9427
[Hands_Of_Flame]
1775603612
49410
49428
[Wings_of_Light]
472247964
49411
49429
-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Uresti » 02 Jul 2010, 15:42
those are a mistery for the univese 
they seem to follow the number of the internal number of release DOTP 4900

they seem to follow the number of the internal number of release DOTP 4900
- Uresti
- Posts: 151
- Joined: 25 Jun 2010, 15:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Epiphany » 02 Jul 2010, 22:19
Hmmm, I think the problem is actually that I'm trying to create my own expansion (Data_DLC_9998) but it's not working for some reason.Uresti wrote:those are a mistery for the univese
they seem to follow the number of the internal number of release DOTP 4900
I've copied your Data_DLC_9999 folder, deleted the CARDS, DECKS, TEXT_DUELTIME and put my own card and deck and text_Dueltime files in there, but it doesn't recognise my new expansion in the game.
Any pointers for creating a blank expansion? Am I missing something somewhere?
Thanks for your patience so far! I must be testing it by now!

-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Uresti » 02 Jul 2010, 23:43
edit the files that are in the data_PC
APPINFOXXXX change 9999 for 9998
APPINFOXXXX change 9999 for 9998
- Uresti
- Posts: 151
- Joined: 25 Jun 2010, 15:26
- Has thanked: 0 time
- Been thanked: 0 time
Re: Basic Abilities and function calls
by Epiphany » 03 Jul 2010, 07:40
Thank you! 
So it wasn't a deck problem after all, it was an expansion problem. All sorted now. Thanks again for your help!

So it wasn't a deck problem after all, it was an expansion problem. All sorted now. Thanks again for your help!
-------
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
http://www.slightlymagic.net/forum/viewtopic.php?f=62&t=2876
^ My release thread
http://www.slightlymagic.net/wiki/Duels_of_the_Planeswalkers
^ Check out the DotP wiki for help and guides
- Epiphany
- Posts: 95
- Joined: 30 Jun 2010, 13:27
- Has thanked: 0 time
- Been thanked: 0 time
59 posts
• Page 4 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 3 guests