card set and rarity
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
card set and rarity
by mtgrares » 19 Aug 2010, 18:32
I didn't know how to specify a card's set and rarity, so I just didn't. I knew that cards could exist in different sets and have different rarities for each set. Obviously once I added sealed deck and drafting to Forge, there was a question of rarity so I came up with common.txt, uncommon.txt, and rare.txt. But this doesn't allow a user to easily change between sets.
So a card's rarity and set is still "up in the air".
So a card's rarity and set is still "up in the air".
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: card set and rarity
by Rob Cashwalker » 20 Aug 2010, 14:32
Don't worry I've got a crack-team of monk-- err developers working on this very question.....
I just undid my changes for draft booster packs. Maintaining "normal" rarity isn't too tough, and there's an "app for that" or rather, a "script for that". But draft, especially the way juzamjedi has been doing it is more personal, and plowing through 3900 cards in cards.txt to add another line for each card is not something I want him or anyone else to waste time on. So I reverted to using the draft/rarity.txt file for that part only.
Somewhere shortly down the line, I'll come up with a simpler, single-file format that will come along with a list screen to "import" your preferred (saved between sessions) card pool and rarity. (or choose the default card pool (all) using the SVar:Rarity)
In a similar fashion, I think the easiest way to implement sets will be with a file-per-set. Each card will have a one-line entry noting the rarity and possibly a picture from that set. New Booster Pack generators would be written to take the set code or name as a parameter, and pull the rarity from the associated file.
I just undid my changes for draft booster packs. Maintaining "normal" rarity isn't too tough, and there's an "app for that" or rather, a "script for that". But draft, especially the way juzamjedi has been doing it is more personal, and plowing through 3900 cards in cards.txt to add another line for each card is not something I want him or anyone else to waste time on. So I reverted to using the draft/rarity.txt file for that part only.
Somewhere shortly down the line, I'll come up with a simpler, single-file format that will come along with a list screen to "import" your preferred (saved between sessions) card pool and rarity. (or choose the default card pool (all) using the SVar:Rarity)
In a similar fashion, I think the easiest way to implement sets will be with a file-per-set. Each card will have a one-line entry noting the rarity and possibly a picture from that set. New Booster Pack generators would be written to take the set code or name as a parameter, and pull the rarity from the associated file.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: card set and rarity
by juzamjedi » 20 Aug 2010, 17:59
I've read the couple of forum topics on this and it seems like a fine solution. Thanks Rob for listening to my concern.
Re: card set and rarity
by mtgrares » 20 Aug 2010, 18:03
Rob, sounds good. I figured eventually somebody would have a good idea.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: card set and rarity
by Chris H. » 20 Aug 2010, 18:23
`juzamjedi wrote:I've read the couple of forum topics on this and it seems like a fine solution. Thanks Rob for listening to my concern.
Download both the forge 08-20 and the forge fix r1802 archive files and I believe that you will be able to continue with the draft mode.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests