shuabala Posted January 15, 2015 Share Posted January 15, 2015 I am trying to make a character that can "dig" aka teleport with a dig animation to another place/item on the map. This shouldn't be that hard and I even saw a component called teleporter. The problem for me is that I can't find the freaking api for don't starve. Like for instance you see in someones code listenforactivity.dig or something. How did they know the function listenforactivity.dig exsisted? I can't find the api and ive looked forl ike an hour lol. Please help a noob modder out Thanks! tl;dr can't make teleporting item b/c can't find api for dont starve plz help Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/ Share on other sites More sharing options...
Kzisor Posted January 15, 2015 Share Posted January 15, 2015 @shuabala, most modders dug into the files klei provided and deciphered what they actually did. From there we reversed engineered their techniques and made them work for ourselves. Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/#findComment-602328 Share on other sites More sharing options...
nossr50 Posted January 16, 2015 Share Posted January 16, 2015 I'm going through the process of starting to learn Don't Starve modding as well, coming from a programming background I was a little baffled that a game which clearly had modding in mind on some level has no documentated API, even the official guides are quite barebones and lackluster. Usually when I start modding something I look for a reference guide or the API itself, but for Don't Starve I literally have to look at the official game scripts and other mods and put together the pieces myself slowly and painfully, quite a hassle. Oh well, I guess that's just how it is for modding this game at the moment Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/#findComment-602461 Share on other sites More sharing options...
Developer PeterA Posted January 16, 2015 Developer Share Posted January 16, 2015 @nossr50, we have plans in the future to release more documentation regarding modding in Don't Starve Together, but at this point the game is still in flux, so any documentation we put together would be obsolete as soon as it was completed.That said, some of the community members have already started on their own initiative to put together a list of some of the known API. Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/#findComment-602478 Share on other sites More sharing options...
nossr50 Posted January 16, 2015 Share Posted January 16, 2015 Yeah I suppose that is to be expected, this is a stellar game and I have fallen in love with the idea of modding it so I will endure the pain for now. Excellent work on this game, but I'm sure you guys probably hear that all the time. I'm playing this game more than modding it at the moment, the multiplayer is too much fun Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/#findComment-602541 Share on other sites More sharing options...
shuabala Posted January 16, 2015 Author Share Posted January 16, 2015 Yah I also have a cs degree so it was a little disheartening that I couldn't just figure everything out pretty quick haha. So any ideas on how to teleport a character. I've looked at the wormholes and teleport components but I can't quite decipher how its working. Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/#findComment-602640 Share on other sites More sharing options...
SenL Posted January 16, 2015 Share Posted January 16, 2015 Yes, it's a great game. I love it.I'm learning modding as well and would appreciate some documentations.Thanks!! Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/#findComment-602643 Share on other sites More sharing options...
Developer PeterA Posted January 16, 2015 Developer Share Posted January 16, 2015 @nossr50, @shuabala, and @SenL, the best place to get started on modding right now would be to read through rezecib's guides. They are incredibly well put together and contain a plethora of information.http://forums.kleientertainment.com/topic/47353-guide-getting-started-with-modding-dst-and-some-general-tips-for-ds-as-well/http://forums.kleientertainment.com/topic/43773-dont-starve-together-mods-faq/ Good luck modding! I look forward to seeing what new experiences you make! Link to comment https://forums.kleientertainment.com/forums/topic/49192-api-for-dont-starve/#findComment-602680 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now