shamaatae wrote:i also figured out how to add lands correctly but unfortunatly manually.
Basic land is automatically added to the deck by the game until the deck reaches a total of 60 cards. If you have a deck of 35 cards the game will add 25 basic lands, if you have a deck of 40 cards then the game will add 20 basic lands, if you have a deck of 55 cards the game will only add 5 basic lands. If you have a deck of 60 cards or more the game won't add any basic land.
The LANDCONFIG block in the deck is used for tuning how much of each basic land to add within the 60 card limit as explained in the last paragraph. So if you set minSwamp="5" and minPlains="15" for a black/white deck of 40 cards the game should automatically add 5 Swamps and 15
Plains. In a 35 card black/white deck the same config would only guarantee a minimum of 5 Swamps and 15
Plains, the other 5 basic lands could be any combination of Swamps and/or
Plains.
shamaatae wrote:edit: Managed to change the name and avatar of the deck. list of resources to be used for the decks would be greatly appreciated. (the estetics of the deck)
I'm not sure exactly what you mean by this, because the resources required for each deck will vary depending on how things are defined. In the DECK block in the deck XML you specify a
personality which refers to a XML file of that name in the AI_PERSONALITIES folder. The
deck_box_image and
deck_box_image_locked are both filenames (minus the TDX extension) to images in the ART_ASSETS\TEXTURES\DECKS directory. The
preview_card is part of the filename for a TDX image in the ART_ASSETS\TEXTURES\DECKS directory, but each image is prefixed by the language code and an underscore. For example "pack_instinct_revenge" in English would refer to "EN_pack_instinct_revenge.TDX", but in Korean it would be "KO_pack_instinct_revenge.TDX". The TEXT_PERMANENT entry for a deck is the name of the deck XML file. Plus all the individual resources for all the cards used in the deck.
The Personality XML also has resources associated with it. The PLANESWALKER_NAME_TAG block specifies the TEXT_PERMANENT entry to use for the AI Player Name. The *_AVATAR_IMAGE blocks each refer to an image in the ART_ASSETS\TEXTURES\PLANESWALKERS directory to use for the AI Player images. The MUSIC block refers to a set of music to play when in battle against that AI player, but I've never changed it to anything other than what has been specified for at least one of the default AI Players Theoretically you could put in your own music set, but I don't have any specific instructions you could follow to do it.
shamaatae wrote:Tested out unlocks but with no luck. wanted a sidebord for my deck. is there something more i need to do than add the (deck_name)_promo_1.xml in a UNLOCKS dir?
As long as the promo unlock file is properly created then it should work. In the UNLOCKS block the attribute
uid must have a unique value (the value can't be used by any other deck or unlock), the
deck_uid attribute must refer to the uid of the deck you want these unlocks to belong to,
content_pack should be set to 0 to ensure it will work for everyone, and
game_mode should be set to 2 for promo unlocks. Remember there is a 10 card limit for promo unlocks with
unlockOrderId going from 0 to 9 without any repeats and the
deckOrderIds must be unique from all other cards in the deck (including all unlocks from this file and any other file for the desired deck). You should also make sure you don't have any XML errors otherwise the game won't read your unlock file.
shamaatae wrote:If I want to create more decks i just change the nr 1234 into whatever right? in all headers as well?
To make more decks you need to make sure you name the XML file differently for each deck, each deck must have a unique uid, each deck must have an associated land pool and the uid of the land pool must also be unique (it can't be the same as any deck, even the one you are making it for, any other land pool, or unlock file). The uid for each set of unlocks must be unique as well and can't be the same as any deck, land pool or unlock file. When you change a deck uid then you must also change the headers for any unlocks for that deck (land pools don't refer to the deck in their header blocks). When creating uids for decks, land pools, and unlocks it is usually best to do so based on a pattern so that it is pretty easy to make them unique. For example you could make the deck 1234001, land pool 1234101, regular unlocks 1234201, and promo unlocks 1234301, then for the next deck you use 1234002, 1234102, 1234202, and 1234302 respectively for the new ids. As a note you should keep all ids less than about 2,147,000,000 (~2.147 Billion) so the game can store the ids properly. If you stick to 9 digits or less then you'll be fine.
Personalities, Images, and Preview Cards can all be reused if desired.