You can find a correct amount of Achievements library for SC2. But why define all achievements caracteristics on the slow Trigger Editor when you can specify these information on the Data Editor then use it ?
This is the purpose of this library. Create your custom achievements in Data Editor then reference it on Trigger Editor when you want to award an achievement.
Installation
This downloading file must be included to a map as a library. To do that, go to the Trigger Editor then go to "Data" on the menu items. Check for "Library > Import Library...".
Use
Go to Object Editor and add a 2 new objects. One of type "Achievement" and one of type "Reward". The reward object is used by the Achievement object as an icon. See images for how to complete fields of these objects.
Next Go to Trigger Editor then add an action : "Award Achievement (unprotected)".
Advanced use
You can use the additional conditional function "Player Achievement Status" to get the achievement status of the specified achievement for the specified player.
Preview
(See attachements below)
Notes
An achievement shrink at start then fade out after a few seconds.
The library use the Data hashtable for store several variables. The keys used by this library are of type:
Ach::Achievement_Id::Player_Index
To have an exemple :
Ach::MyFirstAchievement::1
(achievement "MyFirstAchievement" for player 1).
Dependancies
No dependancies.
Note the library has 2 public functions to convert File to String and String to Image.
Efficient approach to refer to the data for custom achievements. It will be approved once you update the post to comply with the new submission guidelines, so it's more informative than what is effectively a redirect.
Library: AchDataAward
Project Page | Download
Descrition
You can find a correct amount of Achievements library for SC2. But why define all achievements caracteristics on the slow Trigger Editor when you can specify these information on the Data Editor then use it ?
This is the purpose of this library. Create your custom achievements in Data Editor then reference it on Trigger Editor when you want to award an achievement.
Installation
This downloading file must be included to a map as a library. To do that, go to the Trigger Editor then go to "Data" on the menu items. Check for "Library > Import Library...".
Use
Go to Object Editor and add a 2 new objects. One of type "Achievement" and one of type "Reward". The reward object is used by the Achievement object as an icon. See images for how to complete fields of these objects.
Next Go to Trigger Editor then add an action : "Award Achievement (unprotected)".
Advanced use
You can use the additional conditional function "Player Achievement Status" to get the achievement status of the specified achievement for the specified player.
Preview
(See attachements below)
Notes
An achievement shrink at start then fade out after a few seconds. The library use the Data hashtable for store several variables. The keys used by this library are of type:
To have an exemple :
(achievement "MyFirstAchievement" for player 1).
Dependancies
No dependancies. Note the library has 2 public functions to convert File to String and String to Image.
Download the library!
Great idea! I would never have thought of that. Big thumbs up from me :)
Efficient approach to refer to the data for custom achievements. It will be approved once you update the post to comply with the new submission guidelines, so it's more informative than what is effectively a redirect.
Updated to meet the submission guidelines
Edit: Il will update pictures... English and french sentences seems curious :P
Since the release of Arcade, this library no longer works. Please update this to be compatible with Arcade.
EDIT: I've marked this item with an asterisk (*) in the list topic. This will need to be approved again once it is updated.
"Rewards" catalog index has been moved from 33 to 46. Problem solved.
Battle.net version updated to match the changes. An update of the map example will be made to the project soon.