Is it possible to make achievements for your game (even if they give 0 points)? The triggers saying "Can only used on Blizzard-Signed maps makes it seem like you can't, but the Achievement Data Types in the Data Editor make it seem possible.
If you can't do it through any 'official' means, is it possible to create your own? I mean something along the lines of making a custom dialog with all your own achievements and awarding them as necessary? I could do that much, but I'm not sure how you would go about saving it so that the next time they play it still shows awarded achievements as unlocked.
Ahhh ok. I kinda figured that would be the case. What about storing booleans to basically make your own achieves? I assume its possible to save booleans across plays? RPGs must save variables through save/load code of some sort. How do you save information like that?
I've managed to create achievements and a bank, but for some reason the Bank won't save. Through Error Messages, I can tell it's loading, preloading, and storing all of my files correctly, but when I exit the game and reload it, it doesn't remember any of the values.
Here's the code:
General - For each integer Bank Loop from 1 to 7 with increment 1, do (Actions)
Actions
Bank - Preload and synchronize bank "MyName" for player Bank Loop
Bank - Open bank "MyName" for player Bank Loop
Variable - Set Player Banks[(Bank Loop - 1)] = (Last opened bank)
That loads it and then this stores and saves:
Bank - Save bank Player Banks[(Player - 1)]
So why doesn't it remember anything once the game reloads? (P.S. I know that wasn't laid out very well)
Go search for bank functionallity on the forums.. theres a ton already on the subject.
the who achievements are kinda pointless though because they will only show to the player as the player is in your game.... and you would have to build a ui to show the player his achievements.
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
I've already made a custom UI for it and made announcements upon achievement completions so all people know player X just got something special. In addition, I'm going to make the achievement 'points' clearly visible for every player in game. I even made some neat dialogs for achievements 'unlocking'. The only thing I'm missing is this stupid saving issue. I've searched many times and CANNOT find a solution to this. I clearly use the line Save (the player's bank), but then the next time I test it doesn't remember a single thing. I know it's saving something because I have a bank saved in the SC2 bank folder.
It remembers achieves being awarded just fine until the next time I start the game. Then it's as if I never saved the bank...
[Edit]: FINALLY got it. I had a variable value in the Preload and Synchornize line, which was screwing everything up. You need to actually type the player number manually.
Is it possible to make achievements for your game (even if they give 0 points)? The triggers saying "Can only used on Blizzard-Signed maps makes it seem like you can't, but the Achievement Data Types in the Data Editor make it seem possible.
If you can't do it through any 'official' means, is it possible to create your own? I mean something along the lines of making a custom dialog with all your own achievements and awarding them as necessary? I could do that much, but I'm not sure how you would go about saving it so that the next time they play it still shows awarded achievements as unlocked.
Ive always wondered about this... Infact... Im going to try it right now...
EDIT: You get an "AwardAchievment" Not Authorized error...
Ahhh ok. I kinda figured that would be the case. What about storing booleans to basically make your own achieves? I assume its possible to save booleans across plays? RPGs must save variables through save/load code of some sort. How do you save information like that?
@wingednosering:
You save information through banks. They are however very hard to protect from hacking
I've managed to create achievements and a bank, but for some reason the Bank won't save. Through Error Messages, I can tell it's loading, preloading, and storing all of my files correctly, but when I exit the game and reload it, it doesn't remember any of the values.
Here's the code:
General - For each integer Bank Loop from 1 to 7 with increment 1, do (Actions)
That loads it and then this stores and saves:
Bank - Save bank Player Banks[(Player - 1)]
So why doesn't it remember anything once the game reloads? (P.S. I know that wasn't laid out very well)
No replies to this? Why isn't my bank saving?
@wingednosering: Go
Go search for bank functionallity on the forums.. theres a ton already on the subject.
the who achievements are kinda pointless though because they will only show to the player as the player is in your game.... and you would have to build a ui to show the player his achievements.
Think of it like this:
Preload Bank = Create Bank
Open Bank = Load bank
Save Bank = Saves the Bank
The Last opened bank = So you get which one you need.
I believe it was like that. See if this helps you ^^
If you get your map signed by Blizzard I'm sure you can have your own achievements. Now the problem is getting Blizzard to sign maps.
I've already made a custom UI for it and made announcements upon achievement completions so all people know player X just got something special. In addition, I'm going to make the achievement 'points' clearly visible for every player in game. I even made some neat dialogs for achievements 'unlocking'. The only thing I'm missing is this stupid saving issue. I've searched many times and CANNOT find a solution to this. I clearly use the line Save (the player's bank), but then the next time I test it doesn't remember a single thing. I know it's saving something because I have a bank saved in the SC2 bank folder.
It remembers achieves being awarded just fine until the next time I start the game. Then it's as if I never saved the bank...
[Edit]: FINALLY got it. I had a variable value in the Preload and Synchornize line, which was screwing everything up. You need to actually type the player number manually.