It is currently 26 Apr 2024, 21:32
   
Text Size

Duels of the Planeswalkers 2013

New decks and cards for Stainless Games' release

Moderator: CCGHQ Admins

Re: Duels of the Planeswalkers 2013

Postby sadlyblue » 22 Jun 2012, 19:19

Btw, found Spiketail Hatchling. Good news for CounterSpell().
sadlyblue
 
Posts: 175
Joined: 06 Feb 2012, 13:18
Has thanked: 18 times
Been thanked: 16 times

Re: Duels of the Planeswalkers 2013

Postby pcastellazzi » 23 Jun 2012, 01:48

Code of Cloudpost from DOTP2013.

Code: Select all
<?xml version='1.0'?>
<CARD_V2>
  <FILENAME text="CLOUDPOST_284524" />
  <CARDNAME text="CLOUDPOST" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Cloudpost]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Guet des nuages]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Atalaya en las nubes]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wolkenposten]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Torre delle Nubi]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[雲上の座]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[클라우드포스트]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Облачная Застава]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Posto das Nuvens]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="284524" />
  <ARTID value="51107" />
  <ARTIST name="Martina Pilcerova" />
  <CASTING_COST cost="" />
  <FLAVOURTEXT>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“He watches from above. He watches from below. He watches from within.”
