Creating New Cards
Quasar Trading Cards allows you to create custom collectible cards with metadata like rarity, stats, and visual details. Follow this guide to add your own cards.
How to Create Cards
All card configurations are located in the config.lua
file under the Config.Cards
table. Each card has detailed properties, allowing you to customize its appearance and attributes.
Example Card Configuration
Here’s an example of how to add a new card:
Key Attributes
color
: Defines card rarity (basic
,rare
,legendary
).rank
: Must match the rarity for consistency.label
: The card's title or name.images
: URL to the card's image; ensure compatibility with FiveM.term
: A short backstory or tagline for the card.description
(optional): Placeholder for an additional description.health
: Character's health points.attack
: Character's attack power.height
andweight
: Character's physical attributes.quality
: The card's overall quality rating.
Tips for Adding Cards
By following this structure, you can expand your Quasar Trading Cards system with custom and engaging cards tailored to your server’s needs.
Last updated