Mobile Battle Pass (Season Pass)

Unreal Engine Tutorial

How to use?

  • Add or edit items in the DT_Season1 table, if you need to add a new season, then create a duplicate of the table and edit it.

  • ID - Unique identifier for each item, should not be repeated.

  • Order - The order of placing and receiving (1 order = 1 level)

  • Name - The name displayed in the widget.

  • Icon - The picture displayed in the widget.

  • IsPremium - Whether the item is premium and available with a Premium Pass.

  • IsUnlocked_Private - A private variable that cannot be edited.

  • IsReceived_Private - A private variable that cannot be edited.

  • After creating a list of items for your seasons, open DT_Seasons_Settings and add your seasons and customize them.

  • Note: The seasons must be in the correct order in the table, the table automatically checks the dates starting from the first position and interrupts the check when it finds the first season that matches the dates.

  • Add as many rows to the table as there are seasons you have planned (you can add them later as your game updates).

  • Name - The name of the season that will be displayed in the widget.

  • StartDate - The start date of the season so that all users start the season at the same time.

  • UTC - Set your current UTC so that it is more convenient for you to adjust the dates and they will be the same for everyone.

  • Duration - The length of the season.

  • DT_Season - Table with items.

  • Open the W_BattlePass section of the Graph and configure additional settings.

  • Moneys is the initial amount of money. (Works until the first launch and save)

  • PremiumPrice - the price for the premium.

  • MyPrivate (category) - variables that cannot be changed.

FAQ

  • Attention: there is no protection changing the time on the device.

  • You are advised to use your own system of in-game currencies or link your premium purchase to real money.

  • The premium will automatically reset when you switch to a new season.

  • When setting the start date of the season, consider the start date of the previous season + duration.

  • To clear saves go to the project folder > Saved > SaveGames and delete the AlreadyDayBattlePass.sav file.

Buying a premium.

  • Open the W_BattlePass section of the Graph and configure additional settings.

  • Configure as needed.

Received items.

  • Open the W_BattlePass section of the Graph and configure additional settings.

  • See the description of the events, you need to set up (Item Successfully Received) compare the ID and bind your item receiving event there (this can be adding an item to inventory, adding money or increasing rank, etc.)

Preview?

  • Иногда вам необходимо быстро посмотреть ваш сезон, без изменения данных о сезонах, для этого есть IsPreviewSeason в W_BattlePass поставте галочку и выберите порядок сезона из таблицы в Season_Index.

How to Integrate with the mobile menu?

Still have questions?

  • If you have any questions, please write to me by mail: myalreadyday@gmail.com