It is currently 20 Jul 2025, 17:04
   
Text Size

Formal Request Thread

Moderator: CCGHQ Admins

Re: Formal Request Thread

Postby thefiremind » 18 Jun 2014, 22:18

Parabolic wrote:I learned I have the same icons for .txt as .xml.
Then be really careful when you "Save as..." with Notepad: if you don't select the "All Files" filter, the extension ".txt" will be added even if you specify a different one in the file name.
< 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: Formal Request Thread

Postby MC Brodie » 18 Jun 2014, 22:50

Parabolic wrote:
RiiakShiNal wrote:
  • You are using a packed WAD (rather than a loose WAD directory) for loading the files and you are using an older version of that WAD without the file.
Wait, aren't we supposed to use packed WADs? That's what it's in now and it loaded fine.
You do not have to. I (used to) do all of my testing and card development using the "loose WAD directory". It is much easier to use. If we can and I release anything for 2015 I'll likely use the loose wad directory approach. See this post for a description on how to do it:

Edit - Riiak explained how to use a loose WAD directory somewhere but I cannot find his post. I used to have it "liked" but I must of miscliked at one point and unliked it. And my development computer is packed away somewhere during the move so I cannot even look it up for you. It is something like using the 2nd folder of a WAD as the parent WAD folder and making a header file for that folder.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

Re: Formal Request Thread

Postby RiiakShiNal » 19 Jun 2014, 01:21

Parabolic wrote:Wait, aren't we supposed to use packed WADs? That's what it's in now and it loaded fine.
MC Brodie wrote:You do not have to. I (used to) do all of my testing and card development using the "loose WAD directory". It is much easier to use. If we can and I release anything for 2015 I'll likely use the loose wad directory approach. See this post for a description on how to do it:

Edit - Riiak explained how to use a loose WAD directory somewhere but I cannot find his post. I used to have it "liked" but I must of miscliked at one point and unliked it. And my development computer is packed away somewhere during the move so I cannot even look it up for you. It is something like using the 2nd folder of a WAD as the parent WAD folder and making a header file for that folder.
For development purposes I also use the loose WAD directory method as I don't have to worry about re-packing while I develop and test (no problems with using old WAD versions).

A loose WAD directory is basically an unpacked WAD with a HEADER.XML file. The easiest way to create one is open the Deck Builder and use "Tools"->"Setup custom data folder" (it will create "DATA_DLC_DECK_BUILDER_CUSTOM" in your game directory).
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times


Re: Formal Request Thread

Postby Parabolic » 21 Jun 2014, 15:01

Not sure if it's the place for this, but do I need a guide on how to make card queries, or can I just use one that's already made and do a little copy/pasting to make my own?

Was looking to make Primal Command, if that matters.
Parabolic
 
Posts: 74
Joined: 12 Jul 2013, 19:22
Has thanked: 10 times
Been thanked: 10 times

Re: Formal Request Thread

Postby MC Brodie » 21 Jun 2014, 15:39

Parabolic wrote:Not sure if it's the place for this, but do I need a guide on how to make card queries, or can I just use one that's already made and do a little copy/pasting to make my own?

Was looking to make Primal Command, if that matters.
Open up some modders wad and take a look at the structure of one. The folder with the Card and Art folders could also have a text folder. This is where the text for the card queries is defined. You can copy one of those files and use in your mod.
-----------------------------------------------------------------------
Song of the Day: 46 and 2 (cover)
MC Brodie
 
Posts: 310
Joined: 01 Jun 2013, 00:10
Has thanked: 44 times
Been thanked: 34 times

Re: Formal Request Thread

Postby loookaz » 21 Jun 2014, 19:01

would it be possible to request Balance and Balancing Act?
i love these cards from the good old days:)
loookaz
 
Posts: 131
Joined: 01 Dec 2012, 10:56
Location: Warsaw, Poland
Has thanked: 22 times
Been thanked: 2 times

Re: Formal Request Thread

Postby NEMESiS » 22 Jun 2014, 02:06

