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)



Card Creation Request Thread
User-made mods in DLC (Downloadable Content) form.
Get MTG cards here for your DotP that aren't available anywhere else!
Get MTG cards here for your DotP that aren't available anywhere else!
Moderator: CCGHQ Admins
Re: Card Creation Request Thread
by SoulStorm » 09 Feb 2013, 06:01
These are the sites I use for MTG art:NEMESiS wrote:Anybody know where I can get the full picture?
http://img.mogg.fr/HIRES/
viewtopic.php?f=15&t=445
viewtopic.php?p=4665#p4665
http://mws.mtgbr.com/full-01.htm
I also like using this site to see what art is available for each card:
http://magiccards.info/
And this plugin for photoshop does an amazing job when enlarging pictures to 512 x 376:
http://www.alienskin.com/blowup/index.aspx
Re: Card Creation Request Thread
by SoulStorm » 09 Feb 2013, 07:49
Ok, here's a card beyond my emergent duels scripting ability:
Prime Speaker Zegana
I'm still tweaking and tuning my
deck.
Thanks!
Prime Speaker Zegana
I'm still tweaking and tuning my


Thanks!
Re: Card Creation Request Thread
by thefiremind » 09 Feb 2013, 12:26
NEMESiS wrote:Hello, I am trying to make the Eldrazi Conscription but I am having a difficult time adding the annihilatior mechanic. I copied the enchantment Lifelink and "Frankensteined" some parts together but I don't know what to change....
You were very close to the solution, but there's no CHARACTERISTIC_ANNIHILATOR, so you have to grant the annihilator ability, like this:
- Code: Select all
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():GrantAbility(1)
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY resource_id="1" badge="BADGE_ANNIHILATOR" filter_zone="ZONE_IN_PLAY">
I can't find a full Eldrazi Conscription picture, either. If I were you, I would add empty space below the picture so that the full picture would fit, then fill the empty space with colors from the picture itself (Photoshop has a tool for this), and finally blur that new space a lot so it doesn't get noticed.NEMESiS wrote:(The legs are cut off which makes it look weird, although most people would not notice it)
Anybody know where I can get the full picture? http://mws.mtgbr.com doesn't have it either.
I made an attempt at this, but it was harder than I thought and I don't like the result very much, anyway if you want to use it, here it is:
Eldrazi_Conscription.zip
- not the card, just the picture (and not so good)
- (84.78 KiB) Downloaded 384 times
I'm trying to assemble a Simic deck as well, so I already coded her:
PRIME_SPEAKER_ZEGANA_366416.zip
- (111.84 KiB) Downloaded 339 times

< 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: Card Creation Request Thread
by SoulStorm » 09 Feb 2013, 12:51
You rock as always!thefiremind wrote:I'm trying to assemble a Simic deck as well, so I already coded her:PRIME_SPEAKER_ZEGANA_366416.ziptested and working.

It will be interesting to see how different our two decks turn out.
I've already taken out Vigor because it didn't add more to the deck than the shoddy AI took away.
Re: Card Creation Request Thread
by Jrabieh » 09 Feb 2013, 15:20
Sooo was that a no go on the Burning Inquiry? Could someone at least tell me what cards I should be looking at to copy some scripts? It would be much appreciated...
Re: Card Creation Request Thread
by thefiremind » 09 Feb 2013, 16:38
It wasn't a no go... maybe the modders (me included) had something else to do?Jrabieh wrote:Sooo was that a no go on the Burning Inquiry? Could someone at least tell me what cards I should be looking at to copy some scripts? It would be much appreciated...

