How to build Custom AI Deck ?

All created AI or player decks. All discussion related to Wagic AI deck competion and results.

How to build Custom AI Deck ?

Postby swordfish815508 » Mon Aug 24, 2009 3:52 am

Advertising
Ok ive searched the forums and either im slow and i cant read cause i havent found what i need. im trying to build my OWN deck but im trying to put it in a text doc. and use it as a premade kinda deck and after i put all the stuff in the text doc. and i go into play it says my deck has 15 cards.... now im not sure why its saying that but i have 60.... now i must be doing something wrong can anyone help me with this. and go easy on me guys im new to this stuff i just found this game y/d so im kind of a noob to it. Could someone show me a template on what the text file should look like. and can i use the ID numbers or the names of the cards?

[EDIT ABRA - Renamed & moved]
Image
swordfish815508
 
Posts: 20
Joined: Mon Aug 24, 2009 3:46 am

Re: Building Custom Deck

Postby wololo » Mon Aug 24, 2009 4:43 am

you can use both syntax to create you own deck:

either the card IDs, which would look like:
Code: Select all
12345
12345
123456
234235
234234
433453

and so on (one line per card)

or the card names, such as in the premade Deck:
http://wagic.googlecode.com/svn/trunk/p ... /deck1.txt

Code: Select all
#NAME:Premade G/R
#DESC:A Red/Green deck with simple mechanics
#DESC:to get you started.
#DESC:We recommend to create your own decks
#DESC:to get the full Wagic Fun!

Forest (10E) *11
Mountain (10E) *12

Aggressive Urge (10E) *4
Wall of Wood (10E) *4
Llanowar Elves (10E) *4
Mirri, Cat Warrior (10E)
Scion of the Wild (10E) *4
Primal Rage (10E) *2

Lightning Elemental (10E) *4
Shock (10E) *4
Firebreathing (10E) *2
Raging Goblin (10E) *4
Anaba Bodyguard (10E) *4

lines that start with # are comments, the rest is pretty self explanatory:
Name (Expansion 3 letters code) *Quantity


Note 3 important things:
1) Wagic does not handle all MTG cards. You cannot add to your deck a card that is not handled by Wagic.
You can find a complete list of the cards in Wagic here: http://wololo.net/files/wagic/cards_wagic_081.html
alternatively, open the files Res/sets/*/_cards.dat with a text editor to see which cards are available for each set.

2)If you add cards to a deck, you should add them to your collection.dat file as well. Otherwise, next time you open your deck in the deck editor, the game performs a security check, and will remove from the deck all cards that are not in your collection.

3)Don't make any mistake in the card name. Spaces between name,expansion code and quantity are also required!
wololo
Site Admin
 
Posts: 3716
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Building Custom Deck

Postby swordfish815508 » Mon Aug 24, 2009 5:29 am

thank you so much for your help you have been a great help to me i found out its cause i had cards in my deck wagic didnt have
Image
swordfish815508
 
Posts: 20
Joined: Mon Aug 24, 2009 3:46 am

Advertising


Return to Custom decks & Competition

Who is online

Users browsing this forum: No registered users and 1 guest