Card Contributions
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
Card Contributions
by beholder » 08 Dec 2011, 10:27
Please post your card scripts here so we can add them to a future release.
Instructions can be found on this wiki page.
Check https://code.google.com/p/magarena/wiki/UpcomingCards for list of cards that have been submitted for the next release.
To test your card script:
- add a text file to Magarena/scripts where the name is obtained by changing non alphabets into underscores, e.g. Guardians' Pledge would be in the file Guardians__Pledge.txt
- start Magarena, add the card to a deck and play
- if it works as expected, please use 'Download images' from the Arena menu and make sure the correct image for the card gets downloaded
- that's it! Just post the card script in this thread and one of the devs will add it to the repository
Instructions can be found on this wiki page.
Check https://code.google.com/p/magarena/wiki/UpcomingCards for list of cards that have been submitted for the next release.
To test your card script:
- add a text file to Magarena/scripts where the name is obtained by changing non alphabets into underscores, e.g. Guardians' Pledge would be in the file Guardians__Pledge.txt
- start Magarena, add the card to a deck and play
- if it works as expected, please use 'Download images' from the Arena menu and make sure the correct image for the card gets downloaded
- that's it! Just post the card script in this thread and one of the devs will add it to the repository
Last edited by melvin on 28 Dec 2012, 02:37, edited 2 times in total.
Reason: added link to upcoming cards
Reason: added link to upcoming cards
If debugging is the process of removing bugs, then programming must be the process of putting them in.
-
beholder - Programmer
- Posts: 123
- Joined: 17 Jul 2011, 17:56
- Location: Netherlands
- Has thanked: 16 times
- Been thanked: 25 times
Re: Card Contributions
by mecheng » 29 Jun 2012, 02:12
First card scripting attempt
name=Taiga
url=(insert normal stuff here)magiccards DOT info/rv/en/302 DOT html
image=(insert normal stuff here)magiccards DOT info/scans/en/rv/302 DOT jpg
value=4
rarity=R
type=Land
subtype=Mountain,Forest
mana=r4g4
ability=tap add mana or
timing=land
I'm not a programmer, but this seemed to work for me. Hopefully you enjoy as well. Will post more as I make them.
Edit: I got some message about not using urls. So you need to edit the text above to make it right.
name=Taiga
url=(insert normal stuff here)magiccards DOT info/rv/en/302 DOT html
image=(insert normal stuff here)magiccards DOT info/scans/en/rv/302 DOT jpg
value=4
rarity=R
type=Land
subtype=Mountain,Forest
mana=r4g4
ability=tap add mana or
timing=land
I'm not a programmer, but this seemed to work for me. Hopefully you enjoy as well. Will post more as I make them.
Edit: I got some message about not using urls. So you need to edit the text above to make it right.
- mecheng
- Posts: 21
- Joined: 26 Jun 2012, 16:59
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by melvin » 29 Jun 2012, 03:03
Thanks, mecheng
Here is the same file as an attachment to make it easier to download. This will be included in the June release.
I've changed the url and image to use the MTGO Masters Edition IV has it has a nicer card pic that uses a image in the rules box instead of the long text. Hope that is alright with you.
Here is the same file as an attachment to make it easier to download. This will be included in the June release.
I've changed the url and image to use the MTGO Masters Edition IV has it has a nicer card pic that uses a image in the rules box instead of the long text. Hope that is alright with you.
- Attachments
-
- Taiga.txt
- (209 Bytes) Downloaded 730 times
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by mecheng » 30 Jun 2012, 04:27
Ah, now I see the attachment thing. I think I got 5 more duals in here then.
- Attachments
-
- Bayou.txt
- (213 Bytes) Downloaded 679 times
-
- Savannah.txt
- (217 Bytes) Downloaded 672 times
-
- Tundra.txt
- (213 Bytes) Downloaded 704 times
-
- Underground_Sea.txt
- (223 Bytes) Downloaded 706 times
-
- Volcanic_Island.txt
- (226 Bytes) Downloaded 697 times
- mecheng
- Posts: 21
- Joined: 26 Jun 2012, 16:59
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by melvin » 03 Jul 2012, 02:57
Thanks! I've added [1] them to the game, expect to see them as part of release 1.28.mecheng wrote:Ah, now I see the attachment thing. I think I got 5 more duals in here then.
[1] https://code.google.com/p/magarena/sour ... f5c6be01ee
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by mecheng » 11 Jul 2012, 05:40
A few more cards to add
- Attachments
-
- Scryb_Sprites.txt
- (233 Bytes) Downloaded 706 times
-
- Roc_of_Kher_Ridges.txt
- (239 Bytes) Downloaded 698 times
-
- Wall_of_Fire.txt
- (253 Bytes) Downloaded 692 times
-
- Granite_Gargoyle.txt
- (256 Bytes) Downloaded 665 times
- mecheng
- Posts: 21
- Joined: 26 Jun 2012, 16:59
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by mecheng » 11 Jul 2012, 06:12
more duals
- Attachments
-
- Taiga.txt
- (216 Bytes) Downloaded 711 times
-
- Tropical_Island.txt
- (224 Bytes) Downloaded 703 times
-
- Plateau.txt
- (218 Bytes) Downloaded 682 times
-
- Badlands.txt
- (218 Bytes) Downloaded 701 times
-
- Scrubland.txt
- (217 Bytes) Downloaded 701 times
- mecheng
- Posts: 21
- Joined: 26 Jun 2012, 16:59
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by melvin » 11 Jul 2012, 13:02
Thanks, mecheng. So far, you are the top card contributor for 1.28 Btw, the card script has been simplified in 1.28, the property "color" and "converted" can be left out of the script, they are automatically inferred from the casting cost.
You can check out our daily build of 1.28 from https://magarena.ci.cloudbees.com/job/M ... garena.exe
[1] https://code.google.com/p/magarena/sour ... 91f9845951
You can check out our daily build of 1.28 from https://magarena.ci.cloudbees.com/job/M ... garena.exe
[1] https://code.google.com/p/magarena/sour ... 91f9845951
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by spartan vi » 07 Aug 2012, 01:29
Here are some M13 prints.
- Attachments
-
- Servant_of_Nefarox.txt
- (216 Bytes) Downloaded 670 times
-
- Knight_of_Infamy.txt
- (254 Bytes) Downloaded 638 times
-
- Duty_Bound_Dead.txt
- (241 Bytes) Downloaded 708 times
-
- Warclamp_Mastiff.txt
- (227 Bytes) Downloaded 648 times
-
- Cathedral_of_War.txt
- (201 Bytes) Downloaded 661 times
-
spartan vi - Posts: 10
- Joined: 06 Aug 2012, 20:03
- Has thanked: 6 times
- Been thanked: 1 time
Re: Card Contributions
by spartan vi » 07 Aug 2012, 01:30
And a few more from M13
- Attachments
-
- Dragon_Hatchling.txt
- (222 Bytes) Downloaded 631 times
-
- Reckless_Brute.txt
- (236 Bytes) Downloaded 660 times
-
- Knight_of_Glory.txt
- (253 Bytes) Downloaded 632 times
-
- Duskmantle_Prowler.txt
- (241 Bytes) Downloaded 635 times
Last edited by spartan vi on 07 Aug 2012, 18:08, edited 2 times in total.
-
spartan vi - Posts: 10
- Joined: 06 Aug 2012, 20:03
- Has thanked: 6 times
- Been thanked: 1 time
Re: Card Contributions
by spartan vi » 07 Aug 2012, 02:24
Few more easy cards to add from M13
- Attachments
-
- Sentinel_Spider.txt
- (218 Bytes) Downloaded 641 times
-
- Ajani_s_Sunstriker.txt
- (211 Bytes) Downloaded 653 times
-
spartan vi - Posts: 10
- Joined: 06 Aug 2012, 20:03
- Has thanked: 6 times
- Been thanked: 1 time
Re: Card Contributions
by melvin » 09 Aug 2012, 03:06
Thanks spartan vi and welcome to the forum. I've added your card scripts to the game in the following commits:
https://code.google.com/p/magarena/sour ... 669f1a0346
https://code.google.com/p/magarena/sour ... b6f0ec40d8
So far, for the upcoming 1.29 we have the following card contributions:
5 cards by a. benedict balbuena (via email)
6 cards by spartan vi
Keep'em coming!
https://code.google.com/p/magarena/sour ... 669f1a0346
https://code.google.com/p/magarena/sour ... b6f0ec40d8
So far, for the upcoming 1.29 we have the following card contributions:
5 cards by a. benedict balbuena (via email)
6 cards by spartan vi
Keep'em coming!
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by Aswan jaguar » 09 Aug 2012, 04:57
Melvin I guess you missed the 5 first from spartan vi so a total of 11 cards.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8080
- Joined: 13 May 2010, 12:17
- Has thanked: 732 times
- Been thanked: 460 times
Re: Card Contributions
by melvin » 09 Aug 2012, 06:24
I should have explained more carefully. Unfortunately, five of cards scripted by spartan vi overlaps with five by a. benedict balbuena (submitted via email) that was committed on Aug 5, see https://code.google.com/p/magarena/source/list
In retrospect, I should have posted about new cards added by a. benedict balbuena here in this thread. Will do that in the future.
In retrospect, I should have posted about new cards added by a. benedict balbuena here in this thread. Will do that in the future.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by Huggybaby » 09 Aug 2012, 17:40
If only because he has such a cool name!melvin wrote:In retrospect, I should have posted about new cards added by a. benedict balbuena here in this thread.
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 702 times
- Been thanked: 595 times
Who is online
Users browsing this forum: No registered users and 4 guests