loookaz wrote:would it be possible to request Balance and Balancing Act?
i love these cards from the good old days:)
I made balance of another card a while back, I am sure you could make Balancing Act out of it.
Attachments
BALANCE_202501.zip
(326.38 KiB) Downloaded 282 times
User avatar
NEMESiS
 
Posts: 460
Joined: 03 Jan 2013, 04:02
Location: Pools of Becoming
Has thanked: 70 times
Been thanked: 21 times

Re: Formal Request Thread

Postby Parabolic » 22 Jun 2014, 14:28

So, was working on Primal Command. Modes 1 & 4 seem to work fine, but Modes 2 & 3 do the targeting jazz and then just do nothing.
Any ideas?

Mode 2 was taken from Vedalken Dismisser, so I don't see what the problem is with that one.

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="PRIMAL_COMMAND_111220571" />
  <CARDNAME text="PRIMAL_COMMAND" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Primal Command]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Primal Command]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="111220571" />
  <ARTID value="111220571" />
  <ARTIST name="Wayne England" />
  <CASTING_COST cost="{3}{G}{G}" />
  <TYPE metaname="Sorcery" />
  <EXPANSION value="ARC" />
  <RARITY metaname="R" />
<SPELL_ABILITY>
      <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Choose two — Target player gains 7 life; or put target noncreature permanent on top of its owner's library; or target player shuffles his or her graveyard into his or her library; or search your library for a creature card, reveal it, put it into your hand, then shuffle your library.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Choisissez deux — Le joueur ciblé gagne 7 points de vie ; ou mettez le permanent non-créature ciblé au-dessus de la bibliothèque de son propriétaire ; ou le joueur ciblé mélange son cimetière dans sa bibliothèque ; ou cherchez dans votre bibliothèque une carte de créature, révélez-la, mettez-la dans votre main et mélangez ensuite votre bibliothèque.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Elige dos: El jugador objetivo gana 7 vidas; o pon el permanente objetivo que no sea de criatura en la parte superior de la biblioteca de su propietario; o el jugador objetivo baraja su cementerio en su biblioteca; o busca en tu biblioteca una carta de criatura, muéstrala, ponla en tu mano y baraja tu biblioteca.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bestimme zwei — Ein Spieler deiner Wahl erhält 7 Lebenspunkte dazu; oder lege eine bleibende Karte deiner Wahl, die keine Kreatur ist, oben auf die Bibliothek ihres Besitzers; oder ein Spieler deiner Wahl mischt seinen Friedhof in seine Bibliothek; oder durchsuche deine Bibliothek nach einer Kreaturenkarte, zeige sie offen vor, nimm sie auf deine Hand und mische deine Bibliothek.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Scegli due — Un giocatore bersaglio guadagna 7 punti vita; oppure metti un permanente non creatura bersaglio in cima al grimorio del suo proprietario; oppure un giocatore bersaglio rimescola il suo cimitero nel suo grimorio; oppure passa in rassegna il tuo grimorio per una carta creatura, rivelala, aggiungila alla tua mano, poi rimescola il tuo grimorio.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[以下の4つから2つを選ぶ。「プレイヤー1人を対象とする。そのプレイヤーは7点のライフを得る。」「クリーチャーでないパーマネント1つを対象とし、それをオーナーのライブラリーの一番上に置く。」「プレイヤー1人を対象とする。そのプレイヤーは自分の墓地を自分のライブラリーに加えて切り直す。」「あなたのライブラリーからクリーチャー・カード1枚を探し、それを公開して手札に加え、その後あなたのライブラリーを切り直す。」]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[选择两项~目标牌手获得7点生命;或将目标非生物永久物置于其拥有者的牌库顶;或目标牌手将其坟墓场洗入其牌库;或从你的牌库中搜寻一张生物牌,展示该牌,并置于你手上,然后将你的牌库洗牌。]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Выберите два — Целевой игрок получает 7 жизней; или положите целевой перманент, не являющийся существом, на верх библиотеки его владельца; или целевой игрок втасовывает свое кладбище в свою библиотеку; или найдите в вашей библиотеке карту существа, покажите ее, положите ее в вашу руку, затем перетасуйте вашу библиотеку.]]></LOCALISED_TEXT>
      <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Escolha dois — O jogador alvo ganha 7 pontos de vida; ou coloque a permanente alvo que não seja uma criatura no topo do grimório de seu dono; ou o jogador alvo embaralha seu próprio cemitério em seu próprio grimório; ou procure em seu grimório um card de criatura, revele-o, coloque-o em sua mão e depois embaralhe seu grimório.]]></LOCALISED_TEXT>
      <SFX text="GLOBAL_JUDGEMENT_PLAY" />
      <MODE_SELECT tag="MODE_CHOOSE_ONE" min="2" max="2">
         <MODE tag="CARD_QUERY_MODE_PRIMAL_COMMAND_LIFE" index="1" />
         <MODE tag="CARD_QUERY_MODE_PRIMAL_COMMAND_TUCK" index="2" />
         <MODE tag="CARD_QUERY_MODE_PRIMAL_COMMAND_SHUFFLE" index="3" />
         <MODE tag="CARD_QUERY_MODE_PRIMAL_COMMAND_TUTOR" index="4" />
      </MODE_SELECT>
                <TARGET tag="CARD_QUERY_CHOOSE_PLAYER_TO_GAIN_7_LIFE" definition="0" compartment="0" mode="1" count="1" />
                <TARGET_DEFINITION id="0">
      local filter = ClearFilter()
      filter:SetFilterType(FILTER_TYPE_PLAYERS)
    </TARGET_DEFINITION>
      <RESOLUTION_TIME_ACTION mode="1">
        local target_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
        if ( target_player ~= nil ) then   
          target_player:GainLife( 7 )
      end
    </RESOLUTION_TIME_ACTION>
        <AI_SIMPLIFIED_TARGETING compartment="0" hint="HINT_ALLIED_ONLY" />
    <TARGET tag="CARD_QUERY_CHOOSE_NONCREATURE_TO_TUCK_TOP" definition="1" compartment="1" mode="2" count="1" />
      <TARGET_DEFINITION id="1">
      local filter = ClearFilter()
      filter:Add( FE_TYPE, OP_NOT, CARD_TYPE_CREATURE )
    </TARGET_DEFINITION>
      <RESOLUTION_TIME_ACTION mode="2">
    local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if  target ~= nil then
       target:PutOnTopOfLibrary()
    end 
    </RESOLUTION_TIME_ACTION>
       <AI_SIMPLIFIED_TARGETING compartment="1" hint="HINT_ENEMY_ONLY" />
    <TARGET tag="CARD_QUERY_CHOOSE_PLAYER_SHUFFLE_GRAVEYARD_INTO_LIBRARY" definition="2" compartment="2" mode="3" count="1" />
      <TARGET_DEFINITION id="2">
      local filter = ClearFilter()
      filter:SetFilterType(FILTER_TYPE_PLAYERS)
    </TARGET_DEFINITION>
    <RESOLUTION_TIME_ACTION mode="3">
      local target_player = EffectDC():Get_Targets(0):Get_PlayerPtr(0)
        if ( target_player ~= nil ) then   
          target_player:MoveLocalZone( ZONE_GRAVEYARD, ZONE_LIBRARY )
           target_player:ShuffleLibrary()
      end
    </RESOLUTION_TIME_ACTION>
    <RESOLUTION_TIME_ACTION mode="4">
    local filter = ClearFilter()
    local effectController = EffectController()
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
    filter:SetZone( ZONE_LIBRARY, effectController)
    effectController:ChooseItem( "CARD_QUERY_CHOOSE_CREATURE_TO_PUT_INTO_HAND", EffectDC():Make_Targets(0) )
    </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if target ~= nil then
       target:Reveal()
    end 
    </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
    local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
    if target ~= nil then
       target:PutInHand()
    end 
    </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
    EffectController():ShuffleLibrary()
    </RESOLUTION_TIME_ACTION>
   
   <AI_BASE_SCORE score="800" zone="ZONE_HAND" />
   </SPELL_ABILITY>