—Inscription on Tel-Jilad, the Tree of Tales]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Il observe depuis les hauteurs. Il observe depuis les profondeurs. Il observe depuis l’intérieur. »
—Inscription sur Tel-Jilad, l’Arbre des Récits]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Él observa desde lo alto. Él observa desde abajo. Él observa desde adentro.”
—Inscripción en Tel-Jilad, el Árbol de los cuentos]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Er wacht von oben. Er wacht von unten. Er wacht von innen.“
—Einkerbung im Tel-Jilad, dem Baum der Sagen]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Egli guarda dall’alto. Guarda da sotto. Guarda da dentro.”
—Iscrizione su Tel-Jilad, l’Albero dei Racconti]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「彼は上から見つめている。 彼は下から見つめている。 彼は中から見つめている。」
—伝承の樹テル=ジラードの碑文]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“그는 하늘에서 우리를 감시한다. 그는 땅밑에서 우리를 감시한다. 그는 우리 속에서 우리를 감시한다.”
—이야기의 나무 텔-질라드에 새겨진 문구]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[«Он смотрит сверху. Он смотрит снизу. Он смотрит изнутри».
— Надпись на Тел-Джиладе, Древе Преданий]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“Ele observa de cima. Ele observa de baixo. Ele observa de dentro.”
— Inscrição em Tel-Jilad, a Árvore dos Contos]]></LOCALISED_TEXT>
  </FLAVOURTEXT>
  <TYPE metaname="Land" />
  <SUB_TYPE metaname="Locus" order_de-DE="0" order_es-ES="0" order_fr-FR="0" order_it-IT="0" order_jp-JA="0" order_ko-KR="0" order_pt-BR="0" order_ru-RU="0" />
  <EXPANSION value="DPG" />
  <RARITY metaname="C" />
  <TRIGGERED_ABILITY internal="1" filter_zone="ZONE_IN_PLAY">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Cloudpost enters the battlefield tapped.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Le Guet des nuages arrive sur le champ de bataille engagé.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[La Atalaya en las nubes entra al campo de batalla girada.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Der Wolkenposten kommt getappt ins Spiel.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[La Torre delle Nubi entra nel campo di battaglia TAPpata.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[雲上の座はタップ状態で戦場に出る。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[클라우드포스트는 탭된 채로 전장에 들어온다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Облачная Застава выходит на поле битвы повернутой.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Posto das Nuvens entra no campo de batalha virado.]]></LOCALISED_TEXT>
    <TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_IN_PLAY" />
    <RESOLUTION_TIME_ACTION>
    if TriggerObject() ~= nil then
       TriggerObject():ComesIntoPlayTapped()
    end
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
  <STATIC_ABILITY filter_zone="ZONE_IN_PLAY">
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[{T}: Add {1} to your mana pool for each Locus on the battlefield.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[{T}: Ajoutez {1} à votre réserve pour chaque site sur le champ de bataille.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[{T}: Agrega {1} a tu reserva de maná por cada Sitio en el campo de batalla.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[{T}: Erhöhe deinen Manavorrat für jeden Ort im Spiel um {1}.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[{T}: Aggiungi {1} alla tua riserva di mana per ogni Luogo sul campo di battaglia.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[{T}:あなたがコントロールする神座1つにつき、あなたのマナ・プールに{1}を加える。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[{T}: 전장에 있는 궤적 한 개당 당신의 마나풀에 {1}를 추가한다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[{T}: добавьте {1} в ваше хранилище маны за каждое Место на поле битвы.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[{T}: Adicione {1} à sua reserva de mana para cada Local no campo de batalha.]]></LOCALISED_TEXT>
    <CONTINUOUS_ACTION layer="6">
    local characteristics = Object():GetCurrentCharacteristics()
    local filter = Object():GetFilter()
    local loci_count
    filter:Clear()
    filter:AddSubType(LAND_TYPE_LOCUS)
    filter:SetZone(ZONE_IN_PLAY)
    loci_count = filter:Count()
    if loci_count ~= 0 then
       characteristics:GrantAbility(loci_count)
    end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <MANA_ABILITY resource_id="2" filter_zone="ZONE_IN_PLAY">
    <PRODUCES amount="{2}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="1" filter_zone="ZONE_IN_PLAY">
    <PRODUCES amount="{1}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="3" filter_zone="ZONE_IN_PLAY">
    <PRODUCES amount="{3}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="4" filter_zone="ZONE_IN_PLAY">
    <PRODUCES amount="{4}" />
  </MANA_ABILITY>
  <MANA_ABILITY resource_id="5" filter_zone="ZONE_IN_PLAY">
    <PRODUCES amount="{5}" />
  </MANA_ABILITY>
  <MANA_ABILITY auto_skip="1" resource_id="6" filter_zone="ZONE_IN_PLAY">
    <PRODUCES amount="{6}" />
  </MANA_ABILITY>
</CARD_V2>
Dynamic mana generation is a no go :(
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
User avatar
pcastellazzi
 
Posts: 184
Joined: 25 Apr 2012, 00:40
Location: Montevideo, Uruguay
Has thanked: 11 times
Been thanked: 30 times

Re: Duels of the Planeswalkers 2013

Postby pcastellazzi » 23 Jun 2012, 02:01

The code of all the cards is attached.
Attachments
dotp-2013-cards.zip
DOTP2013 core cards
(1.47 MiB) Downloaded 953 times
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
User avatar
pcastellazzi
 
Posts: 184
Joined: 25 Apr 2012, 00:40
Location: Montevideo, Uruguay
Has thanked: 11 times
Been thanked: 30 times

Re: Duels of the Planeswalkers 2013

Postby sumomole » 23 Jun 2012, 02:40

pcastellazzi wrote:The code of all the cards is attached.
Hello!
Could you release the download link of new pack/unpack tools?
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Duels of the Planeswalkers 2013

Postby MisterBenn » 23 Jun 2012, 02:46

pcastellazzi wrote:Dynamic mana generation is a no go :(
Could we not supply a card with multiple mana abilities like Cloudpost has, but use more logic in the continuous action to activate permutations of mana abilities to be dynamic enough?

Edit: I see there is a bit more control for the AI:

Code: Select all
  <AI_AVAILABILITY type="in_response" />
  <AI_AVAILABILITY step="begin_combat" turn="their_turn" />
  <AI_AVAILABILITY step="main_1" turn="my_turn" />
  <AI_AVAILABILITY step="declare_attackers" turn="their_turn" />
  <AI_AVAILABILITY step="declare_blockers" />
  <AI_AVAILABILITY step="end_of_turn" />
  <AI_BASE_SCORE score="1200" zone="ZONE_HAND" />
MisterBenn
 
Posts: 97
Joined: 19 Mar 2011, 16:19
Has thanked: 24 times
Been thanked: 11 times

Re: Duels of the Planeswalkers 2013

Postby pcastellazzi » 23 Jun 2012, 06:54

sumomole wrote:Could you release the download link of new pack/unpack tools?
I modified WadProgram to simple unpack de new format following the recommendations given by Gibbed.

This version can only unpack WAD files. To use it run from the command line

Code: Select all
java -jar wad-extractor.jar <one or more wad files>
The command will extract the files in the current directory.
Attachments
wad-extractor.zip
Very simple DOTP2013 Wad Extractor
(5.07 KiB) Downloaded 450 times
Last edited by pcastellazzi on 23 Jun 2012, 20:15, edited 2 times in total.
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
User avatar
pcastellazzi
 
Posts: 184
Joined: 25 Apr 2012, 00:40
Location: Montevideo, Uruguay
Has thanked: 11 times
Been thanked: 30 times

Re: Duels of the Planeswalkers 2013

Postby pcastellazzi » 23 Jun 2012, 07:06

MisterBenn wrote:Could we not supply a card with multiple mana abilities like Cloudpost has, but use more logic in the continuous action to activate permutations of mana abilities to be dynamic enough?
With this new features we can code cards like Birds of Paradaise, dual lands, and a some mana generator artifacs without the need of tokens. But since there is no API to generate mana (something like Object():GetPlayer():ManaPool_Add(3, COLOR_RED)), cards like Priest of Titania, Elvish Archdruid, Tolarian Academy, etc which depend on the current state of the game and not a well know set of conditions are hard to code, unless you are willing to put a MANA_ABILITY block for every posible combination.
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
User avatar
pcastellazzi
 
Posts: 184
Joined: 25 Apr 2012, 00:40
Location: Montevideo, Uruguay
Has thanked: 11 times
Been thanked: 30 times

Re: Duels of the Planeswalkers 2013

Postby sadlyblue » 23 Jun 2012, 08:55

Great to see the code.
Phyrexian mana: {U/P},{W/P}
The ability for Odric: player:GetCurrentCharacteristics():SetBlockController(EffectController())
Landfall from Searing Blaze: MTG():Interrogate_CardsOfTypeOntoBattlefieldThisTurn( player, CARD_TYPE_LAND, 1 ) == 1
Cycling: <COST type="DiscardSelf" /> and <TRIGGER value="CYCLED" simple_qualifier="self" />

Unfortunately, they coded a new charecteritic for Future Sight, but it won't be usable for flashback has i thought:
Object():GetPlayer():GetCurrentCharacteristics():Bool_Set( PLAYER_CHARACTERISTIC_CAN_PLAY_TOP_CARD_OF_LIBRARY, 1 )

Btw, there's no card with flashback, i think.
sadlyblue
 
Posts: 175
Joined: 06 Feb 2012, 13:18
Has thanked: 18 times
Been thanked: 16 times

Re: Duels of the Planeswalkers 2013

Postby thefiremind » 23 Jun 2012, 09:40

MisterBenn wrote:
pcastellazzi wrote:Dynamic mana generation is a no go :(
Could we not supply a card with multiple mana abilities like Cloudpost has, but use more logic in the continuous action to activate permutations of mana abilities to be dynamic enough?
I started looking at the code right now, obviously starting from Cloudpost, so correct me if I misunderstood something... I'll take a deeper look later.
The ability granting seems to work like that: I give a resource_id to some ability, and that ability will be ignored on the card that contains it, then I use GrantAbility with the id of that ability and I give it to another card (or to the card itself). So, dynamic mana is not as good as we hoped, but this gives us some new opportunities: for example, we can code simple mana-producing creatures (Llanowar Elves, the various Myr, and so on) without using mana tokens, by granting them the MANA_ABILITY only when they don't have summoning sickness.
Too bad we can't code Havengul Lich or Experiment Kraj, because, as I thought yesterday, only specific abilities can be granted.
< 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: 721 times

Re: Duels of the Planeswalkers 2013

Postby Rick » 23 Jun 2012, 10:09

Apologies for the delay in the update for my tools, I've been working on a generic solution to the WAD signature problem (to disable the check) for DotP 2013. Once that's ready the tools will be too.
gibbed
Rick
Programmer
 
Posts: 40
Joined: 18 Jun 2011, 03:39
Has thanked: 0 time
Been thanked: 56 times

Re: Duels of the Planeswalkers 2013

Postby Persee » 23 Jun 2012, 10:33

thefiremind wrote:I started looking at the code right now, obviously starting from Cloudpost, so correct me if I misunderstood something... I'll take a deeper look later.
The ability granting seems to work like that: I give a resource_id to some ability, and that ability will be ignored on the card that contains it, then I use GrantAbility with the id of that ability and I give it to another card (or to the card itself). So, dynamic mana is not as good as we hoped, but this gives us some new opportunities: for example, we can code simple mana-producing creatures (Llanowar Elves, the various Myr, and so on) without using mana tokens, by granting them the MANA_ABILITY only when they don't have summoning sickness.
Too bad we can't code Havengul Lich or Experiment Kraj, because, as I thought yesterday, only specific abilities can be granted.
It's a great new, with GrantAbility, we could code a lot of cards like Paradise Mantle.
But for bilands, we still need mana token... :(

Rick wrote:Apologies for the delay in the update for my tools, I've been working on a generic solution to the WAD signature problem (to disable the check) for DotP 2013. Once that's ready the tools will be too.
Thx for the job. :)
User avatar
Persee
 
Posts: 168
Joined: 02 Jun 2011, 08:33
Has thanked: 42 times
Been thanked: 24 times

Re: Duels of the Planeswalkers 2013

Postby thefiremind » 23 Jun 2012, 11:36

thefiremind wrote:
GamerXYZ0 wrote:I heard there are 5 on-disc DLC decks already of the following guilds: Azorius, Golgari, Izzet, Rakdos and Selesnya. So, the following 5 abilities are likely in the game: Forecast, Dredge, Replicate, Hellbent and Convoke
I read on the Wizards community forums that the reason why there is only one deck with more than one color (the B/W Exalted) is probably because there will be an expansion with the arrival of Return to Ravnica and there will be plenty of multicolor in that. So the guilds will return, but we could have to wait till October.
I'm quoting myself because I was wrong: the guild decks are the ones I found in the Xbox version, so we can already look at them! But they are probably locked because they don't appear in my game, and from what I see by looking at the deck lists, they actually only have the colours of the guild, not their "signature" abilities. :(

I understood the meaning of CHARACTERISTIC_WORTHLESS. It's a characteristic that is granted to the cards that change controller for a limited time. It probably tells the AI that destroying that card is a bad idea because it will return to its owner.

Persee wrote:for bilands, we still need mana token... :(
First we should try to make those lands produce hybrid mana. If you try to make a land that produces hybrid mana in DotP2012, you obtain a land that taps when you play another land (quite funny to see :lol:), but we all know that hybrid mana was bugged, while it works in DotP2013 so it's worth a try.
< 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: 721 times

Re: Duels of the Planeswalkers 2013

Postby sumomole » 23 Jun 2012, 12:08

pcastellazzi wrote:
sumomole wrote:Could you release the download link of new pack/unpack tools?
I modified WadProgram to simple unpack de new format following the recommendations given by Gibbed.

This version can only unpack WAD files. To use it run from the command line

Code: Select all
java -jar wad-extractor <one or more wad files>
The command will extract the files in the current directory.
Thank you very much!
And then, could you tell me how to repackage it?
User avatar
sumomole
Programmer
 
Posts: 611
Joined: 07 Jun 2011, 08:34
Has thanked: 51 times
Been thanked: 234 times

Re: Duels of the Planeswalkers 2013

Postby thefiremind » 23 Jun 2012, 12:12

A repack tool isn't available yet, we have to wait for Rick.

By the way, i had to write wad-extractor.jar, not only wad-extractor, in order to make it work.

---------

I just noticed that there's not only SetBlockController, but also SetAttackController as available function, so we can code Master Warcraft, one of the most diabolical cards ever made in my opinion. :lol:

---------

EDIT: I won my first Planechase match... I used Ajani's deck, Talrand died, Garruk got decked, only me and (the real) Ajani remained, with more than 100 life points each... but then I drew Felidar Sovereign and I won with that. :lol:

---------

EDIT 2: I'm taking a deeper look at the code of some cards. Believe me, there's really a lot more we can do in DotP2013, once we get used to the new functions (and once we can repack, of course :P). For example, look at the code for the Glen Elendra plane. It makes a filter (I mean Object():GetFilter(), not <FILTER>), then it enforces a condition that "marks" only certain cards from the filtered ones (by iterating through them, it was impossible before!), finally tells the filter to consider only the "marked" cards. This should break all the barriers we had on filters in DotP2012!
< 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: 721 times

Re: Duels of the Planeswalkers 2013

Postby MisterBenn » 23 Jun 2012, 17:16

Yes those filter improvements sound great and sound perfect for fixing Power Conduit. :)

Has the constants file been accessed yet? I am interested in things like the list of triggers available. I notice that the Cycling ability is not hard coded, it is purely an activated ability with active_zone="ZONE_HAND", where the cycling action is spelt out normally and there is an additional step of MTG():FireTrigger( TRIGGER_CYCLED, Object() ). It seems we have the tools to have a crack at the other activated abilities from the hand and perhaps custom triggers are available too.

I won a Planechase game on release night with Crosswinds, I was heavily helped out by the planes. I was behind on creatures versus Celestial Light and Bestial Rush, but the werewolf plain that prevents combat damage stayed in place for ages while I cowered and built up my mana. Next the volcano plane came up and wiped out all creatures just as I drew my Goliath Sphinx and I cleared up! Last night was more disappointing, I played a game with Obediant Dead that lasted about 40 minutes... I was in a desperate head to head versus Bestial Rush again, I needed one last sneaky hit before the horde killed me off. I had my chance, and forgot that I had been drinking. I neglected to roll the die first (it was Kessig plain with "blank rolls count as chaos") so I attacked and all combat damage was nullified. I was wiped out instants later and staring in disbelief!

Planechase mode is definitely chaotic and very casual but it's a bit like poker where you have to manage the bad luck like everyone else. I just wish the cost to roll started at at least {1} because there are too many rolls as it is now.
MisterBenn
 
Posts: 97
Joined: 19 Mar 2011, 16:19
Has thanked: 24 times
Been thanked: 11 times

PreviousNext

Return to Magic: The Gathering - Duels of the Planeswalkers

Who is online

Users browsing this forum: No registered users and 42 guests


Who is online

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

Login Form