making a deck
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
making a deck
by reknak » 04 Jan 2011, 21:33
Hi there, first I want to say you done a great job with Magarena, looks nice and good AI!
I want to create a deck, but I don't really understand how that works:
I want to create a deck, but I don't really understand how that works:
, could someone clarify this a bit more to me? Which program do I need to make the deck and what do I need to exactly write in the document? Thanks for the help!Deck Editing¶
Magarena supports loading and saving player decks in the decks folder located in the data folder. The deck files have as extension .dec and look as follows :
# some lands4 Plains4 Forest# some spells4 Watchwolf4 Wilt-Leaf Cavaliers4 Charging TrollNotice that user created deck files can have any number of cards. When the card name is not recognized, it will be ignored. The custom card shuffler is however disabled when the amount of lands and spells is not equal to 16 and 24.
- reknak
- Posts: 2
- Joined: 04 Jan 2011, 21:19
- Has thanked: 0 time
- Been thanked: 0 time
Re: making a deck
by ubeefx » 04 Jan 2011, 21:41
A good way to start is to let Magarena generate decks and then save it with the save deck menu option.
This will generate a .dck file with given name in the decks folder.
The decks folder is located in C:\Users\***\Magarena\decks, where *** stands for your Windows user name.
That file can be opened with any text editor. The structure is very easy.
You can now alter that and save it to another .dck file.
Now you can load this file with load deck menu option.
The deck will be loaded for the selected player.
This will generate a .dck file with given name in the decks folder.
The decks folder is located in C:\Users\***\Magarena\decks, where *** stands for your Windows user name.
That file can be opened with any text editor. The structure is very easy.
You can now alter that and save it to another .dck file.
Now you can load this file with load deck menu option.
The deck will be loaded for the selected player.
Re: making a deck
by reknak » 04 Jan 2011, 23:37
, thank your for your quick reply, I got it working now. I'm still amazed by the AI, it almost got me, I had 2 life left hahaA good way to start is to let Magarena generate decks and then save it with the save deck menu option.
This will generate a .dck file with given name in the decks folder.
The decks folder is located in C:\Users\***\Magarena\decks, where *** stands for your Windows user name.
That file can be opened with any text editor. The structure is very easy.
You can now alter that and save it to another .dck file.
Now you can load this file with load deck menu option.
The deck will be loaded for the selected player.
- reknak
- Posts: 2
- Joined: 04 Jan 2011, 21:19
- Has thanked: 0 time
- Been thanked: 0 time
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 64 guests