Then, you can set a user statistics value with the IStats::SetStatInt() or IStats::SetStatFloat() methods.īecause of this discrepancy, as well as no support for global achievements information and global statistics in the GOG GALAXY SDK, functionalities realized by Steam methods such as IndicateAchievementProgress or GetAchievementAchievedPercent will have to be replaced by some workarounds or removed altogether from the version to be released on GOG. In order to unlock an achievement, which is supposed to be based on a statistic, you need to retrieve and check the desired statistic using the IStats::GetStatInt() or IStats::GetStatFloat() user statistics methods, and unlock the achievement using the SetAchievement() method, when the desired value is reached. The major difference you may notice is that although there is no direct correlation between statistics and achievements both in Steam and the GOG GALAXY SDK, the former allows to set achievements progress, while the latter relies solely on stats (achievements have only a locked/unlocked state). *GetAchievement ( const char \* name, bool
0 Comments
Leave a Reply. |