Is there currently any way of adding steamworks integration to a BP project? I followed the steps listed in the wiki, but I am unable to compile my game as it is blueprint, so my build never actually includes the steamworks api.
Right now there is only minimal blueprint support for the online platform APIs. We have leaderboards and achievements exposed in our Tappy Chicken example.
You should be able to add Steam to our binary installation of the engine following the steps here. I haven’t tried specifically for Steam, but the BP calls that work for Tappy Chicken should work for Steam. There is backend setup involved for creating leaderboards/achievements, so you’ll need your own Steam appid.
You’ll have to look in the logs for Steam messages. When any online platform API is initialized there is a lot of information output about its status/success. If you’ve set Steam as your default platform, then you will see output about it.
Thanks for the response Josh!
Unfortunately, I am not able to view the link as I believe UDN for Unreal Engine 4 is for stand-alone licensees, is that correct?
I understand that there is limited support for accessing certain things with BP - I was hoping to find out how I can include the Steamworks.build.cs and compile my project, as it is blueprint, and does not have a compile option.
Additionally, looking at the classes of code I can add, it does not appear as though I can add any code specifically to the OnlineSubSystem, and it doesn’t appear as though there is a module option either. I haven’t had a chance to investigate, though I suppose I might be able to add a custom class, and that might add the compile option.
Any input would be appreciated!
Achievements for Steam is a wip.
And there’s no blueprints for steam api, you would need to create your own BP library.
I’ll ask community support about access to that page, I thought it was exposed to everyone.
You can run Steam with a BP only game. Getting to the API is the real problem. OnlineSubsystem and its children aren’t meant to be extended by the game directly. As Bruno said, for now, you can make OnlineSubsystem calls in your own code and expose that to the blueprint system.
Leaderboards and achievements work has been started and demonstrated. We just need to get the rest up to speed.
Updated the link above to a publicly accessible version of the docs. Sorry about that.