It is currently 04 Aug 2025, 07:52
   
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 KnowledgeJunkie7 » 30 Apr 2013, 22:29

Any chance someone could code Bioshift? I was looking at thefiremind's Simic Guildmage from his DLC but I can't quite figure out how to tell it to choose how many +1 counters to remove/add from the selected creatures.
KnowledgeJunkie7
 
Posts: 11
Joined: 26 Apr 2013, 21:08
Has thanked: 0 time
Been thanked: 0 time

Re: Card Creation Request Thread

Postby AriesKiki » 30 Apr 2013, 22:58

Mates, can I request Frost Titan and/or Immerwolf? Thanks :)
User avatar
AriesKiki
 
Posts: 53
Joined: 05 Mar 2013, 17:46
Has thanked: 15 times
Been thanked: 3 times

Re: Card Creation Request Thread

Postby RiiakShiNal » 01 May 2013, 02:18

The card Frost Titan can't be coded because the engine does not allow for countering abilities. For example if Frost Titan is tapped and there is an untapped Royal Assassin (controlled by an opponent) then the Royal Assassin's ability could kill the Frost Titan without the possibility of being countered due to Frost Titan's first ability regardless of how much mana is available (even if none is available).
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Card Creation Request Thread

Postby sumomole » 01 May 2013, 02:23

KnowledgeJunkie7 wrote:Any chance someone could code Bioshift? I was looking at thefiremind's Simic Guildmage from his DLC but I can't quite figure out how to tell it to choose how many +1 counters to remove/add from the selected creatures.
I modified firemind's code, I hope it can work fine.

Code: Select all
  <SPELL_ABILITY filter_zone="ZONE_IN_PLAY">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Move any number of +1/+1 counters from target creature onto another target creature with the same controller.]]></LOCALISED_TEXT>
    <TARGET_DEFINITION id="0">
    local filter = Object():GetFilter()
    local n_players = MTG():GetNumberOfPlayers()
    local possible_players = {}
    local n_possible_players = 0
    for i=0,n_players-1 do
       local player = MTG():GetNthPlayer(i)
       if player ~= nil then
          filter:Clear()
          filter:AddCardType( CARD_TYPE_CREATURE )
          filter:SetZone( ZONE_IN_PLAY )
          filter:SetController( player )
          if filter:CountStopAt(2) == 2 then
             possible_players[n_possible_players] = player
             n_possible_players = n_possible_players+1
          end
       end
    end

    MTG():ClearFilterMarkedObjectsInZone( ZONE_IN_PLAY )
    filter:Clear()
    filter:AddCardType( CARD_TYPE_CREATURE )
    filter:SetZone( ZONE_IN_PLAY )
    local filter_count = filter:EvaluateObjects()
    if filter_count &gt; 0 then
       for i=0,filter_count-1 do
           local candidate = filter:GetNthEvaluatedObject(i)
          for j=0,n_possible_players-1 do
             if candidate:GetController() == possible_players[j] then
                 candidate:MarkForFilter()
             end
           end
       end
    end
    filter:SetMarkedObjectsOnly()
    filter:SetHint( HINT_NEUTRAL, EffectController() )
    </TARGET_DEFINITION>
    <TARGET_DETERMINATION>
    return AtLeastNTargetsFromDefinition(0, 2)
    </TARGET_DETERMINATION>
    <PLAY_TIME_ACTION target_choosing="1">
    local player = EffectController()
    player:SetTargetCount( 2 )
    player:SetTargetPrompt( 0, "CARD_QUERY_CHOOSE_CREATURE_MOVE_PLUS1_PLUS1_FROM" )
    player:SetTargetPrompt( 1, "CARD_QUERY_CHOOSE_CREATURE_MOVE_PLUS1_PLUS1_TO" )
    player:ChooseTargets( 0, EffectDC():Make_Targets(0) )
    </PLAY_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local c_from = EffectDC():Get_Targets(0) and EffectDC():Get_Targets(0):Get_CardPtr(0)
    if c_from ~= nil then
      local player = EffectController()
      local count_counter = c_from:CountCounters( MTG():PlusOnePlusOneCounters() )
      player:BeginNewNumericalChoice()
      player:AddNumericalChoiceAnswer(count_counter)
      player:AskNumericalChoiceQuestion("CARD_QUERY_CHOOSE_AMOUNT_COUNTER")   
    end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION>
    local targetDC = EffectDC():Get_Targets(0)
    if targetDC ~= nil then
       local c_from = targetDC:Get_CardPtr(0)
       local c_to = targetDC:Get_CardPtr(1)
       if c_from ~= nil and c_to ~= nil and c_from:GetZone() == ZONE_IN_PLAY and c_to:GetZone() == ZONE_IN_PLAY and
       c_from:GetController() == c_to:GetController() and c_from:CountCounters( MTG():PlusOnePlusOneCounters() ) &gt; 0 then
        local amount = Object():GetNumericalChoiceResult()
          c_to:AddCounters( MTG():PlusOnePlusOneCounters(), amount )
          c_from:RemoveCounters( MTG():PlusOnePlusOneCounters(), amount )
       end
    end
    </RESOLUTION_TIME_ACTION>
  </SPELL_ABILITY>
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby AriesKiki » 01 May 2013, 04:07

