_Icarus Posted January 16, 2015 Share Posted January 16, 2015 (edited) I've been working on writing a custom character mod with Reign of Giants for quite some time now and there was always one issue that I couldn't figure out how to solve. I found a work around, but now my work around doesn't seem to want to work. I'm aware that there is a line in the modinfo.lua file that should describe the api version. i.e.)api_version = 6 For some reason, when I started working on my mod, it would only run if I had that value set to 5. Changing it to the correct version number didn't seem to work. The mod always read "out of date" when the api_version was set to 5, but it worked. Now when I have the value set to 5, the game tries to load the mod, but gets frozen on the main menu screen. When I try to use the correct api_version number, 6, it would appear as if I have no problems loading the mod; I'd select to enable it from the mod menu, click "apply", and I'd be taken back to the title screen as if the mod loaded correctly. The only problem is that the mod doesn't actually load when this happens. If I try to start a new game and select a character, my modded character is no where to be found. The same follows suit in loading old games using the modded character; he'll be replaced with Wilson. Upon returning to the mod menu, it mod is red and reads "To Be Disabled". I've compared multiple mods from other users to my own and even compared my mod to various template characters, yet I fail to find the issue. I've even tried running the other user mods and the templates to ensure that they work, and they do. I can't seem to figure out what is wrong. If anyone would be able to help me, it would greatly appreciated. Below should be an attachment of my mod as it currently stands if anyone would like to dig through the code:icarusCharacterMod.zip If for some reason it doesn't work, this link is a MediaFire download link that can be used to download the same file. Edited January 16, 2015 by RyanKuke Link to comment https://forums.kleientertainment.com/forums/topic/49215-some-help-regarding-api-versions-please/ Share on other sites More sharing options...
_Icarus Posted January 16, 2015 Author Share Posted January 16, 2015 It appears that I posted this topic multiple times. I apologize for that. I tried using tab to indent some text, but it didn't work so then I used the spacebar. Apparently the "post" button was selected and the spacebar activated it. Sorry for the re-posts. Link to comment https://forums.kleientertainment.com/forums/topic/49215-some-help-regarding-api-versions-please/#findComment-602498 Share on other sites More sharing options...
Mobbstar Posted January 16, 2015 Share Posted January 16, 2015 Try checking your log, it should say what mod files it loaded. Link to comment https://forums.kleientertainment.com/forums/topic/49215-some-help-regarding-api-versions-please/#findComment-602619 Share on other sites More sharing options...
Kam297 Posted January 17, 2015 Share Posted January 17, 2015 In my experience this would happen when the mod silently crashes.I actually downloaded it and gave it a quick look through and couldn't find the problem... Try starting over using this template instead? (obviously i don't mean rewrite all your speech files and all that jazz) http://forums.kleientertainment.com/files/file/950-extended-sample-character/here's a tut if on using that template if you need it http://forums.kleientertainment.com/topic/46849-tutorial-using-extended-sample-character-template/although judging from your mod i don't think you will. Best of luck getting things sorted out! Link to comment https://forums.kleientertainment.com/forums/topic/49215-some-help-regarding-api-versions-please/#findComment-603115 Share on other sites More sharing options...
_Icarus Posted January 21, 2015 Author Share Posted January 21, 2015 In my experience this would happen when the mod silently crashes.I actually downloaded it and gave it a quick look through and couldn't find the problem... Try starting over using this template instead? (obviously i don't mean rewrite all your speech files and all that jazz) http://forums.kleientertainment.com/files/file/950-extended-sample-character/here's a tut if on using that template if you need it http://forums.kleientertainment.com/topic/46849-tutorial-using-extended-sample-character-template/although judging from your mod i don't think you will. Best of luck getting things sorted out! I actually tried starting over with that template and everything worked. I tried replacing chunks of code and only changing a few files at a time between different instances of me loading it up until I had the whole mod converted over to try and isolate a problem, and now everything works flawlessly... I really have no clue what the issue is. There is nothing that has been changed between the old mod files and the new ones except for the API version... I've ran this past a few other people and we are still lacking an explanation... Regardless, it still works and that's all I'm really worried about. Thanks for giving my mod a look though! Link to comment https://forums.kleientertainment.com/forums/topic/49215-some-help-regarding-api-versions-please/#findComment-604223 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