I've been thinking of including achievement system to one of my maps, but I've found that there is no suitable library. So, I decided to create one myself. Here is what I've came up with. I hope you will find it useful in any way.
If you have any comments or tips for improvement, you're most welcome.
Regards,
Matic
ACHIEVEMENT LIBRARY
About
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.
Video
Changelog
Version 1.00
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.
Configuration:
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.
Usage:
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.
Links
Library is published on EU. If you want to publish it on other servers - feel free to do so, just let me know.
This is very nice, and it's very easy to use. But there's one small thing, in the function ''Award Achievement'' the ''race'' parameter list is empty. And I can't use id 0? Because that's the default value.
Why specify achievements in Triggers ?
To set data, i prefer the Data Editor. More faster with a lot of data than triggers. So with Catalog functions you can get everything you want from the Catalog.
Hello guys,
I've been thinking of including achievement system to one of my maps, but I've found that there is no suitable library. So, I decided to create one myself. Here is what I've came up with. I hope you will find it useful in any way.
If you have any comments or tips for improvement, you're most welcome.
Regards,
Matic
ACHIEVEMENT LIBRARY
About
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.
Video
Changelog
Version 1.00
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.
Configuration:
Usage:
See example maps for reference.
Links
Library is published on EU. If you want to publish it on other servers - feel free to do so, just let me know.
Project page:
http://www.sc2mapster.com/assets/achievement-lib/
Mod:
http://www.sc2mapster.com/media/files/550/374/achievements.SC2Mod
Map using mod:
http://www.sc2mapster.com/media/files/550/375/achievement_mod.SC2Map
Map solo (for easier coping):
http://www.sc2mapster.com/media/files/550/335/achievement.SC2Map
Looks very nice. Perhaps even small x to corner so you can put the achievement away yourself if wanted?
This is very nice, and it's very easy to use. But there's one small thing, in the function ''Award Achievement'' the ''race'' parameter list is empty. And I can't use id 0? Because that's the default value.
Thanks for positive feedback guys!
I'm thinking of adding achievement tab with all earned achievements and stuff.
Maybe in v2.0 :P
@Exaken: Go
Right, sorry about that, fixed already. Yeah, ID = 0 is not usable.
@maticpl: Go
Wow, this looks great!
<3
-grenegg
Can't wait for version 2! Thanks for this asset, I am look forward to the achievements tab.
Someone should make a game where you need the most amount of achievements in a certain time limit :)
XD thank you so much!!!
Very useful but i have an upgrade submission.
Why specify achievements in Triggers ? To set data, i prefer the Data Editor. More faster with a lot of data than triggers. So with Catalog functions you can get everything you want from the Catalog.
Here's a demonstration about i'm talking.
@Doubotis: Go
OMG!!!
Forget about mine, use Doubotis stuff instead!
@Doubotis: Go
how do u add it into an already made game?