:/ thanks anyway, Riiak... it is a shame because it's a good card.
User avatar
AriesKiki
 
Posts: 53
Joined: 05 Mar 2013, 17:46
Has thanked: 15 times
Been thanked: 3 times

Re: Card Creation Request Thread

Postby damienx45 » 01 May 2013, 17:46

User avatar
damienx45
 
Posts: 69
Joined: 07 Mar 2013, 00:19
Has thanked: 4 times
Been thanked: 0 time

Re: Card Creation Request Thread

Postby KnowledgeJunkie7 » 01 May 2013, 18:37

Here's Counterbore, let me know if it gives you any trouble (the .tdx goes into "ART_ASSETS\ILLUSTRATIONS" and the .xml goes into "CARDS"

(Used code from "Cancel" from the base game and "Surgical Extractioin" provided by Sumomole further up the thread.

EDIT: Also Armament master is in Riak's DLC v 1.2.2 found here: viewtopic.php?f=102&t=7452&p=92576 . Also Riak made Wildslayer Elves for 2010 (viewtopic.php?f=100&t=4816&p=62292&hilit=Wildslayer+elves#p62292) might get with him about an update for it.

EDIT 2: Oh yeah I see what Riak did with that version mine would have errors- I deleted mine use Riak's.
Last edited by KnowledgeJunkie7 on 01 May 2013, 23:01, edited 1 time in total.
KnowledgeJunkie7
 
Posts: 11
Joined: 26 Apr 2013, 21:08
Has thanked: 0 time
Been thanked: 0 time

Re: Card Creation Request Thread

Postby RiiakShiNal » 01 May 2013, 21:33

My mod also has Counterbore not just Armament Master.

The card Wildslayer Elves is very simple and can be auto-generated like this:
Wildslayer Elves | Open
Code: Select all
<?xml version='1.0'?>
<CARD_V2>
   <FILENAME text="WILDSLAYER_ELVES_135436" />
   <CARDNAME text="WILDSLAYER_ELVES" />
   <TITLE>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Wildslayer Elves]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Elfes tueurs sauvages]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Elfos destructores salvajes]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wildschlächter-Elfen]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Assassini Selvaggi Elfici]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[野生薙ぎのエルフ]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Wildslayer Elves]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Неистовые Эльфы]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Elfos Matança-Selvagem]]></LOCALISED_TEXT>
   </TITLE>
   <MULTIVERSEID value="135436" />
   <ARTID value="RSN135436" />
   <ARTIST name="Dave Kendall" />
   <CASTING_COST cost="{3}{G}" />
   <FLAVOURTEXT>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Some elves battled too long in the deep shadow, their swords dipped too often in tainted flesh and poisoned blood.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Certains elfes avaient combattu depuis trop longtemps dans les ténèbres, et leurs épées avaient trop souvent goûté à la chair corrompue et au sang empoisonné.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Algunos elfos lucharon demasiado en la oscuridad, con sus espadas clavadas en carne contaminada y sangre envenenada.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Einige Elfen kämpften zu lange im tiefsten Schatten und rammten ihre Schwerter zu oft in verdorbenes Fleisch und vergiftetes Blut.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Alcuni elfi hanno combattuto troppo a lungo nelle profonde oscurità e troppo spesso le loro lame sono state immerse in carne corrotta e sangue avvelenato.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エルフの中には、暗い影の中で長く戦いすぎたため、剣が穢れた肉や毒を帯びた血につかりすぎてしまった者もいる。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Some elves battled too long in the deep shadow, their swords dipped too often in tainted flesh and poisoned blood.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Некоторые эльфы слишком долго сражались в темноте, их мечи слишком часто вонзались в загнивающую плоть и обагрялись отравленной кровью.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Alguns elfos combateram por tempo demais na profunda escuridão, tendo suas espadas enterradas freqüentemente em carnes contaminadas e em sangue envenenado.]]></LOCALISED_TEXT>
   </FLAVOURTEXT>
   <TYPE metaname="Creature" />
   <SUB_TYPE metaname="Elf" order_en-US="0" order_fr-FR="0" order_es-ES="1" order_de-DE="0" order_it-IT="1" order_jp-JA="0" order_ko-KR="0" order_ru-RU="0" order_pt-BR="0" />
   <SUB_TYPE metaname="Warrior" order_en-US="1" order_fr-FR="1" order_es-ES="0" order_de-DE="1" order_it-IT="0" order_jp-JA="1" order_ko-KR="1" order_ru-RU="1" order_pt-BR="1" />
   <EXPANSION value="SHM" />
   <RARITY metaname="C" />
   <POWER value="3" />
   <TOUGHNESS value="3" />
   <STATIC_ABILITY commaspace="0">
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Wither]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Flétrissure]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Debilitar.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Verdorren]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Avvizzire]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[萎縮]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Wither]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Увядание]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Murchar]]></LOCALISED_TEXT>
      <CONTINUOUS_ACTION>
         local oCharacteristics = Object():GetCurrentCharacteristics()
         if (oCharacteristics ~= nil) then
            oCharacteristics:Characteristic_Set( CHARACTERISTIC_WITHER, 1 )
         end
      </CONTINUOUS_ACTION>
   </STATIC_ABILITY>
