Setting up The Values
Next is configuring the default variables that control several aspects of the libraries, these values must be updated with each new release to function properly.
Start by opening the KopruluAchievements
folder and launching the ComponentList.SC2Components
file to open the mod.
Now Navigate to the folder Creator Only > Variables
in here you will find the variables you need to modify.
Go to KL_AchievementNameConstant
and set it to the name of your Bank file.
Go to KL_AchievementSectionConstant
and set to the name of the Section in which achievements wil be stored
Go to KL_MaxPlayers
and set to the number of players in your game, including AI.
Go to KL_MaxAvailableLists
and set it to the number of categories you’re gonna use.
These values are important for optimization purposes.
Adding Preload Info
If you have not yet set a Preload Info on your Mod/Map you can add it at this point by heading to the Top Bar > Mod > Preload Info
or Top Bar > Map > Preload Info
depending on your case.
In this window you may select the pre-existing value and set the name to the Name of your Bank used in the KL_AchievementNameConstant
Adding Additional Lists
By default only X
Achievement lists are available, the number of lists has to match with the number of lists in the KL_MaxAvailableLists
.
At this point you may receive some UI errors and only the default lists may display, but don’t worry we’ll continue on UI Modification to solve your needs.