Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2013




Request: Tutorial to create a new card (DotP 2013)
Moderator: CCGHQ Admins
3 posts
• Page 1 of 1
Request: Tutorial to create a new card (DotP 2013)
by kevorz » 06 Aug 2012, 11:07
Hey guys!
It's me Kevorz, i'm newly registered on CCGH, but have been lurking around for a while. After making a couple of custom decks for me and my friends, i decided it was time to actually create some new cards. Here comes my question:
Can anyone post a step by step guide on how to make a custom card? I shall give an example of what i wish to make.
Survival of the Fittest
Now my idea was to look at Fauna Shaman and edit it's ability so it doesn't require tapping. This should be easy, but my main issue is that i want the card to actually have art.
Is there a template for me to use for creating custom cards?
Thanks for your time, and i hope to return the favor to you some time soon with the cards i create
Kind Regards,
Kevorz
It's me Kevorz, i'm newly registered on CCGH, but have been lurking around for a while. After making a couple of custom decks for me and my friends, i decided it was time to actually create some new cards. Here comes my question:
Can anyone post a step by step guide on how to make a custom card? I shall give an example of what i wish to make.
Survival of the Fittest
Now my idea was to look at Fauna Shaman and edit it's ability so it doesn't require tapping. This should be easy, but my main issue is that i want the card to actually have art.
Is there a template for me to use for creating custom cards?
Thanks for your time, and i hope to return the favor to you some time soon with the cards i create

Kind Regards,
Kevorz
Last edited by kevorz on 06 Aug 2012, 16:29, edited 1 time in total.
Re: Request: Tutorial to create a new card (DotP 2013)
by thefiremind » 06 Aug 2012, 11:17
Everything about making custom art:
viewtopic.php?f=65&t=2956
viewtopic.php?f=65&t=5987
These tutorials are for older DotP versions but they are still valid for DotP2013 (except the frame tutorial, you don't need to make frames anymore and even if you make one, we know no way to make the game use it).
About where to put the images after you made them, I think it's clear enough if you unpack a deck and see the directory structure: ART_ASSETS\ILLUSTRATIONS contains the card arts, while ART_ASSETS\TEXTURES contains decks and AI avatar images.
After you made the card art, write the file name (without extension) in the ARTID block of your card, substituting what's already here. There are no restrictions on the filenames as long as you aren't coding a plane card.
viewtopic.php?f=65&t=2956
viewtopic.php?f=65&t=5987
These tutorials are for older DotP versions but they are still valid for DotP2013 (except the frame tutorial, you don't need to make frames anymore and even if you make one, we know no way to make the game use it).
About where to put the images after you made them, I think it's clear enough if you unpack a deck and see the directory structure: ART_ASSETS\ILLUSTRATIONS contains the card arts, while ART_ASSETS\TEXTURES contains decks and AI avatar images.
After you made the card art, write the file name (without extension) in the ARTID block of your card, substituting what's already here. There are no restrictions on the filenames as long as you aren't coding a plane card.
< 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: 722 times
Re: Request: Tutorial to create a new card (DotP 2013)
by kevorz » 06 Aug 2012, 12:55
Thanks! i managed to create it in full ^^
Survival of the Fittest (Judge Promo art)
Maybe for the repository that's around here somewhere.
Survival of the Fittest (Judge Promo art)
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="SURVIVAL_OF_THE_FITTEST_JR_41" />
<CARDNAME text="SURVIVAL_OF_THE_FITTEST" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Survival of the Fittest]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="JR_41" />
<ARTID value="JR_41" />
<ARTIST name="Shelly Wan" />
<CASTING_COST cost="{1}{G}" />
<TYPE metaname="Enchantment" />
<EXPANSION value="DPG" />
<RARITY metaname="R" />
<ACTIVATED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.]]></LOCALISED_TEXT>
<COST type="Mana" cost="{G}" />
<COST type="Discard">
<TARGET_DEFINITION id="6">
local filter = Object():GetFilter()
filter:Clear()
filter:NotTargetted()
filter:SetZone( ZONE_HAND )
filter:SetPlayer( EffectController() )
filter:AddCardType( CARD_TYPE_CREATURE )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(6)
</TARGET_DETERMINATION>
<PLAYTIME>
EffectController():ChooseTarget( 6, "CARD_QUERY_CHOOSE_CARD_TO_DISCARD", EffectDC():Make_Targets(0) )
</PLAYTIME></COST>
<RESOLUTION_TIME_ACTION>
local filter = Object():GetFilter()
local effectController = EffectController()
effectController:MarkSearchedLibrary()
filter:Clear()
filter:NotTargetted()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_LIBRARY )
filter:SetPlayer( effectController )
local sorter = MTG():GetTargetSorter()
sorter:Clear()
sorter:Add(TARGET_SORT_TYPE_SCORE, TARGET_SORT_POLARITY_ALLIED)
sorter:SetAIWidth(1)
effectController:SetTargetCount( 1)
effectController:SetTargetPrompt( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_PUT_INTO_HAND")
effectController:ChooseTargetsWithFlags( NO_VALIDATION, EffectDC():Make_Targets(0), QUERY_FLAG_USE_TARGET_SORTER )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
if EffectDC() ~= nil then
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
target:GuidedReveal( ZONE_LIBRARY , ZONE_HAND )
target:PutInHand()
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
EffectController():ShuffleLibrary()
</RESOLUTION_TIME_ACTION>
<AI_AVAILABILITY step="untap" />
</ACTIVATED_ABILITY>
<AI_BASE_SCORE score="450" zone="ZONE_IN_PLAY" />
</CARD_V2>
Maybe for the repository that's around here somewhere.
- Attachments
-
DATA_DLC_KEVORZ.zip
- Survival of the Fittest
- (121.62 KiB) Downloaded 404 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 320 guests