mzx987 Posted January 22, 2015 Share Posted January 22, 2015 (edited) First off, I just want to state that I am new to the modding community on Don't Starve, but not to any of the code itself.Right now, I'm starting to understand how it works, but I wanted to ask a couple of questions. I am wanting to remodify a current character on the game itself, but at the same time make him a character that you can choose that is separate from the rest (simple example: modifying Wilson with better health, but is not applied on the original character). So how would I pull this off? Do I copy textures over to modded files, or can I just type the path of original charater textures? Would I also have to copy the script(s) involved with it just to modify one value? EDIT: Oh, and if its not too much trouble, could someone move this to the appropriate section? I just realized I am in the Don't Starve Together section when I need to be in the singleplayer version... Sorry about that. Edited January 22, 2015 by mzx987 Link to comment https://forums.kleientertainment.com/forums/topic/49566-questions-about-modding/ Share on other sites More sharing options...
rezecib Posted January 22, 2015 Share Posted January 22, 2015 can I just type the path of original charater textures? This. You should just have to copy wilson.lua in the prefabs folder (and rename it and a few things inside), put it in scripts/prefabs in your mod, then have a modmain like this: PrefabFiles = { 'mycharacter' }AddModCharacter('mycharacter') Link to comment https://forums.kleientertainment.com/forums/topic/49566-questions-about-modding/#findComment-604903 Share on other sites More sharing options...
mzx987 Posted January 22, 2015 Author Share Posted January 22, 2015 (edited) Alright. I got a basic template going, but I can't seem to figure out why the mod causes the game to stop working when enabled. It also occasinally switches between that error and a "cannot find bigportrait" Lua error. Did I mess something up here? Edited January 22, 2015 by mzx987 Link to comment https://forums.kleientertainment.com/forums/topic/49566-questions-about-modding/#findComment-604931 Share on other sites More sharing options...
rezecib Posted January 22, 2015 Share Posted January 22, 2015 @mzx987, Derp, it finds bigportrait and saveslot stuff by prefab name, I think, so you will have to copy those assets. But when the game stops working, there's usually still a helpful crash message in the log file. (Documents/Klei/DoNotStarveTogether/log.txt). Link to comment https://forums.kleientertainment.com/forums/topic/49566-questions-about-modding/#findComment-604957 Share on other sites More sharing options...
mzx987 Posted January 22, 2015 Author Share Posted January 22, 2015 Thanks. I'll have to do this later on. I'll report back if something else happens, but I'm pretty sure this will fix it. Link to comment https://forums.kleientertainment.com/forums/topic/49566-questions-about-modding/#findComment-604970 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