I wanted to add achievements to my source mod, but there is no tutorial.
The reason is, while finding a answer, I came upon this from SPUF:
[quote=Steam Powered User Forums]Mods can have achievements, but they can only be in-game and are usually stored locally, if the mods makes its way onto Steam it can have Steam achievements.[/quote]
How can you add local achievements?
Code them in, make a gui to display them and then do the conditional side of things, maybe use a template to make it easy to add new achievements. You could either try working your custom ones into the logic_achievement entity, or make your own entity for it. But obviously the logic_achievement is only good for something you can't do as easy with code.
[QUOTE=Legend286;31093594]Code them in, make a gui to display them and then do the conditional side of things, maybe use a template to make it easy to add new achievements. You could either try working your custom ones into the logic_achievement entity, or make your own entity for it. But obviously the logic_achievement is only good for something you can't do as easy with code.[/QUOTE] And how do you put the names of the achievements in the english file?
[editline]13th July 2011[/editline]
Also, how do you find a template?
There's already an achivement manager class, just modify that I guess
OK, I got used to coding a bit.
Now, what file do I put my achievements in?
Sorry, you need to Log In to post a reply to this thread.