</CARD_V2>
For 2010 I also made Twinblade Slasher, Gilt-Leaf Archdruid, Ezuri's Brigade, and Lys Alana Bowmaster. Though I don't remember how many of those I released because of the lost interest since most people had moved on to 2012 by the time I stopped modding for 2010.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Card Creation Request Thread

Postby sumomole » 01 May 2013, 23:31

damienx45 wrote:i would like to request:
PS: Kinship card can be found in someone's mod, e.g. kevlahnota.
Attachments
CARDS.zip
Magus of the Abyss; Magus of the Vineyard; Rootgrapple; Luminescent Rain; Heal the Scars
(565.51 KiB) Downloaded 268 times
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby spakattack » 02 May 2013, 13:46

I'm doing a tribute deck to my cousin who introduced me to mtg many years ago, I haven't spoke to him in several months, and I want to surprise and show him a replica of his old mono black deck that he used to have. I have about 90% of the cards created that are in his deck. The only one I don't think I have is Wound Reflection. I would greatly appreciate it if someone could please code that for me (just need the .xml, I can get the images). I would also like to put a Dying Wish in it from gatecrash because it would go well with Kokusho, the Evening Star and Innocent Blood or Devour Flesh (which i have), and other cards in his deck.

Just to clarify, the cards I would like coded are Wound Reflection and Dying Wish. If anyone could help me out, I would be eternally grateful. [-o< :lol:
spakattack
 
Posts: 32
Joined: 30 Apr 2013, 21:45
Has thanked: 9 times
Been thanked: 2 times

Re: Card Creation Request Thread

Postby sumomole » 02 May 2013, 15:01

spakattack wrote:I'm doing a tribute deck to my cousin who introduced me to mtg many years ago, I haven't spoke to him in several months, and I want to surprise and show him a replica of his old mono black deck that he used to have. I have about 90% of the cards created that are in his deck. The only one I don't think I have is Wound Reflection. I would greatly appreciate it if someone could please code that for me (just need the .xml, I can get the images). I would also like to put a Dying Wish in it from gatecrash because it would go well with Kokusho, the Evening Star and Innocent Blood or Devour Flesh (which i have), and other cards in his deck.

Just to clarify, the cards I would like coded are Wound Reflection and Dying Wish. If anyone could help me out, I would be eternally grateful. [-o< :lol:
Attachments
cards.rar
Wound Reflection & Dying Wish
(2.42 KiB) Downloaded 415 times
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Card Creation Request Thread

Postby spakattack » 02 May 2013, 16:04

Thanks Sumomole, your the greatest, lol. I'll test these out right now. I'm so psyched, It's gonna be pretty cool to show my cousin his old deck.

EDIT: I just got done adding the card art and I was looking at some instants and creatures on gatherer, and I remembered that he had a Horobi's Whisper in the deck to use with Rend Flesh(i have rend flesh), and 1 Xathrid Demon. Is it possible to do splice cards? If so could you please do these 2 for me. I think those the last cards I missed.
spakattack
 
Posts: 32
Joined: 30 Apr 2013, 21:45
Has thanked: 9 times
Been thanked: 2 times

Re: Card Creation Request Thread

Postby RiiakShiNal » 02 May 2013, 17:58

At least one of the rulings for "Splice onto Arcane" can't be coded:
702.45b You can’t choose to use a splice ability if you can’t make the required choices (targets, etc.) for that card’s instructions. You can’t splice any one card onto the same spell more than once. If you’re splicing more than one card onto a spell, reveal them all at once and choose the order in which their instructions will be followed. The instructions on the main spell have to be followed first.
We can't show them all at once due to engine limitations, but that same limitation does give us some ability to choose which order the instructions will be followed in.

This section may not be possible to implement:
702.45d Choose targets for the added text normally (see rule 601.2c). Note that a spell with one or more targets will be countered if all of its targets are illegal on resolution.
For example if you were to splice Glacial Ray onto Cleanfall and you target a creature, if that creature is destroyed or otherwise becomes an illegal target before Cleanfall with the spliced Glacial Ray resolves then it should be countered as per the ruling (meaning enchantments would remain). I don't know if the DotP engine would handle a case like this or not.

Likewise if you splice Evermind onto Glacial Ray (targeting a creature) and the creature becomes an invalid target you should not be able to draw a card because the spell should be countered.

If the engine itself does not handle those situations then that is another part of the ruling we will not be able to implement.

Xathrid Demon has already been coded and is present in my mod.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Card Creation Request Thread

Postby spakattack » 02 May 2013, 18:51

oh i didn't see the thread for your DLC, I'll get that right now. It's a shame about the splice arcane effect on Horobi's Whisper though. What about the code for just "If you control a Swamp, destroy target nonblack creature." I'm just a regular dude and don't know how to do that, but I could just use the code from the card doom blade and replace all the other information, but it won't have the "if you control a swamp" effect.
spakattack
 
Posts: 32
Joined: 30 Apr 2013, 21:45
Has thanked: 9 times
Been thanked: 2 times

Re: Card Creation Request Thread

Postby RiiakShiNal » 02 May 2013, 19:07

"If you control a Swamp, destroy target nonblack creature." is relatively easy to code:
Code: Select all
      <TARGET_DEFINITION id="0">
         local filter = Object():GetFilter()
         filter:Clear()
         filter:AddCardType( CARD_TYPE_CREATURE )
         filter:AddColour( COLOUR_BLACK )
         filter:AddExtra( FILTER_EXTRA_FLIP_COLOUR )
         filter:SetZone( ZONE_IN_PLAY )
         filter:SetHint( HINT_ENEMY, EffectController() )
      </TARGET_DEFINITION>
      <TARGET_DETERMINATION>
         return AtLeastOneTargetFromDefinition(0)
      </TARGET_DETERMINATION>
      <PLAY_TIME_ACTION target_choosing="1">
         EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_DESTROY", EffectDC():Make_Targets(0) )
      </PLAY_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local filter = Object():GetFilter()
         filter:Clear()
         filter:AddSubType( LAND_TYPE_SWAMP )
         filter:SetController( EffectController() )
         filter:SetZone( ZONE_IN_PLAY )
         local hasSwamp = (filter:CountStopAt(1) == 1)
         if (hasSwamp) then
            local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
            if (target ~= nil) then
               target:Destroy()
            end
         end
      </RESOLUTION_TIME_ACTION>
It checks to see if you have a swamp at resolution time (as per the Horobi's Whisper rulings). You could still target a creature, but if you don't have a swamp at resolution time (for example someone destroyed your last one with a Strip Mine or something, or you got black mana from something else like a Vault of Whispers and don't actually have a swamp) then the creature won't be destroyed.
Last edited by RiiakShiNal on 02 May 2013, 19:10, edited 1 time in total.
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 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 1 guest

Main Menu

User Menu

Our Partners


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 1 guest

Login Form