MrShpeee Posted July 9, 2015 Share Posted July 9, 2015 Can someone please make a mod that removes Woodie's Curse completely.I would do it myself but i have no idea how to code.I like to play as Woodie very very much but the Curse is just annoying because you cant chop down lots of trees at once. Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/ Share on other sites More sharing options...
Developer ImDaMisterL Posted July 9, 2015 Developer Share Posted July 9, 2015 But... that's what the curse is for. For you to NOT chop down lots of trees at once. Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653054 Share on other sites More sharing options...
ColorfulStan Posted July 10, 2015 Share Posted July 10, 2015 If youd like to disable that behaviour I think here is what you might try for a quick and dirty solution that might only disable the curse of woodie to turn into a beaver after chopping down too much wood 1) go to folder:...\Steam\steamapps\common\dont_starve\data\scripts\prefabsand make a backup-copy of the file "woodie.lua" 2) open the original woodie.lua file in text editor 3) search for inst:ListenForEvent("working", onworked)(line 260) and replace it with -- inst:ListenForEvent("working", onworked)(or delete the line) That should remove the tracking of chopped wood (more specifically of any working) and would stop woodie to turn into a beaver through that while not affecting any other behaviour of the character. TRY ON YOUR OWN RISK - if it breaks something just restore the woodie.lua through overwriting it with the backup-file. As mentioned this is a quick and dirty solution and updates or mods might overwrite this change, but as its only 1 line of code changed it also doesn´t justify a mod for itself. Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653086 Share on other sites More sharing options...
MrShpeee Posted July 10, 2015 Author Share Posted July 10, 2015 Didn't work for me sadly Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653211 Share on other sites More sharing options...
ColorfulStan Posted July 10, 2015 Share Posted July 10, 2015 Ok, I guess that listener will get set somewhere else again then.Tried another solution myself now that worked to not increase his beaverness-meter. Instead of the above you look for the following line:inst.components.beaverness:DoDelta(3)(line 177) woodie.lua as described above. and add the "--" there or delete it. That did the trick and this time its tested Seems to work with existing games as well as new ones. Sorry for the false instructions - how do i edit my previous posts? Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653247 Share on other sites More sharing options...
Blueberrys Posted July 10, 2015 Share Posted July 10, 2015 @ColorfulStan It's generally not a good idea to edit the original files. @MrShpeee I think the most efficient code would be if you copied woodie's code and made a curseless-woodie out of it, since the curse is a big part of the character and pretty closely connected with his code. But, there is a simpler solution which should work.AddPlayerPostInit(function(player) local beaverness = inst.components.beaverness -- Make person in case you're a beaver if beaverness.makeperson then beaverness.makeperson(self.inst) end -- Set to false for IsBeaver fn to work correctly beaverness.is_beaver = false -- Disable the delta function for future transformation function beaverness:DoDelta() endend)This goes in your modmain.lua script. Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653362 Share on other sites More sharing options...
MrShpeee Posted July 10, 2015 Author Share Posted July 10, 2015 @ColorfulStan I'm sorry but it still didn't work for me and i don't know why @Blueberrys Something causes an error and crashes the game..or I just did it wrong. Can you please explain to me how to make that modmain and everything? -Thanks Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653377 Share on other sites More sharing options...
ColorfulStan Posted July 10, 2015 Share Posted July 10, 2015 @ColorfulStan It's generally not a good idea to edit the original files. Of course its not, that´s why its called quick'n dirty (Would it work for OP) It´s just the most simple way for someone not familar with coding, since the modification in my last post should only disable the trigger / function call that is concerned with controlling the beaver-meter and not interfere with anything else. Generally I wouldn't recommend this myself, but anything more elaborate requires a decent amount of effort to get the basics for modding and coding down i quess. Buuut it doesn't seem to work for him anyways, and for me it was a thought experiment to get used to the coding structure of the game...so that's that Maybe Ill get into it and make that endless-chopping-woodie just for lols over the weekend to get into character modding myself, we´ll see. cheers Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653411 Share on other sites More sharing options...
Blueberrys Posted July 11, 2015 Share Posted July 11, 2015 @MrShpeee See this (incomplete) tutorial for setting up a basic mod. A modmain file is just a text file in your mods root folder named "modmain.lua"Look into other mods to get an idea on how it works, or see this page for the file structure. Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653446 Share on other sites More sharing options...
MrShpeee Posted July 11, 2015 Author Share Posted July 11, 2015 Something in the code causes my game to crash...I did everything in the tutorials except for the modicon. Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653529 Share on other sites More sharing options...
RetroRvaj Posted July 11, 2015 Share Posted July 11, 2015 I'd like to have a mod similar to this as well. Also not sure how I'd go about doing it though Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653564 Share on other sites More sharing options...
Blueberrys Posted July 11, 2015 Share Posted July 11, 2015 (edited) @MrShpeee Log please. Edit: I think the modicon is required. Just put any sort of image in there. Solid color 8*8 works too. Edited July 11, 2015 by Blueberrys Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653586 Share on other sites More sharing options...
ColorfulStan Posted July 11, 2015 Share Posted July 11, 2015 (edited) I just noticed there is a bug in the "Action Queue" Mod that prevents woodie from transforming.If you queue up all the trees you want (by shift-dragging a selection) He doesn't transform when the beaver-meter reaches 100. Edited July 12, 2015 by ColorfulStan Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653621 Share on other sites More sharing options...
ColorfulStan Posted July 12, 2015 Share Posted July 12, 2015 ok here is a very basic mod-solution that removes the beaverness increase from woodie.just extract the archive into your mods folder and enable it under mods "Treeslaughter woodie" Some notes:Woodie still his his curse but its not triggered through chopping wood anymoreLucy doesn´t talk anymoreNot tested if the transformation back works as intended but it shouldmodicon is borrowed from devtools modLet me know if there are any issuestreeslaughter-woodie.zip Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653706 Share on other sites More sharing options...
MrShpeee Posted July 12, 2015 Author Share Posted July 12, 2015 Nice! Thanks man! Its working! Link to comment https://forums.kleientertainment.com/forums/topic/56020-mod-request-woodie-without-his-curse/#findComment-653730 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