</CARD_V2>
Parabolic
 
Posts: 74
Joined: 12 Jul 2013, 19:22
Has thanked: 10 times
Been thanked: 10 times

Re: Formal Request Thread

Postby thefiremind » 22 Jun 2014, 15:02

Parabolic wrote:So, was working on Primal Command. Modes 1 & 4 seem to work fine, but Modes 2 & 3 do the targeting jazz and then just do nothing.
Any ideas?
You need to be sure that the IDs you use match correctly.
I made a picture some time ago that should help you with checking all the IDs, look here:
viewtopic.php?f=109&t=11010&start=180#p124847 (scroll to the end of the post)
< 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: Formal Request Thread

Postby Parabolic » 22 Jun 2014, 16:56

thefiremind wrote:You need to be sure that the IDs you use match correctly.
I made a picture some time ago that should help you with checking all the IDs, look here:
viewtopic.php?f=109&t=11010&start=180#p124847 (scroll to the end of the post)
It helped immensely. All I did was change three numbers and the card is (or at least seems to be) working as intended.

I wasn't sure what the number after Get_Targets was calling, or Get_PlayerPrt, so I wasn't sure if they should be changed or not.
Parabolic
 
Posts: 74
Joined: 12 Jul 2013, 19:22
Has thanked: 10 times
Been thanked: 10 times

