Page 1 of 1

Card Creation

PostPosted: 02 Jul 2013, 16:20
by MXCL
After lurking for a long time and using the great decks and programs created here I wanted to try my hand at creating some card myself. Using thefiremind's convenient generator and gibbed's tools the actual coding and placing the xml's with the other cards isn't the problem.

When I use Riiak's fine deck builder the created cards don't appear. Unfortunately most of the documentation for actual card creation seems to reference things from the original or 2012 version so they weren't terribly helpful for me. Is there an updated basic card creation tutorial for 2014 anywhere?

Re: Card Creation

PostPosted: 02 Jul 2013, 16:37
by RiiakShiNal
As far as I know there is not currently a basic tutorial for modding on 2014. Though if you have specific questions feel free to ask them and we will try to give you specific answers.

Since you said you already tried to make some cards, but they don't appear, did you check to see if my Deck Builder generated an error log? If so it may shed some light on why your cards didn't appear. If there is no error log you could always post one or more of the cards you are having problems with and we can look at the cards to see what the problem is.

Re: Card Creation

PostPosted: 02 Jul 2013, 18:45
by MXCL
Alright. I'm probably making a basic error somewhere along the lines, so here's what I'm doing

Extracting Data Cor and Decks using Gibbed
Placing the extracted folders back in the DotP folder and renaming the original WADs
Adding the new cards XML to the Cards Folder of DATA_DECKS_D14\DATA_ALL_PLATFORMS\CARDS

If I've missed something extremely obvious please enlighten me.

Re: Card Creation

PostPosted: 02 Jul 2013, 19:16
by RiiakShiNal
Well, to start off you shouldn't be modifying the original wads (it's fine to keep an extracted version elsewhere for reference). The unpacked wads do not have the required HEADER.XML file to make them work in directory form. It is safer to override the files in those mods by putting files named the same into a mod (either in Wad or Directory form).

The easiest way to place new cards (if you're using my Deck Builder) is to have the Deck Builder create setup a custom data folder for you (it will create DATA_DLC_DECK_BUILDER_CUSTOM in the game directory, complete with HEADER.XML). Once you've done that you can simply drop the new cards into DATA_DLC_DECK_BUILDER_CUSTOM\DATA_ALL_PLATFORMS\CARDS and drop the TDX pictures into DATA_DLC_DECK_BUILDER_CUSTOM\DATA_ALL_PLATFORMS\ART_ASSETS\ILLUSTRATIONS.

Re: Card Creation

PostPosted: 02 Jul 2013, 23:29
by MXCL
After following what you said everything went exceedingly smoothly. Thank you.

Re: Card Creation

PostPosted: 03 Jul 2013, 12:40
by whismer
Ok i setup the folder

Can you upload a exemple of a card and the Height - Witdh for the picture? I think we need to use the prog to make the tdx?

thx

whismer

Re: Card Creation

PostPosted: 03 Jul 2013, 14:27
by Scion of Darkness
for the card artwork use 512*376 and for artwork database the best is this thread
viewtopic.php?f=15&t=445


to edit pics i use paint.net and photoshop, depends on what i want to do

*edit*

for the tdx convert search gibbed tools

Re: Card Creation

PostPosted: 12 Jul 2013, 16:01
by loookaz
hi, i am attempting to make few cards. they are visible in the game, but without any illustration. am i wrong to name them accorging to their multiverse id and putting them into the CARDS folder?

what am i missing?
i have armadillo cloak, the id is 220498.
should the file be named 220498.tdx or something different?

Re: Card Creation

PostPosted: 12 Jul 2013, 16:09
by daenon611
It might be wrong, but: Each card has a ArtID Value; there should be the number of the card in.

<ARTID value="909197869" /> = 909197869.tdx

loookaz wrote:hi, i am attempting to make few cards. they are visible in the game, but without any illustration. am i wrong to name them accorging to their multiverse id and putting them into the CARDS folder?

what am i missing?
i have armadillo cloak, the id is 220498.
should the file be named 220498.tdx or something different?

Re: Card Creation

PostPosted: 26 Sep 2013, 02:59
by angbaguhan
Just want to know in DOTP 2014, how would you make a pop-up yes/no selection on enemy target...
example an instant card target a player that has 5 dmg unless he tap 5 mana....

Re: Card Creation

PostPosted: 26 Sep 2013, 08:24
by thefiremind
angbaguhan wrote:Just want to know in DOTP 2014, how would you make a pop-up yes/no selection on enemy target...
example an instant card target a player that has 5 dmg unless he tap 5 mana....
That's more or less what Mana Leak does: the spell will be countered unless the controller pays 3 mana. Look at the code for Mana Leak (it's in my mod), that's the best example. If you just started modding, maybe this won't suffice... but if that's the case, I'd suggest you to ask exactly for the card you need, in the Formal Request Thread. :P