> For the complete documentation index, see [llms.txt](https://flipcard.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flipcard.superiormc.cn/flip-ui/textures.md).

# 🖼️Textures

## Add new card textures:

* Put your new card textures to `/plugins/FlipCard/texture/card` folder.

![](https://rzt1020.github.io/FlipCard/img/9.png)

* Use **/fc reload** command to reload the plugin.
* Open config.yml, you will find new textures configuration have been generated. You can edit its configurations. **Use /fc reload command again if you have edited config.yml here.**
* Open /plugins/FlipCard/pack/ folder, zip this folder and this is the new resource pack.

## Add new edge texture:

* Put your new edge textures to `/plugins/FlipCard/texture/edge` folder.
* Repeat the card texture steps.

## Add new custom animation:

Please [view here](https://flipcard.superiormc.cn/features/custom-animation.md).

## Regenerate the resource pack

Use `/flipcard reload` to rebuild card models, edge models, custom animation frames and presentation artwork. Apply the resulting pack to clients. If using a merged resource pack, rebuild and distribute that pack as well.

Keep generated `material`, `cmd`, `frame` and `reward` mappings when updating textures. Deleting those mappings is not required for an ordinary rebuild and can change model IDs. When migrating frame animations to `animations/<id>.yml`, preserve their CMD values.

Generated models retain the Inventory `display.gui` transform and include an additional normalized `display.fixed` transform for ArcMenu. Card thickness is reduced before model rotation in the ArcMenu transform.

## ArcMenu PNGs and pixel glow

Put presentation artwork and custom PNG rarity frames under `texture/arcmenu/`. Paths can contain subdirectories and should use lowercase letters, digits, underscores and hyphens.

The default `soft_glow.png` is a **64-by-64 pixel texture**. Its presentation displays it in a **180-by-180 canvas area** using `sampling: NEAREST` to retain pixel edges. The name is retained for compatibility with the shipped example's image alias.

The default SPRITE background uses `backdrop` to combine the semi-transparent panel and tinted artwork in one generated image. Changing the artwork, style accent, opacity, size or placement requires regenerating and applying the pack.

Bitmap glyph images are limited to a maximum side of 240 pixels during generation to fit the font atlas; their in-game canvas size remains independently configured. The font resources must be merged with the textures, not omitted when copying only item models.

See [ArcMenu Presentations](https://flipcard.superiormc.cn/features/arcmenu-presentations.md) for image aliases, animation sequences, background composition and custom rarity frames.

## Configs Pack

Use custom font to add your UI texture to the game, I can give an example pack here:

### Legacy

![](https://2842354417-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLuSnM0RWEZSpv5WDinSa%2Fuploads%2FZZJPsLZ2TzXOGVZYgAcQ%2F2022-03-22_161411.png?alt=media\&token=5902abd9-a8bf-4671-ab08-34055c041993)

{% file src="/files/QEqjeHiIbC1ySaeKRZXW" %}

### Vol.1

![](https://2842354417-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLuSnM0RWEZSpv5WDinSa%2Fuploads%2FeYOYiRo32yDH2DyLFdGx%2F%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202022-04-05%20183825.png?alt=media\&token=a46e1892-c522-40c3-90d0-8fadca36e77d)

Download here: <https://builtbybit.com/resources/flipcard-expansion-pack-1.23413>

More is coming.
