Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: djaydino on September 21, 2018, 05:33:43 AM
-
Hi Everyone.
Here is the first set of actions for Steamworks.NET
Warning The action package is still in beta!
It is possible that when updating that some actions might break.
Also it is possible that some actions don't work correctly
So be careful using them in released projects.
Follow the steps in the next post to setup steamworks.NET correctly, before importing the package.
If you find any bugs please post here so i can update the action.
You can also pm me if you wish to join my steam beta channel on discord.
P.s. feel free to support my work on patreon 😉
-
How to start using steamworks with playmaker :
1st get the Steamworks.NET_11.0.0.unitypackage. (https://github.com/rlabrecque/Steamworks.NET/releases)
After importing to your project, you will need to edit some files :
(https://cdn.discordapp.com/attachments/483949570313945119/483951113347923968/unknown.png)
(https://cdn.discordapp.com/attachments/483949570313945119/483951554571796482/unknown.png)
Change '(AppId_t.Invalid) to : ((AppId_t)480))
if you have your own appId you can set that instead of 480
In your browser, go to your project folder..
There you should see a text file called steam_appid.txt
(https://cdn.discordapp.com/attachments/483949570313945119/483953011169951747/unknown.png)
Edit the file and change to 480 or your appId number
(480 is the standard test game from steam)
If you want to test steam in a build you need to copy this text file in the same directory as the .exe file
(https://cdn.discordapp.com/attachments/483949570313945119/483953593926287371/unknown.png)
Then you need to place The SteamManager script on an object in the scene.
(https://cdn.discordapp.com/attachments/483949570313945119/487077050012663829/unknown.png)
(https://cdn.discordapp.com/attachments/483949570313945119/487077182133239810/unknown.png)
Note. ALWAYS! ensure that Steam is initialized by checking Steam_Is Initialized before using any Steamwork actions (do only once if you do multiple things in the same frame)
-
Reserved
-
Reserved
-
Thats amazing man! I hope i can try them soon... or maybe implement in my old game (https://store.steampowered.com/app/470590/moto_RKD_dash/)
Many thanks!
-
Hi man, do you have plans to make some tutorials?
-
Hi.
Yes, but at the moment we just moved to our new office and there is still a lot of construction work going on so it is hard to record due to the noise.
So it might take a week or 2
-
I was to try to make a friend list, but i dont have idea if you have there actions for that
-
Hi,
They will come in the next update.
They are available now on my discord steam beta channel
-
Wahoo! :D been so excited for these! Super pumped! :D
-
Hi.
It took a lot of sweat to make and test them, and there is still lots to do
(matchmaking, clans, server, etc)
But i am happy to see your excited :)
-
You should be very proud :) I know this was no small feat!
Excited to see it put to good use! :D
-
Hello, do you have plans to make transcriptions actions for playmaker? https://partner.steamgames.com/doc/features/microtransactions
-
Hi.
My Plan is to cover everything, but that will be a lot of work.
So i might consider a paid version or include it to my 3rd party Assets Actions (http://hutonggames.com/playmakerforum/index.php?topic=19544.0)
I would like to know what you guys think a bout that :)
At the moment i am making actions for BrainCloud for this asset
After that i will continue with steam.
-
Totally reasonable to ask for payment!
-
Hi.
My Plan is to cover everything, but that will be a lot of work.
So i might consider a paid version or include it to my 3rd party Assets Actions (http://hutonggames.com/playmakerforum/index.php?topic=19544.0)
I would like to know what you guys think a bout that :)
At the moment i am making actions for BrainCloud for this asset
After that i will continue with steam.
I would get that for sure.
-
With new steam library overhaul, I don't understand how can we properly test achievements for unreleased games with progress bars. Like those.
(https://i.gyazo.com/b122aad2b2a44c338f158844540ee146.png)
Steam simply doesn't show achievements for unreleased game in Library anymore :(
(https://i.gyazo.com/6195a87fbaa4c1f4e702dab382692e5e.png)
-
Hi.
Sorry but at this moment i have to much other work to continue working on steamworks actions.
But i did set my github public so if anyone wants to work on it feel free.
Hopefully in a few month i can continue on this (or redo as the library was overhauled)
i am very sorry
-
Hi.
Sorry but at this moment i have to much other work to continue working on steamworks actions.
But i did set my github public so if anyone wants to work on it feel free.
Hopefully in a few month i can continue on this (or redo as the library was overhauled)
i am very sorry
I'm not sure you can do anything about it. It seems like it a steam problem, I was asking here in hope that someone might know something about it. Maybe a workaround.
Here's another issue I've found.
I've uploaded 256x256 icons for achievements, as steam recommends and now, when I receive achievement, only part of that icon is visible. Upgrading to latest version steamworks doesn't fix it.
(https://i.gyazo.com/02c2dc13ce1403e24c67a901dc0b5b27.png)
-
Valve fixed achievement icon issue.
-
Hi djaydino! Any update to share re. your Steamworks.net actions? :)
-
Hi.
there is a package on the 1st post :)
-
Though i really support djaydino for his work, these kinds of things are hard to maintain by one guy working on other stuff too. Just buy heathen engineering steamworks and you're good to go for all things steam related. Support is great too.
-
Oh this a new asset it looks much simpler i might have a look at this
-
Though i really support djaydino for his work, these kinds of things are hard to maintain by one guy working on other stuff too. Just buy heathen engineering steamworks and you're good to go for all things steam related. Support is great too.
Does it work well with Playmaker? Or rather can I use it without knowing code?
-
do these actions still work, or no?
-
Hi.
The actions should still work yes
-
Though i really support djaydino for his work, these kinds of things are hard to maintain by one guy working on other stuff too. Just buy heathen engineering steamworks and you're good to go for all things steam related. Support is great too.
Does it work well with Playmaker? Or rather can I use it without knowing code?
Yes and yes.
-
Hi.
The actions should still work yes
Do these actions STILL work or have they since been deactivated? It seems like the link in the original post was deleted. I think I found the GitHub, but when I downloaded it didn't seem to work. Just wondering if it's me (very likely) or if these actions are no longer supported. Thanks!
-
Hi.
@BenWesorick
have you installed the steam API?
I have not tested on latest unity version, but so far it works for me
-
Though i really support djaydino for his work, these kinds of things are hard to maintain by one guy working on other stuff too. Just buy heathen engineering steamworks and you're good to go for all things steam related. Support is great too.
Does it work well with Playmaker? Or rather can I use it without knowing code?
Yes and yes.
Hi Krmko,
Wondering if you could help me with this? I'm trying to use the Steamworks Foundation (free version) to unlock achievements but since this is all ScriptableObjects I'm not sure how set this up with Playmaker. I've followed their tutorial videos on how to set it all up and all that jazz, but I can't figure out how to unlock an achievement via Playmaker since I can't call methods from the script.
Can you point me in the right direction?
-
Hi.
Maybe this thread can help out :
https://hutonggames.com/playmakerforum/index.php?topic=20829.0
-
Though i really support djaydino for his work, these kinds of things are hard to maintain by one guy working on other stuff too. Just buy heathen engineering steamworks and you're good to go for all things steam related. Support is great too.
Does it work well with Playmaker? Or rather can I use it without knowing code?
Yes and yes.
Hi Krmko,
Wondering if you could help me with this? I'm trying to use the Steamworks Foundation (free version) to unlock achievements but since this is all ScriptableObjects I'm not sure how set this up with Playmaker. I've followed their tutorial videos on how to set it all up and all that jazz, but I can't figure out how to unlock an achievement via Playmaker since I can't call methods from the script.
Can you point me in the right direction?
Actually, i did the achievements the old way and used Steamworks for leaderboards.
I have a singleton that holds the FSM's for each acheivement.
(https://i.postimg.cc/LXWxx6bt/screenshot-49.png)
Once i, for example, pick up a gem, the gem sends the event to AchievementManagerGems FSM (Achievement). In the first state i get the steam achievement value (integer in this case) and store it.
(https://i.postimg.cc/QMyzybBK/screenshot-50.png)
In the next state, i add 1 (as in one gem collected) to the variable and then set the steam achievement value. Then i do some checking to see if i hit the value for achievement to unlock.
(https://i.postimg.cc/44b5KPJv/screenshot-51.png)
The i check to see if i already unlocked that achievement.
(https://i.postimg.cc/yNZh7XQZ/screenshot-52.png)
If i haven't, i go back to waiting for the achievement event. If i did, i set the achievement.
(https://i.postimg.cc/8PXLWnxv/screenshot-53.png)
You have all the methods you need in the Heathen API, just get the component you need and call the one you need.
(https://i.postimg.cc/rwtR4y16/screenshot-54.png)
It's basically the same.
(https://i.postimg.cc/L4CJ0gvK/screenshot-54.png)
-
Actually, i did the achievements the old way and used Steamworks for leaderboards.
What an awesome and extensive post, very much appreciated! I'm assuming those actions you have there are from Djaydino's OP? I haven't downloaded those as I wasn't sure I'd need them with Heathen's Steamworks, but I've just downloaded them and will look into this tonight :). Thank you both!
EDIT: I'm currently looking into this but I can't seem to find the script you have in your post -
You have all the methods you need in the Heathen API, just get the component you need and call the one you need.
(https://i.postimg.cc/rwtR4y16/screenshot-54.png)
It's basically the same.
(https://i.postimg.cc/L4CJ0gvK/screenshot-54.png)
I would love to do this way since this seems like the easiest way to set achievements with Playmaker, but none of my Heathen.Engineering scripts have the method to get or set an achievement.
EDIT 2: Actually, doing it the old fashioned way without the Heathen Engineering asset seems to be way easier for me personally, as I just can't wrap my head around this asset.
-
The asset is great, i'll write in details how to set it up tomorrow. And dev on discord is really helpful.
-
The dev on their discord channel is of great help, no doubt! I was just there searching about achievements and although he has explained how to set it up, it always involves scripting which I don't know how to do (yet!).
For now, I was able to setup my game with Dino's actions in the OP and managed to set up achievements and unlock them via Playmaker.
If you would still like to explain how to use the Heathen Engineering's asset in greater detail, I'm all for it and I'm sure many other people would be greatly appreciative of you taking the time do so! I may not use it in this project as I managed to have Achievements working, but it would be awesome to have documentation regarding this asset + Playmaker ;)
-
Sorry for the delay, i'm a bit busy these days but i'll get to it.