Achievement Library
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.
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
Thanks for great library. I use it in my map.
ok ill be the first noob to ask, how do i get this to work? if i open the file all i get is a bunch of random letters, if i try to open it using starcraft 2 map editor i just get a blank map. so how do i do it?
I have a doubt about your system, it allows the same player to get the achievemnts again? If yes do you know if is there a way to deny this? well while you were solving the problem i created my own system, but i will still use the Dialog box you created, and put your name in the credits of course!!! Thanks :)
@PauloCesar: Go
Well, I've checked it, and it seems you're right. Something is wrong with those presests...
Everything should work. I really don't know why this is behaving like this.
But that was exactly what i did, i downloaded the solo map and copied the trigguers you indicated. Everything works fine except for the box that should be blue, (I wanted the Protoss achievment), and yes i imported the .tga files. But for some reason the presets for the raçes are not working. I've made a test in your solo map and tried to create another preset, success, so i tried to do the same in my map, FAIL, the presets are not appearing in the screen where they were supposed to. That's why ingame the achievment appear inside a white box
@PauloCesar: Go
I have no idea why, but when you are copying from the library, the presets are not copying correctly. Downolad solo map (http://www.sc2mapster.com/media/files/550/335/achievement.SC2Map) and copy from there, and it should be fine.
Hey i am trying to use this but for some reason the box doesn't appear when i paste it to my map, i was searching in the functions and found that the presets are not working, what am i doing wrong, i just paste the trigguers to my map.
That's really nice :D
I've literally deleted all of your files off of my computer, checked mods, checked library, deleted all of your triggers from my map. It just won't publish now. I haven't got any answers from the forums. I might have to delete my map over this.
@CrazyCandyCorn: Go
I think that copying from the library to the map can generate strange errors and inconsistencies.
Download http://www.sc2mapster.com/media/files/550/335/achievement.SC2Map
and copy from it.
This is soooo good!
Is there any simple way to make the achievement icon smaller? And for instance move it to the side? It's so big that it might interrupt gameplay - having it on the side as a smaller version would be better IMO :)
I got it to work great and changed the achievements around. I ended up copying the files directly into my map and used the library as a reference. I then deleted the library, which was fine because the whole thing was copied over and it was all referenced outside the library. But now my map won't upload. It says the file could not be found. Keep in mind I have no mods or libraries in my map right now. Any clue as to why? I removed the standard of your mod I had in local before.
That explains it I made it local thanks for the info.
@xxxDisturbedxxx: Go
I've tried to mimic blizzard style as most as I could. But you are right, I'm gonna think of a way to close achievement box in the next version.
@CrazyCandyCorn: Go
I'm not sure to be honest. If you want to use mod directly from BN, you should do it like this:
Now, you should be able to publish your map. Remember to not add dependency for a local file because it won't publish with it. I'm not sure why your computer hangs up. Maybe list of popular mods is big, and it takes time to retrieve, but I'm not sure.
Or you can always download solo map, and just copy paste trigger directory "ACHIEVEMENTS" to your map and it will be fine. There are some strange errors when you copy from library so thats why I've provided that solo map.
Oh and then on the taskbar I get a windows error saying it is a corrupt file.
Thank you for providing this. I made my own achievement using the mod but I am still new to mods and kind of clueless with publishing. I tried to publish my map and it won't because it is missing the bnet mod. That name is left blank. I would search for a way to fix it but it locks up my computer every time I try and look up the mod online and I have to push the power button and turn my computer off. So to reiterate 1. new to using mods 2. works fine solo in editor preview on my map 3. cannot publish. What am I doing wrong?
cool..nice job... just a suggestion...the ach. box is covering most of the screen...
how about moving it on the side
or make a huge screen size button with 0% opacity...so when you click outside the ach. box, it fades or closes...