Page 1 of 25

Card Contributions

PostPosted: 08 Dec 2011, 10:27
by beholder
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

Re: Card Contributions

PostPosted: 29 Jun 2012, 02:12
by mecheng
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 {R} or {G}
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.

Re: Card Contributions

PostPosted: 29 Jun 2012, 03:03
by melvin
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.

Re: Card Contributions

PostPosted: 30 Jun 2012, 04:27
by mecheng
Ah, now I see the attachment thing. I think I got 5 more duals in here then.

Re: Card Contributions

PostPosted: 03 Jul 2012, 02:57
by melvin
mecheng wrote:Ah, now I see the attachment thing. I think I got 5 more duals in here then.
Thanks! I've added [1] them to the game, expect to see them as part of release 1.28.

[1] https://code.google.com/p/magarena/sour ... f5c6be01ee

Re: Card Contributions

PostPosted: 11 Jul 2012, 05:40
by mecheng
A few more cards to add

Re: Card Contributions

PostPosted: 11 Jul 2012, 06:12
by mecheng
more duals

Re: Card Contributions

PostPosted: 11 Jul 2012, 13:02
by melvin
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

Re: Card Contributions

PostPosted: 07 Aug 2012, 01:29
by spartan vi
Here are some M13 prints.

Re: Card Contributions

PostPosted: 07 Aug 2012, 01:30
by spartan vi
And a few more from M13

Re: Card Contributions

PostPosted: 07 Aug 2012, 02:24
by spartan vi
Few more easy cards to add from M13

Re: Card Contributions

PostPosted: 09 Aug 2012, 03:06
by melvin
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!

Re: Card Contributions

PostPosted: 09 Aug 2012, 04:57
by Aswan jaguar
Melvin I guess you missed the 5 first from spartan vi so a total of 11 cards.

Re: Card Contributions

PostPosted: 09 Aug 2012, 06:24
by melvin
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.

Re: Card Contributions

PostPosted: 09 Aug 2012, 17:40
by Huggybaby
melvin wrote:In retrospect, I should have posted about new cards added by a. benedict balbuena here in this thread.
If only because he has such a cool name!