This library allow designers to incorporate achievements into their maps. It is free to use, you can download, modify, do whatever you want. Putting me in the credits would be nice tho.
- Interface for library
- Basic functionality and visuals
- First release
How to use
Add AchievementLib mod from BN to your map, or download mod files and insert the code directly. Remember about copying or importing custom *.tga files used for achievement dialogs.
- Set Achievement Sound - specifies sound played when achievement is awarded.
- Set Achievement Timers - specifies timers, f.e. how long achievement should be visible for player.
- Set Achievement Max Number - specifies number of awarded achievement that can be displayed on the screen at the same time.
- Create Achievement - creates new achievement, specifying it's ID number, image, points, and name.
- Award Achievement - awards previously created achievement to specified player.
See example maps for reference.
Library is published on EU. If you want to publish it on other servers - feel free to do so, just let me know.
Map using mod:
Map solo (for easier coping):