The general docs for the Card API is here:
http://www.slightlymagic.net/wiki/Forge_APIIt's probably a bit out of date at this point, but it should be generally correct. There may just be some missing APIs or parameters. In some cases we've removed fake "Keywords" from the parser so these would have to be scripted.
The SVar:Picture: paramter is used to associate the card script with the image downloaded through the LQ Picture Downloader. You just need to point to a valid URL. Custom sets are not supported with the LQ
Set Picture Downloader at this time.
I'd recommend doing a handful of things:
1. Create a single folder for your entire set, instead of placing them in the A,B,C etc folders the way official cards are.
res/cardsfolder/<jmlima_set>/awesome_card.txt
res/cardsfolder/<jmlima_set>/broken_mythic.txt
You get the idea.
2. You need an edition file in res/editions/<jmlima_set>.txt
You should be able to figure out the formatting based off recent card sets.
3. One of the best resources of card scripts is existing card scripts. Searching magiccards.info for similar cards and reading that script can help determine what is and isn't possible. You can also post here:
viewtopic.php?f=52&t=3760 and we may provide limited support. Of course, we won't really add any code for custom sets, but we could at least provide some tips about what to try.
For example, the new card from JOU
http://www.magicspoiler.com/mtg-spoiler ... ret-signs/ is kinda like
Riddle of Lightning. Similar Scry and Reveal mechanism. Evaluating a number based on the revealed cards CMC. The main difference is you get to draw cards instead of deal damage.
- Riddle of Lightning | Open
- A:SP$Scry | Cost$ 3 R R | ScryNum$ 3 | SubAbility$ DBReveal | SpellDescription$ Choose target creature or player. Scry 3, then reveal the top card of your library. CARDNAME deals damage equal to that card's converted mana cost to that creature or player. (To scry 3, look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
SVar:DBReveal:DB$ Dig | Cost$ 0 | DigNum$ 1 | Reveal$ True | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBDamage
SVar:DBDamage:DB$ DealDamage | Cost$ 0 | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ X | References$ X
SVar:X:Count$TopOfLibraryCMC
Compare that with the script Swordshine wrote for Interpret Signs
- Interpret Signs | Open
- A:SP$ Scry | Cost$ 5 U | ScryNum$ 3 | SubAbility$ DBReveal | SpellDescription$ Scry 3, then reveal the top card of your library. Draw cards equal to that card's converted mana cost.
SVar:DBReveal:DB$ Dig | Cost$ 0 | DigNum$ 1 | Reveal$ True | NoMove$ True | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X
SVar:X:Count$TopOfLibraryCMC
You can see the major difference is the last SubAbility for the Draw instead of Damage. There's also a simplified "NoMove" parameter for the Reveal instead of placing the top card back ontop of your library. I think a few people have created custom sets, so they may be able to give some more pointers.