Card Creator

Design football, creature and Los Santos cards for as-tradingcards. Tilt the preview to check the foil, then paste the Lua into custom/cards.lua.

New card

or drop / paste an image
Adjust art: crop, zoom, colour, background

Zoom, position and colour changes are baked into the art file when you use Download everything (.zip) or Download adjusted art. If you copy the Lua and add the art yourself, use the adjusted file.

Same size as the art. White areas catch the foil, black areas stay matte. This is how real printers foil just the player or just the background.

Attack and defence are what the card uses in battles (keep them under 100).

Rarity, finish, set, type and colours carry over to the next card.

Live preview

Move over the card to tilt, drag sideways to spin it, double-click to flip.

Collection

No cards yet. Fill in the form and press Add card.

Card back

One back per theme. Players see it on packs, deck piles and face-down cards.

Use a 630 × 880 image or larger, it's cropped to fill the card. Put the file in custom/img/ with the same name. The back is included when you Copy Lua.

Export

Exports everything in the collection (cards, card backs and packs) as Lua for custom/cards.lua. Replace the whole file with it. Inventory items for your packs are in their own panel below.

Everything is the Lua, the art files (with your crop and colour changes applied), masks, card-back images and a picture of every card, in the right folders. Put the custom and html folders in the script. The game shows each card as its picture, so it looks the same as in the preview. Card pictures is just the pictures, to unzip into html/img/.

Backup and share

Or save everything (cards, art, backs and packs) to a file, or share it to the community gallery.

Inventory items

The item lines for every card and pack, with the image name already filled in. Make the matching icons (the photo of each card) in Inventory icons below.

Used in each item's export. It must match the folder name exactly (for example as-tradingcards-V2).

The zip has ox_inventory_items.lua and qb-core_items.lua. Each item's image name matches the file name the Inventory icons zip makes for that card.

Inventory icons

Every card as a PNG named by its item id, ready for ox_inventory/web/images or qb-inventory/html/images.

Packs

Set what's in each pack and how often each rarity drops. Packs export with Copy Lua, and with your inventory item lines.

The picture players see on the pack. Make it in the Pack Creator, save it in the script's html/img/ folder, and type its file name here. Exports with the pack, so it isn't lost when you copy the Lua again.