Page 1 of 1

New Steam implementation

Posted: Tue Mar 20, 2018 10:01 pm
by tinkertrain
Hi,

Anyone that knows how to access the new CrySteam interface, such as friends in the game code?

Thanks!

Re: New Steam implementation

Posted: Wed Mar 21, 2018 9:07 am
by fury22uk
Yeah, in your source code you need to include steam api interfaces.

Code: Select all

#include <PATH TO CRYENGINE 5.5/Code/CryPlugins/CryGamePlatform/Module/Steam/....>
There are many useful interfaces. To use them I recommend to use Steam documentation on steam api.

Re: New Steam implementation

Posted: Wed Mar 21, 2018 9:13 am
by tinkertrain
Ah, okay. I'll add the path to my cmakelist

Re: New Steam implementation

Posted: Wed Mar 21, 2018 10:04 am
by tinkertrain
I can't quite understand how to access the different interfaces.
To get the players steam name you use the GetPersonaName() function, and to access that you need to create a pointer to ISteamFriends, but there is no way to do this.

Can someone explain how you are supposed to access the steam interfaces?

Thanks!

Re: New Steam implementation

Posted: Thu Apr 12, 2018 8:27 pm
by VonBismarck1986
Are you using SDK? Cause if so, it's already built it, best to do is go and download CRYENGINE 5.5 from GitHub, which includes GameSDK code , in there you'll find CryLobby in which has functions checking if game is started with steam and from there activates steam ( you must have a steam app id or use the test app id from Cryteck ) Also I would check out steam sdk docs.

Re: New Steam implementation

Posted: Fri Apr 13, 2018 5:49 am
by fury22uk
Steam implementation is fairly simple. Its enough to check very good documentation on that topic on steam page. They have all the info you need. Especially with 5.5 implementation it is a piece of cake

Re: New Steam implementation

Posted: Fri Apr 13, 2018 9:47 pm
by VonBismarck1986
Yes, make sure to add CryGamePlatform or at least go through it, more info is on the documentations http://docs.cryengine.com/display/CEPROG/Steam