minespatch Posted January 17, 2019 Share Posted January 17, 2019 The advice in this thread doesn't work for single player. This is just a experiment to see what Wilba would look like reading books. Maybe the code doesn't work due to DST having a different coding system. Also, when I code the books in, they disappear. Link to comment Share on other sites More sharing options...
oCrapaCreeper Posted January 18, 2019 Share Posted January 18, 2019 Not sure how you'd do it with the console, but you can definitely edit the files. I haven't played with the game files in a while but from what I recall, doing this is as simple as adding 1 line of code that determines whether or not the character is a "read". By default, only Wickerbottom and Maxwell have this flag. Adding the line inst:AddComponent("reader") in line with all of Wilba's other local functions in her .lua file should enable her to read books. That's just my best guess though, I can't test it myself and I'm not 100% sure where the correct line in the file is. Link to comment Share on other sites More sharing options...
minespatch Posted January 18, 2019 Author Share Posted January 18, 2019 3 minutes ago, oCrapaCreeper said: should enable her to read books As well as making the books not disappear... Hopefully. Link to comment Share on other sites More sharing options...
oCrapaCreeper Posted January 18, 2019 Share Posted January 18, 2019 Just now, minespatch said: As well as making the books not disappear... Hopefully. That I'm not sure. Unique character items are programmed to disappear from the world if the player is not playing the character they belong too. I'm sure there's a way to prevent that but I've never tried. Link to comment Share on other sites More sharing options...
Desblat Posted January 18, 2019 Share Posted January 18, 2019 type in console GetPlayer():AddComponent("reader") that will make your character read books Link to comment Share on other sites More sharing options...
minespatch Posted January 19, 2019 Author Share Posted January 19, 2019 "IT already exists in prefab"... Yet books keep disappearing. Link to comment Share on other sites More sharing options...
Desblat Posted January 22, 2019 Share Posted January 22, 2019 On 19.01.2019 at 10:44 PM, minespatch said: "IT already exists in prefab"... Yet books keep disappearing. hm the thing is: books have special script that remove them if no wickerbottom is around. That's the problem, you will need some mod to fix that Link to comment Share on other sites More sharing options...
G-Forces Posted January 28, 2019 Share Posted January 28, 2019 On 1/22/2019 at 11:21 AM, Desblat said: hm the thing is: books have special script that remove them if no wickerbottom is around. That's the problem, you will need some mod to fix that You could also console-spawn a wickerbottom. Link to comment Share on other sites More sharing options...
minespatch Posted January 29, 2019 Author Share Posted January 29, 2019 9 hours ago, G-Forces said: You could also console-spawn a wickerbottom. Thanks bud. I'll try that. Link to comment Share on other sites More sharing options...
minespatch Posted January 29, 2019 Author Share Posted January 29, 2019 I tried debugging both Wicker and Max in but neither books are staying. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.