It is currently 18 Jun 2025, 20:18
   
Text Size

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!

Moderator: CCGHQ Admins

Re: Card Creation Request Thread

Postby SoulStorm » 09 Feb 2013, 06:01

NEMESiS wrote:Anybody know where I can get the full picture?
These are the sites I use for MTG art:

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
SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

Re: Card Creation Request Thread

Postby 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 {G} {U} deck.

Thanks!
SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

Re: Card Creation Request Thread

Postby 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">
(Use GrantAbility(1) and add resource_id="1" to the triggered ability.)

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


SoulStorm wrote:Ok, here's a card beyond my emergent duels scripting ability:

Prime Speaker Zegana
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
tested and working. :D
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Card Creation Request Thread

Postby SoulStorm » 09 Feb 2013, 12:51

thefiremind wrote:I'm trying to assemble a Simic deck as well, so I already coded her:
PRIME_SPEAKER_ZEGANA_366416.zip
tested and working. :D
You rock as always! :mrgreen:

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.
SoulStorm
 
Posts: 423
Joined: 24 Jun 2010, 22:48
Has thanked: 16 times
Been thanked: 11 times

Re: Card Creation Request Thread

Postby 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...
Jrabieh
 
Posts: 3
Joined: 07 Feb 2013, 13:21
Has thanked: 1 time
Been thanked: 0 time

Re: Card Creation Request Thread

Postby thefiremind » 09 Feb 2013, 16:38

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...
It wasn't a no go... maybe the modders (me included) had something else to do? :wink: Anyway it's not a difficult card. If you start from my Desperate Ravings:
Code: Select all
    <RESOLUTION_TIME_ACTION>
    local NumCards = 2
    while (NumCards &gt; 0) do
       NumCards = NumCards - 1
       EffectController():DrawCard()
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    EffectController():DiscardRandomCard()
    </RESOLUTION_TIME_ACTION>
This draws 2 and discards 1. Let's make it draw 3 and discard 3:
Code: Select all
    <RESOLUTION_TIME_ACTION>
    local NumCards = 3
    while (NumCards &gt; 0) do
       NumCards = NumCards - 1
       EffectController():DrawCard()
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local NumCards = 3
    while (NumCards &gt; 0) do
       NumCards = NumCards - 1
       EffectController():DiscardRandomCard()
    end
    </RESOLUTION_TIME_ACTION>
Now, this must happen for all players, not just the effect's controller. So, let's make another loop for both actions:
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 &gt; 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 &gt; 0) do
             NumCards = NumCards - 1
             player:DiscardRandomCard()
          end
       end
    end
    </RESOLUTION_TIME_ACTION>
Done! :D
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Card Creation Request Thread

Postby Jrabieh » 09 Feb 2013, 17:16

I can do this, thanks!
Jrabieh
 
Posts: 3
Joined: 07 Feb 2013, 13:21
Has thanked: 1 time
Been thanked: 0 time

Re: Card Creation Request Thread

Postby NEMESiS » 09 Feb 2013, 17:41

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:
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">
(Use GrantAbility(1) and add resource_id="1" to the triggered ability.)

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


SoulStorm wrote:Ok, here's a card beyond my emergent duels scripting ability:

Prime Speaker Zegana
I'm trying to assemble a Simic deck as well, so I already coded her:
PRIME_SPEAKER_ZEGANA_366416.zip
tested and working. :D
Thank you soulstorm and thefiremind. The card is working fine now. :D


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 ) &lt; 1) then
            RSN_CantBePlayed( Object() )
         end
      </CONTINUOUS_ACTION>
   </STATIC_ABILITY>
  <SPELL_ABILITY filter_zone="ZONE_IN_PLAY">

</CARD_V2>
User avatar
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

Postby thefiremind » 09 Feb 2013, 19:11

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...
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:I copied the code from feast of blood to prevent it from casting
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:
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() )
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 see
Code: Select all
filter:AddExtra( FILTER_EXTRA_ANY_SUB_TYPE )
which would make the filter check for Eldrazi OR Spawn.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Card Creation Request Thread

Postby NEMESiS » 09 Feb 2013, 20:10

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

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>
Is it the uid="17" That I have to change? The file has its own unique name too.

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 see
Code: Select all
filter:AddExtra( FILTER_EXTRA_ANY_SUB_TYPE )
which would make the filter check for Eldrazi OR Spawn.
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.
User avatar
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

Postby thefiremind » 09 Feb 2013, 21:05

NEMESiS wrote:Is it the uid="17" That I have to change?
Yes, that's it.

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.
Are you sure about this? The card says:
If you control an Eldrazi Spawn, put three 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add {1} to your mana pool." Otherwise, put one of those tokens onto the battlefield.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

Re: Card Creation Request Thread

Postby NEMESiS » 09 Feb 2013, 21:30

thefiremind wrote:
NEMESiS wrote:Is it the uid="17" That I have to change?
Yes, that's it.

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.
Are you sure about this? The card says:
If you control an Eldrazi Spawn, put three 0/1 colorless Eldrazi Spawn creature tokens onto the battlefield. They have "Sacrifice this creature: Add {1} to your mana pool." Otherwise, put one of those tokens onto the battlefield.
WOW, you are right. :oops: OK that seems to work now. Thanks =D>
User avatar
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

Postby 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.
User avatar
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

Postby 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.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Card Creation Request Thread

Postby thefiremind » 14 Feb 2013, 09:37

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.
Either this, or you made a card that creates one or more tokens but you forgot the TOKEN_REGISTRATION block.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
User avatar
thefiremind
Programmer
 
Posts: 3515
Joined: 07 Nov 2011, 10:55
Has thanked: 118 times
Been thanked: 722 times

PreviousNext

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

Main Menu

User Menu

Our Partners


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 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 2 guests

Login Form