Re: Formal Request Thread

Postby Xander9009 » 27 Jun 2014, 08:27

I was looking at Daxos of Meletis again, and I was wondering if it might be possible to code it such that the exiled card gains the ability (or Daxos himself, if that's not possible, I don't remember) to convert mana. The issue, of course, would be that you could use that to convert mana and use that mana for other purposes. I don't think there's a way to overcome this, and if not, then it wouldn't work as a good workaround. But if someone knows how to limit how mana can be spent, then it might be possible to do. Riiak, I know you were trying to make it so mana could only be spent on artifacts (I think). I don't think that panned out, though, did it? Assuming this can't work, I think I'll go ahead and try to code it using the 'reduce color costs/increase colorless cost' method. It'll no longer be true to the printed card, but it's not that important for my personal use.

EDIT: Also, on an unrelated note, I don't know if I ever mentioned it, but most of the cards that were left uncoded when I made this post are available in the community wad.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 445 times

Re: Formal Request Thread

Postby RiiakShiNal » 27 Jun 2014, 17:37

Xander9009 wrote:I was looking at Daxos of Meletis again, and I was wondering if it might be possible to code it such that the exiled card gains the ability (or Daxos himself, if that's not possible, I don't remember) to convert mana. The issue, of course, would be that you could use that to convert mana and use that mana for other purposes. I don't think there's a way to overcome this, and if not, then it wouldn't work as a good workaround. But if someone knows how to limit how mana can be spent, then it might be possible to do. Riiak, I know you were trying to make it so mana could only be spent on artifacts (I think). I don't think that panned out, though, did it? Assuming this can't work, I think I'll go ahead and try to code it using the 'reduce color costs/increase colorless cost' method. It'll no longer be true to the printed card, but it's not that important for my personal use.
There is no way to limit what mana can be spent on (I did try this using a couple of different methods, but due to engine limitations didn't work). The reduce costs method can work, but also has issues with card interactions (Sunburst cards for example).
RiiakShiNal
Programmer
 
Posts: 2188
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: Formal Request Thread

Postby Xander9009 » 28 Jun 2014, 03:50

RiiakShiNal wrote:There is no way to limit what mana can be spent on (I did try this using a couple of different methods, but due to engine limitations didn't work). The reduce costs method can work, but also has issues with card interactions (Sunburst cards for example).
Dang. I figured that would be the case, but it's still disappointing. And yeah, I read through the discussion about Daxos earlier in the thread, so I'm aware it won't work with all cards or effects properly, but at least it'll work in most cases.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 445 times

Re: Formal Request Thread

Postby AndreasD » 09 Jul 2014, 14:15

Hello,

did anyone create the artifact That Which Was Taken ?
If not, is anybody able to create this card?

Andi
AndreasD
 
Posts: 4
Joined: 29 Jan 2014, 09:17
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 7 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form