Skip to content

Replacing textures

As mentioned in the getting started guide, you can replace card images/textures using the asset bundle system.

To do so, we're going to pick a card to change the texture, and check what is the path of that texture. For this, we'll edit the beast token card art.

If we go to the game data sources, there's several folders, but the one we want is the Sets/STD folder. Inside it, there's a file called CARD_LION_CUB.json.

If we open it with a text editor, we can see a lot of data, including an "IMAGE" characteristic. This is what tells us the path of the image we want to replace. As we can see, it's located in Textures/AOF/Lion_Cub_Crop.PNG.

We're going to use this image to replace it:

Baby Flamingo

So, we should save it and copy it to the AssetBundles/coolmod/Textures folder, then rename it to Lion_Cub_Crop.png. We must make sure the texture type is Sprite, not Default.

Afterwards, we should build the asset bundle, and follow the getting started guide to add it to the game.