Unreal Engine: Add Steam Achievement Progress Counter (in-depth)

  Рет қаралды 4,567

Zarcon

Zarcon

Күн бұрын

Пікірлер: 40
@iHavo
@iHavo Жыл бұрын
This was an absolute life saver man. Scrounged the inner depths of the internet for any information on how to properly do this and there is simply nothing. Wildly appreciated man
@ZarconVideo
@ZarconVideo Жыл бұрын
believe me, I know, that is why I made this.
@ThatCarrotFella
@ThatCarrotFella 7 ай бұрын
Thanks dude! This tutorial is great :)
@Crystal3lf
@Crystal3lf 2 жыл бұрын
Thank you a lot. No where on the actual Steam Advanced Sessions thread page or documentation does it explain how to do this. Followed this tutorial and my achievement popped! Legend.
@ZarconVideo
@ZarconVideo 2 жыл бұрын
Yeah, it's ridiculous how little documentation there is on it. I normally don't make tutorial videos but saw there was absolutely nothing on youtube about it.
@pirrita3082
@pirrita3082 3 жыл бұрын
Hey, I'm having issues on my game with the achievements. Sometimes the leaderboarder stats don't work, the cache achievements fails. May you know what can be the problem?
@doomgriever
@doomgriever Жыл бұрын
There's a forum post that goes into greater detail about the "stat_stat" reason, but basically according to Unreal, if you have a SteamLeaderboard named "Kills" then you need a Stat named "Kills_Kills" (that's the way Unreal coded it... like literally in code they add "StatName"+"_"+"StatName". So if you don't need Leaderboards, but want to add to Stats, you still need to name them "stat_stat" otherwise UE won't be able to access the Stat, only the Leaderboard (which doesn't exist). Also, instead of making a Save Game that will be reset on uninstall (unless Cloud Saved) you can first Read the Stat then +1 then Write like: BLUEPRINT (GameInstance: Event Graph - for example) Cache Achievements: Success > Read Leaderboard Integer: Success > (Value +1) Write Leaderboard Integer This only works if you ALSO add a Leaderboard with the same stat name but without _stat (so for instance Leaderboard: Kills, Stats: Kills_Kills). Because the Read Leaderboard Integer doesn't Succeed in checking a Stat without a Leaderboard connected to it................................................. The Leaderboard needs to be Sort Method: Descending. Do note that you'll still run into problems when trying to read/write multiple stats at the same time. Tbh I'd rather not use Stats at all with Unreal as the support is pisspoor. It's easier to handle it internally, but then players can't track their progress in Steam ui. Also: If you try to Unlock multiple Achievements at the same time (Let's say you Completed Level and got 1000 Points (2 Achievements at the same time)) only the last will unlock the rest will SAY Succeed, but won't actually unlock. So you'll need to manually handle this with a queue system... The Steam support is beyond broken on Unreal's end. "BeSt EnGiNe So UsEr FrIenDly" ,,l,, Forum: forums.unrealengine.com/t/how-to-use-steam-leaderboards-from-bp/325110
@doomgriever
@doomgriever Жыл бұрын
There's basically zero information / proper documentation on this from Epic's side. Still Steam is one of the biggest platforms, and most games have Achievements, it's quite frustrating to have to search deep into forums for hours before you find out any information like "stat_stat" how are we supposed to just figure that out ourselves? I've worked on several Unity projects where you pretty much write "Steamworks.UnlockAchievement(id);" and it works or "Steamworks.AddStat(id, int);" While in UE you need to add every ID into your DefaultEngine.ini beforehand? (??) like why? It's so frustratingly complex and obtuse for no reason. Just give us BP nodes for Steam Achievements + Steam Stats, like goddamn..
@martyrier
@martyrier 3 жыл бұрын
For some reason the normal achievement doesn´t work. I don´t know why
@rekystudios6005
@rekystudios6005 3 жыл бұрын
Did you figure it out? I'm having a super hard time getting achievements to work in 4.26
@AbyssSYR
@AbyssSYR 3 жыл бұрын
@@rekystudios6005 Did you figure it out? I tried to follow the Unreal document didn't work. 4.26
@tywinlannister5461
@tywinlannister5461 3 жыл бұрын
I’m having the same problem. Not much info out there… to bad it seems like this comment thread is dead…
@Parallel-game
@Parallel-game 3 жыл бұрын
Hi. Thanks for this tutorial. Wish yiu a great 2022 🙌
@ZimCrusher
@ZimCrusher Жыл бұрын
Question: I know it's been a year since you did this. I hope you still respond. At 12:30 you have a stat that has something in 'progress Stat'. FARBER_FARBER and you have values in Min and Max. I can not get that to happen. Mine looks like your other achievement at 13:40 where i just says 'none'. I can not change that value, so I was wondering how you did that. Do you set it as a progressive achievement in Steam or in Unreal, or both?
@ZarconVideo
@ZarconVideo Жыл бұрын
That is an easy one, in your Steam Works go to your stats and achievement tab. You need to click "Stats" in the pull-down and create the stat so it can show up (make sure you fill out all the entries when making a new stat). That is where you enter your max and min value and give them a name. Save that, and then go back to your Achievement tab. When entering a new achievement (or editing an existing one) if you go over to the left the stat should now be an option under "Progress Stat." Select it and save.
@ZimCrusher
@ZimCrusher Жыл бұрын
@@ZarconVideo Thanks for this. I will check it out.
@ZimCrusher
@ZimCrusher Жыл бұрын
@@ZarconVideo ummm...... Can't do it, for some reason.... I go to the stats page, and press New Stat, and nothing happens. I watched the video "Steamworks v2 - Tutorial 003 - Stats and Achievements" and they just press the New Stat button, and then they have choices. Any Idea what's locked or something?
@ZarconVideo
@ZarconVideo Жыл бұрын
@@ZimCrusher Under APP ADMIN / STATS and ACHIEVEMENTS / STATS / NEW STAT. When you click New Stat you should get a line item that you can fill out. You might want to message Valve tech support at this point if that does not show up. Are you on mobile or something? Try a different browser? I don't know what to tell you on that one.
@ZimCrusher
@ZimCrusher Жыл бұрын
@@ZarconVideo yep. I have sent them a message. I have 2 games up on Steam, and I tried the old game, and it has the same issue. Achievements work, stats nope. I will let you know the response.
@PhillipsAlbright
@PhillipsAlbright 2 жыл бұрын
I made those calls in blueprints and I also added the steam stuff to my DefaultEngine txt, but the achievements still won't pop. Is there something else I need to install or something?
@ZarconVideo
@ZarconVideo 2 жыл бұрын
Did you add them in your Steamworks page? They need to be there. Basically 3 areas. The Blueprint talks tot he DefaultEngine which talks to the Steamworks. Also make sure you have the Steam sub system working so that Unreal is connecting to Steam. There are plenty of tutorials for that.
@PhillipsAlbright
@PhillipsAlbright 2 жыл бұрын
@@ZarconVideo Ah, the steam subsystem is what im missing. Any good tutorials you can point to for that?
@PhillipsAlbright
@PhillipsAlbright 2 жыл бұрын
I figured it all out and got everything working, thanks for help your tutorial pushed me in the right direction
@Kiwi2703
@Kiwi2703 2 жыл бұрын
Is there a way to continue the achievement progress counter in steam even after the game save file has been completely reset? Or after reinstalling the game?
@ZarconVideo
@ZarconVideo 2 жыл бұрын
That is a good question. It depends on where the variables are saved and how you are handling them. They are saved by default in the games savegames directory. You'd have to check if that gets cleaned out when a game is uninstalled. They are basically just .sav files that the variables save too.
@manicmice
@manicmice 3 жыл бұрын
Thanks dude, really helped me!
@nightmodedevelopment
@nightmodedevelopment 2 жыл бұрын
HI is it necccesary to be called int the playercontroller itself?
@ZarconVideo
@ZarconVideo 2 жыл бұрын
has to be the way shown in the video.
@doomgriever
@doomgriever Жыл бұрын
No you can add it anywhere as long as it's in the Event Graph (not a Function) as it's an "asynchronus call" (it takes time to get a Callback). I call mine in GameInstance because it's accessed from any place
@Yeesipp
@Yeesipp 3 жыл бұрын
Thank you so much for your tutorial,However I open my "DefaultEngine" and I haven't see any Achieventment_1_Id just like you... is my UE4 have a problem or something? or do I have to do something first?? thank you
@ZarconVideo
@ZarconVideo 3 жыл бұрын
You have to type it in yourself.
@In2gpuGames
@In2gpuGames 3 жыл бұрын
IMO this value shouldn't be saved in a game slot. It should be read directly from Steam stat (if that works). What if i delete the save file...then the steam will have to reset the achivement?
@doomgriever
@doomgriever Жыл бұрын
Agreed, the way I do it is: Cache Achievements: Success > Read Leaderboard Integer: Success > (Value +1) Write Leaderboard Integer Only got this to work after naming Steam Stats like "name_name", but when calling for Stat Name you only use "name" (the "_name" is added automatically in Code because UE is dumb) This only works if you ALSO add a Leaderboard with the same stat name but without _stat (so for instance Leaderboard: Kills, Stats: Kills_Kills). Because the Read Leaderboard Integer doesn't Succeed in checking a Stat without a Leaderboard connected to it................................................. The Leaderboard needs to be Sort Method: Descending.
@nn-ib2lt
@nn-ib2lt 2 жыл бұрын
i wont get into why. lol
@cerencanbaz3861
@cerencanbaz3861 2 жыл бұрын
buddy PLEASE HELP
@samislucid7100
@samislucid7100 3 жыл бұрын
I just saw a comment from you from 12 years ago about South Park the simpsons and family guy
@ZarconVideo
@ZarconVideo 3 жыл бұрын
Yes. I have interneted long and far.
@OmegaMouse
@OmegaMouse 2 жыл бұрын
This is a terrible tutorial. You are just repeating what we already see there. What???
@ZarconVideo
@ZarconVideo 2 жыл бұрын
It was more just a reminder for myself
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Unreal Engine. Достижения Steam
3:55
Иван Пичугин
Рет қаралды 2,1 М.
Урок 13 | Unreal Engine 5 Мультиплеер - Подключение Steam | Steamworks SDK
16:42
Cyberstars - Как создать игру
Рет қаралды 12 М.
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 800 М.
How to Market Your Game on Steam
21:57
Noclip Crew
Рет қаралды 40 М.
Why Majora's Mask's Blue Dog Took 25 Years to Win the Race
21:04
Vidya James
Рет қаралды 2,6 МЛН
[UE5 - BP] Steam Achievements #UE5 #UE5.3
7:45
Dragonsaur Studios
Рет қаралды 3,8 М.
I solved Unreal Engine's Package Size Problem...
14:35
Cobra Code
Рет қаралды 88 М.
Unreal Engine AI with Behavior Trees | Unreal Engine
26:38
Unreal Engine
Рет қаралды 367 М.
Learning Unreal Engine in One Month to make a Game!
15:25
Will Hess
Рет қаралды 117 М.