question

tanyifengedmund avatar image
tanyifengedmund asked

Question about the character system limits

My game will be a live service gacha game where I will add in more characters for players to use as time goes on so it will definitely go past the 10 characters recommended limit. Each character is only unlockable once and cannot exist as copies in a player's inventory. They all have statistics such as level and can equip items. Should I still use the character system or some other method with durable items?
If it's the latter, how should I go about equipping items for each character?

limitsPlayer InventoryCharacters
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

Character feature of PlayFab is not designed for your scenario, it is a substitute of a player account. Instead, you may create items in catalog and maintain them as different “characters”. If the “characters” have any customized data, you can define them in Custom Data field.

When an item has been granted to a player, it becomes an instance in player’s inventory. You can add more customized data in Custom Inventory Instance Data field as a modifier such as level and equipment attributes. Custom Data in Catalog is separate from the one in Inventory. The corresponding API is Server.UpdateUserInventoryItemCustomData. To be clear, this is a server API, you should call it in Cloud Script/Azure Function (CSAF).

About Custom Data, please refer to https://community.playfab.com/questions/13923/custom-data-per-inventory-item.html

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.