Splinterverse wrote:Ok, thanks for the info, Xander. I will look into both when I get some time.
A couple questions about land . . .
1.) When viewing cards in the Deck Builder, what land would I look for if I want it to have the version of the land that includes a "default" choice for mana? In other words, I know there are some dual mana lands that have a default chosen, which makes it easier for the AI to handle. I like those since I mostly play with AI.
2.) How is basic land art handled? If we see art for a basic land that we'd like included, do we make a card using the Card Generator and make sure it's code matches a similar basic land or ?
3.) The game seems to randomize basic land art sometimes. Is that based on including minimum lands in the deck builder options or ?
1: I'm not sure there is a convenient method. Except to maybe point out one or two that don't have defaults so I can see what's up with them and maybe fix them so they all do. Although, these will all soon be replaced with the version I'm creating which is much easier for both humans and AI.
2: That's exactly what you do, and it'll end up being usable in the deck builder. It will not, however, be automatically included in the lands used when you make a deck with only non-land cards (well, non-basic-land cards) such that it automatically fill the deck with basic lands up to 60 cards. Those are handled via land pools. If you unpack a deck wad and go into the DECKS folder, each deck will have a corresponding deck pool file. This deck pool file lists basic lands for the engine to pull from for filling out the deck. The land pools generated by the deck builder are hard-coded, I believe, and so the only way to change them from a user's end is to unpack the deck wad and add any lands they want included to that land pool file before repacking it. If I'm feeling adventurous, I may look into what would be necessary to include pre-cleared basic lands in the land pools (probably by adding a special tag that the deck builder can easily check, and if it's present, add it to the relevant land pool for use later).
3: This is done via the land pool mentioned for #2. I'm pretty sure a land pool always contains the same number of lands, and each is unique. Thus, if there are fewer colors, then there are more lands of those colors and more chances for the lands to appear/not appear in a given game. Thus, from game to game, it'll appear randomized. The same would happen with a 5-color deck, but the randomization wouldn't be as apparent since it needs to draw a certain number of each type of land but there are fewer of each type to draw from.
I'm not an expert on land pools, and this is mostly gathered from passing comments and my own (limited) observations when opening and viewing the files. @thefiremind and RiiakShiNal, please correct anything you see here that's wrong. You'd probably both know much better than I would (especially since I'd bet the land pools have probably existed more or less since the first game).