Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: djaydino on September 21, 2018, 05:33:43 AM

Title: Steamworks.NET BETA
Post 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 😉
Title: Re: Steamworks.NET BETA
Post by: djaydino on September 21, 2018, 05:34:00 AM
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)
Title: Re: Steamworks.NET BETA
Post by: djaydino on September 21, 2018, 05:34:10 AM
Reserved
Title: Re: Steamworks.NET BETA
Post by: djaydino on September 21, 2018, 05:34:19 AM
Reserved
Title: Re: Steamworks.NET BETA
Post by: clandestine on September 21, 2018, 12:23:16 PM
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!
Title: Re: Steamworks.NET BETA
Post by: Ateam on September 22, 2018, 03:10:47 AM
Hi man, do you have plans to make some tutorials?
Title: Re: Steamworks.NET BETA
Post by: djaydino on September 22, 2018, 05:33:49 AM
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
Title: Re: Steamworks.NET BETA
Post by: Ateam on September 22, 2018, 10:56:38 AM
I was to try to make a friend list, but i dont have idea if you have there actions for that
Title: Re: Steamworks.NET BETA
Post by: djaydino on September 22, 2018, 12:44:13 PM
Hi,
They will come in the next update.

They are available now on my discord steam beta channel
Title: Re: Steamworks.NET BETA
Post by: craigz on September 24, 2018, 11:40:00 AM
Wahoo! :D been so excited for these! Super pumped! :D
Title: Re: Steamworks.NET BETA
Post by: djaydino on September 24, 2018, 11:46:45 AM
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 :)
Title: Re: Steamworks.NET BETA
Post by: craigz on September 25, 2018, 11:05:58 PM
You should be very proud :) I know this was no small feat!

Excited to see it put to good use! :D
Title: Re: Steamworks.NET BETA
Post by: Ateam on October 21, 2018, 01:05:42 AM
Hello, do you have plans to make transcriptions actions for playmaker? https://partner.steamgames.com/doc/features/microtransactions
Title: Re: Steamworks.NET BETA
Post by: djaydino on October 21, 2018, 07:18:17 AM
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.

Title: Re: Steamworks.NET BETA
Post by: mekjal on October 29, 2018, 05:02:15 PM
Totally reasonable to ask for payment!
Title: Re: Steamworks.NET BETA
Post by: clandestine on February 07, 2019, 10:09:00 AM
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.
Title: Re: Steamworks.NET BETA
Post by: Gua on February 17, 2020, 11:46:39 AM
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)
Title: Re: Steamworks.NET BETA
Post by: djaydino on February 17, 2020, 12:11:51 PM
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
Title: Re: Steamworks.NET BETA
Post by: Gua on February 17, 2020, 12:26:45 PM
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)
Title: Re: Steamworks.NET BETA
Post by: Gua on April 16, 2020, 04:28:22 PM
Valve fixed achievement icon issue.
Title: Re: Steamworks.NET BETA
Post by: GR00V3R on March 14, 2021, 05:56:46 PM
Hi djaydino! Any update to share re. your Steamworks.net actions?  :)
Title: Re: Steamworks.NET BETA
Post by: djaydino on March 17, 2021, 02:25:19 PM
Hi.
there is a package on the 1st post :)
Title: Re: Steamworks.NET BETA
Post by: Fat Pug Studio on April 15, 2021, 01:15:26 AM
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.
Title: Re: Steamworks.NET BETA
Post by: djaydino on April 15, 2021, 06:31:20 AM
Oh this a new asset it looks much simpler i might have a look at this
Title: Re: Steamworks.NET BETA
Post by: EpicMcDude on April 19, 2021, 05:00:38 PM
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?
Title: Re: Steamworks.NET BETA
Post by: alphawolf on April 20, 2021, 05:15:28 AM
do these actions still work, or no?
Title: Re: Steamworks.NET BETA
Post by: djaydino on April 20, 2021, 07:02:09 AM
Hi.
The actions should still work yes
Title: Re: Steamworks.NET BETA
Post by: Fat Pug Studio on April 21, 2021, 01:50:07 PM
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.
Title: Re: Steamworks.NET BETA
Post by: BenWesorick on May 20, 2021, 11:07:39 PM
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!
Title: Re: Steamworks.NET BETA
Post by: djaydino on May 21, 2021, 06:43:59 AM
Hi.
@BenWesorick

have you installed the steam API?

I have not tested on latest unity version, but so far it works for me
Title: Re: Steamworks.NET BETA
Post by: EpicMcDude on May 29, 2021, 09:36:25 PM
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?
Title: Re: Steamworks.NET BETA
Post by: djaydino on May 30, 2021, 07:12:30 AM
Hi.
Maybe this thread can help out :

https://hutonggames.com/playmakerforum/index.php?topic=20829.0
Title: Re: Steamworks.NET BETA
Post by: Fat Pug Studio on May 30, 2021, 07:28:33 AM
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)
Title: Re: Steamworks.NET BETA
Post by: EpicMcDude on May 30, 2021, 12:22:04 PM
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.
Title: Re: Steamworks.NET BETA
Post by: Fat Pug Studio on May 30, 2021, 03:37:35 PM
The asset is great, i'll write in details how to set it up tomorrow. And dev on discord is really helpful.
Title: Re: Steamworks.NET BETA
Post by: EpicMcDude on May 30, 2021, 04:00:37 PM
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  ;)
Title: Re: Steamworks.NET BETA
Post by: Fat Pug Studio on June 08, 2021, 04:13:10 PM
Sorry for the delay, i'm a bit busy these days but i'll get to it.