- Code: Select all
<RESOLUTION_TIME_ACTION>
local NumCards = 2
while (NumCards > 0) do
NumCards = NumCards - 1
EffectController():DrawCard()
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
EffectController():DiscardRandomCard()
</RESOLUTION_TIME_ACTION>
- Code: Select all
<RESOLUTION_TIME_ACTION>
local NumCards = 3
while (NumCards > 0) do
NumCards = NumCards - 1
EffectController():DrawCard()
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local NumCards = 3
while (NumCards > 0) do
NumCards = NumCards - 1
EffectController():DiscardRandomCard()
end
</RESOLUTION_TIME_ACTION>
- Code: Select all
<RESOLUTION_TIME_ACTION>
for i=0,MTG():GetNumberOfPlayers()-1 do
local player = MTG():GetNthPlayer(i)
if player ~= nil then
local NumCards = 3
while (NumCards > 0) do
NumCards = NumCards - 1
player:DrawCard()
end
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
for i=0,MTG():GetNumberOfPlayers()-1 do
local player = MTG():GetNthPlayer(i)
if player ~= nil then
local NumCards = 3
while (NumCards > 0) do
NumCards = NumCards - 1
player:DiscardRandomCard()
end
end
end
</RESOLUTION_TIME_ACTION>

< 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: Card Creation Request Thread
by NEMESiS » 09 Feb 2013, 17:41
Thank you soulstorm and thefiremind. The card is working fine now.thefiremind wrote:NEMESiS wrote:Hello, I am trying to make the Eldrazi Conscription but I am having a difficult time adding the annihilatior mechanic. I copied the enchantment Lifelink and "Frankensteined" some parts together but I don't know what to change....
You were very close to the solution, but there's no CHARACTERISTIC_ANNIHILATOR, so you have to grant the annihilator ability, like this:(Use GrantAbility(1) and add resource_id="1" to the triggered ability.)
- Code: Select all
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():GrantAbility(1)
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY resource_id="1" badge="BADGE_ANNIHILATOR" filter_zone="ZONE_IN_PLAY">I can't find a full Eldrazi Conscription picture, either. If I were you, I would add empty space below the picture so that the full picture would fit, then fill the empty space with colors from the picture itself (Photoshop has a tool for this), and finally blur that new space a lot so it doesn't get noticed.NEMESiS wrote:(The legs are cut off which makes it look weird, although most people would not notice it)
Anybody know where I can get the full picture? http://mws.mtgbr.com doesn't have it either.
I made an attempt at this, but it was harder than I thought and I don't like the result very much, anyway if you want to use it, here it is:Eldrazi_Conscription.zipI'm trying to assemble a Simic deck as well, so I already coded her:PRIME_SPEAKER_ZEGANA_366416.ziptested and working.

