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)
2014




Help learning to program cards
Moderator: CCGHQ Admins
3 posts
• Page 1 of 1
Help learning to program cards
by Xander9009 » 03 Jul 2013, 13:40
Could explain briefly how to make an ability only able to be activated once. The card I'm trying to do is Beetleform Mage. I can do the rest of the ability, but I don't know how to make it only available for use once. Or, just point out a card either officially available or through a dlc (and which dlc) which also does that? I can't think of any which I know are available.
On a somewhat related note, where can go to learn the basics of making a card unrelated to specific abilities? Like, how to make the art for a card. Or, should I just use the tutorial for 2013? I don't know how much is the same and how much has changed, so I don't know if the one made for 2013 will work.
On a somewhat related note, where can go to learn the basics of making a card unrelated to specific abilities? Like, how to make the art for a card. Or, should I just use the tutorial for 2013? I don't know how much is the same and how much has changed, so I don't know if the one made for 2013 will work.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Help learning to program cards
by thefiremind » 03 Jul 2013, 14:21
Look at the Quirion Ranger in the official cards. You need to add a block inside the ability:Xander9009 wrote:Could explain briefly how to make an ability only able to be activated once. The card I'm trying to do is Beetleform Mage. I can do the rest of the ability, but I don't know how to make it only available for use once. Or, just point out a card either officially available or through a dlc (and which dlc) which also does that? I can't think of any which I know are available.
- Code: Select all
<AVAILABILITY per_turn_limit="1" />
Making art for the cards is always the same since the first DotP, so any tutorial you find in the Documentation section is still good. Some directory or name could have changed, but TDX files are always the same. If you are talking about programming a card, something always changes... for DotP2014, we are all still in learning. The best thing to do is to observe the code of the official cards and see how things are done.Xander9009 wrote:On a somewhat related note, where can go to learn the basics of making a card unrelated to specific abilities? Like, how to make the art for a card. Or, should I just use the tutorial for 2013? I don't know how much is the same and how much has changed, so I don't know if the one made for 2013 will work.
< 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: Help learning to program cards
by Xander9009 » 03 Jul 2013, 15:36
Okay. Thank you. I was mostly wondering about the art, so it's good to know the method I was going to try will work. I program often enough that I can figure that bit out on my own for the most part. I'm having some trouble with a few trickier ones, but for the most part, I figured I'd just see how other cards do similar things, like you suggested. I just couldn't think of any that had abilities only usable once per turn (and I hadn't yet seen Quirion Ranger in the game).
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests