About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Steam SDK more options
Author Message
Pherael Offline
Silver Supporter

Post: #1
Steam SDK more options
I see there is basic support for steam in esenthel, but it possible to add more options? Like unlocking achivments? Or checking if player bought dlc?
10-15-2019 04:11 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #2
RE: Steam SDK more options
Steam sdk has really good doc and its not too hard to implementat what you need in the meantime.

But it seems that Greg was fine modifying EE source to add whats needed by the users smile

So I'll +1 on this smile
10-15-2019 08:25 PM
Find all posts by this user Quote this message in a reply
Pherael Offline
Silver Supporter

Post: #3
RE: Steam SDK more options
Sorry for stupid questions, but I'm confused. How can I acces steam SDK from Esenthel Editor? As I understand they already in Esenthel, but can't acces any functions from steam documantations. Do I need to download additional files and link to Steam SDK librieries in application Settings?
10-18-2019 03:27 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #4
RE: Steam SDK more options
Sorry i am out untill sunday, and wont have access to my engine so ill use my memory only here, i believe you just need to link the steam library to EE, after that you can call function from there.
I did run into an issue at some point with automatically generated header from EE but i managed to go around it as described here https://www.esenthel.com/forum/showthread.php?tid=9452
(This post was last modified: 10-19-2019 01:51 AM by RedcrowProd.)
10-19-2019 01:45 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Steam SDK more options
Now I'm too busy to look into steam sdk, but a sensible approach would be to add functions to the engine source code and make a pull request on github to merge it with development branch.
10-19-2019 03:24 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #6
RE: Steam SDK more options
Its true that it might be a better option, i used to not have source ( i know its free now pfft ) but it might be a bit more investment to do it as you need to build the engine
10-19-2019 04:23 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #7
RE: Steam SDK more options
on the project properties, you can add
include header : C:\public\steam\steam_api.h | C:\CallbacksSteam.h
the callbacksteam was for my personal header to have linked callbacks.
include libraries : C:\BeastsInBurrows\steam_api64.lib

and that's pretty much all you need to have access to the Steam API.

then its pretty easy, you just have to follow the doc to know what to add for your need.

then you can start the steam part by calling SteamAPI_Init();
10-20-2019 05:28 AM
Find all posts by this user Quote this message in a reply
Pherael Offline
Silver Supporter

Post: #8
RE: Steam SDK more options
RedcrowProd Thank you very much smile
10-20-2019 09:33 AM
Find all posts by this user Quote this message in a reply
Post Reply