I do have two other questions. Is there a way for me to use custom made basic lands? I made a batch and works great but when ever I try to use a deck like Garruk and Liliana against it the game immediately crashes...
Also Here is my Broodbirthing card and I copied the code from feast of blood to prevent it from casting (works fine) but it only looks for just a spawn rather then a eldrazi spawn as a restriction. What do I need to add? I've tried many other "solutions" and no go.
- Code: Select all
<CASTING_COST cost="{1}{R}" />
<TYPE metaname="Sorcery" />
<EXPANSION value="ZEN" />
<RARITY metaname="C" />
<STATIC_ABILITY active_zone="ZONE_HAND">
<CONTINUOUS_ACTION>
if (RSN_CountPlayerCardsOfTypeAndSubTypeInZone( EffectController(), CARD_TYPE_CREATURE, CREATURE_TYPE_SPAWN, ZONE_IN_PLAY ) < 1) then
RSN_CantBePlayed( Object() )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<SPELL_ABILITY filter_zone="ZONE_IN_PLAY">
</CARD_V2>
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by thefiremind » 09 Feb 2013, 19:11
I tried to make a deck that uses snow-covered basic lands and I had no problems (I gave up with the idea just because snow mana doesn't work). Make your custom lands, then modify the LAND_POOL XML of the deck you are planning to use your lands with, substituting the existing lands with your lands. Be sure not to use an ID that is already used for other LAND_POOL XMLs (this is always important, but it's even more important if you build a different land pool). Another thing I did was to substitute the lands in the land pool without changing their order and their quantity: even if you only make 1 of each basic land type, don't make a land pool of only 5 cards, but substitute all the Mountains of the LAND_POOL XML with your Mountain, all the Forests with your Forest, and so on.NEMESiS wrote:Is there a way for me to use custom made basic lands? I made a batch and works great but when ever I try to use a deck like Garruk and Liliana against it the game immediately crashes...
Why? Brood Birthing is always playable, it just gives only 1 token if you don't control an Eldrazi Spawn. Remove the static ability and check if you control an Eldrazi Spawn in the resolution, with something like this:NEMESiS wrote:I copied the code from feast of blood to prevent it from casting
- Code: Select all
local filter = Object():GetFilter()
filter:Clear()
filter:SetZone( ZONE_IN_PLAY )
filter:SetController( EffectController() )
filter:AddSubType( CREATURE_TYPE_ELDRAZI )
filter:AddSubType( CREATURE_TYPE_SPAWN )
filter:NotTargetted()
local token_count = 3
if filter:CountStopAt(1) == 0 then
token_count = 1
end
MTG():PutTokensIntoPlay( "TOKEN_ELDRAZI_SPAWN_...", token_count, EffectController() )
- Code: Select all
filter:AddExtra( FILTER_EXTRA_ANY_SUB_TYPE )
< 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: Card Creation Request Thread
by NEMESiS » 09 Feb 2013, 20:10
I basically made made 20 different lands (4 forest, 4 islands, 4 mountains, 4 swamps and 4 plains) all with their own unique IDs and pictures and added them to the deck's land pool xml. It worked great when I used it but whenever I tried to use a standard deck against it the game crashes as it tries to start the match. Oddly enough, if I substitute one of each swamps, plains, Island, mountain and forest back in, it no longer crashes but some of my made lands won't show up anymore (mainly the forest). Any ideas? Here is what my land pool looks like:thefiremind wrote:I tried to make a deck that uses snow-covered basic lands and I had no problems (I gave up with the idea just because snow mana doesn't work). Make your custom lands, then modify the LAND_POOL XML of the deck you are planning to use your lands with, substituting the existing lands with your lands. Be sure not to use an ID that is already used for other LAND_POOL XMLs (this is always important, but it's even more important if you build a different land pool). Another thing I did was to substitute the lands in the land pool without changing their order and their quantity: even if you only make 1 of each basic land type, don't make a land pool of only 5 cards, but substitute all the Mountains of the LAND_POOL XML with your Mountain, all the Forests with your Forest, and so on.
- Code: Select all
<DECK personality="" deck_box_image="locked" deck_box_image_locked="locked" content_pack="0" never_available="true" uid="17">
<CARD name="FOREST_7772226" deckOrderId="0" />
<CARD name="FOREST_7772227" deckOrderId="1" />
<CARD name="FOREST_7772228" deckOrderId="2" />
<CARD name="FOREST_7772229" deckOrderId="3" />
<CARD name="ISLAND_7772230" deckOrderId="4" />
<CARD name="ISLAND_7772231" deckOrderId="5" />
<CARD name="ISLAND_7772232" deckOrderId="6" />
<CARD name="ISLAND_7772233" deckOrderId="7" />
<CARD name="MOUNTAIN_7772234" deckOrderId="8" />
<CARD name="MOUNTAIN_7772235" deckOrderId="9" />
<CARD name="MOUNTAIN_7772236" deckOrderId="10" />
<CARD name="MOUNTAIN_7772237" deckOrderId="11" />
<CARD name="SWAMP_7772238" deckOrderId="12" />
<CARD name="SWAMP_7772239" deckOrderId="13" />
<CARD name="SWAMP_7772240" deckOrderId="14" />
<CARD name="SWAMP_7772241" deckOrderId="15" />
<CARD name="PLAINS_7772242" deckOrderId="16" />
<CARD name="PLAINS_7772243" deckOrderId="17" />
<CARD name="PLAINS_7772244" deckOrderId="18" />
<CARD name="PLAINS_7772245" deckOrderId="19" />
</DECK>
Thanks, that fixed it! BTW, it only puts 3 tokens if there is one on the board, nothing about putting just one so I changed that part.Why? Brood Birthing is always playable, it just gives only 1 token if you don't control an Eldrazi Spawn. Remove the static ability and check if you control an Eldrazi Spawn in the resolution, with something like this:
Note that this code checks for permanents that are Eldrazi AND Spawn, which is what you need for this card. In the official cards you often seewhich would make the filter check for Eldrazi OR Spawn.
- Code: Select all
filter:AddExtra( FILTER_EXTRA_ANY_SUB_TYPE )
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by thefiremind » 09 Feb 2013, 21:05
Yes, that's it.NEMESiS wrote:Is it the uid="17" That I have to change?
Are you sure about this? The card says:NEMESiS wrote:BTW, it only puts 3 tokens if there is one on the board, nothing about putting just one so I changed that part.
If you control an Eldrazi Spawn, put three 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add

