It is currently 16 Apr 2024, 15:09
   
Text Size

Basic Abilities and function calls

Moderator: CCGHQ Admins

Re: Basic Abilities and function calls

Postby 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?
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby 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.
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: Basic Abilities and function calls

Postby 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.
Uresti
 
Posts: 151
Joined: 25 Jun 2010, 15:26
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby Epiphany » 01 Jul 2010, 08:01

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.
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:

viewtopic.php?f=62&t=2811
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby 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?
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby 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

Postby Epiphany » 01 Jul 2010, 15:01

Uresti wrote:no xxxx_CARD_TEXT is the format, mine is called "A" cuz the expansion is alpha
Lovely, thanks for the info! :)
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby Epiphany » 02 Jul 2010, 14:56

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
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.
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby 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

Postby Epiphany » 02 Jul 2010, 15:23

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..
Ah, I found the text file, lovely, thank you. It has things like this:
Code: Select all
[Teeth_of_the_Predator]
3187876383
49409
9427

[Hands_Of_Flame]
1775603612
49410
49428

[Wings_of_Light]
472247964
49411
49429
What are the two sets of numbers underneath each uid?
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby 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
Uresti
 
Posts: 151
Joined: 25 Jun 2010, 15:26
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby Epiphany » 02 Jul 2010, 22:19

Uresti wrote:those are a mistery for the univese :)

they seem to follow the number of the internal number of release DOTP 4900
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.

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! :)
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Re: Basic Abilities and function calls

Postby Uresti » 02 Jul 2010, 23:43

edit the files that are in the data_PC
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

Postby 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!
Epiphany
 
Posts: 95
Joined: 30 Jun 2010, 13:27
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to Documentation

Who is online

Users browsing this forum: No registered users and 8 guests


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 8 guests

Login Form