< 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: Card Creation Request Thread
by NEMESiS » 09 Feb 2013, 21:30
WOW, you are right.thefiremind wrote:Yes, that's it.NEMESiS wrote:Is it the uid="17" That I have to change?Are you sure about this? The card says:NEMESiS wrote:BTW, it only puts 3 tokens if there is one on the board, nothing about putting just one so I changed that part.
If you control an Eldrazi Spawn, put three 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Addto your mana pool." Otherwise, put one of those tokens onto the battlefield.


-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by NEMESiS » 14 Feb 2013, 01:05
Ok, I am going to ask a question that is probably too broad to be answered properly but anyways. I built a deck that all the cards seem to be working fine during a match but after I win and click play again or return to menu the game crashes. Anything I should know??? I know someone mentioned that cards should not use numbering larger then seven digits, is that correct? The deck also has only 1 swamp, the rest a custom made lands.
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Card Creation Request Thread
by RiiakShiNal » 14 Feb 2013, 02:35
Several people have reported that they created a deck and it and all the cards play fine, but afterwards the game crashes and if I remember correctly in most if not all of those cases the problem turned out to be that the Land Pool for the deck used a uid that was used for either another deck or another land pool. So my advice is check to make sure your land pool uid is actually unique. If that doesn't fix the problem then we may need to see the deck and cards to see if there are any other problems we can spot.
As for numbering for cards I would believe the file name probably doesn't matter as long as it matches what is in the XML, but for the multiverse id (in the XML), the number should probably be kept below the signed 32-bit integer limit (~2.147 billion) though the game might support full 32-bit unsigned integers for it (~4.2 billion).
The land configuration shouldn't be a problem as you can have decks with no basic land or no land at all.
As for numbering for cards I would believe the file name probably doesn't matter as long as it matches what is in the XML, but for the multiverse id (in the XML), the number should probably be kept below the signed 32-bit integer limit (~2.147 billion) though the game might support full 32-bit unsigned integers for it (~4.2 billion).
The land configuration shouldn't be a problem as you can have decks with no basic land or no land at all.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Card Creation Request Thread
by thefiremind » 14 Feb 2013, 09:37
Either this, or you made a card that creates one or more tokens but you forgot the TOKEN_REGISTRATION block.RiiakShiNal wrote:Several people have reported that they created a deck and it and all the cards play fine, but afterwards the game crashes and if I remember correctly in most if not all of those cases the problem turned out to be that the Land Pool for the deck used a uid that was used for either another deck or another land pool. So my advice is check to make sure your land pool uid is actually unique. If that doesn't fix the problem then we may need to see the deck and cards to see if there are any other problems we can spot.
< 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
Return to New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
Who is online
Users browsing this forum: No registered users and 2 guests