icantevenname Posted August 16, 2020 Share Posted August 16, 2020 I have no problem with the stuff in the character's lua, but I'm only guessing what to do after. I took Don't Starve's Hamlet SGwilson file and brought it over to my mod's stategraphs folder, figuring that the dodge code won't work without it. I deleted everything in it that doesn't have anything to do with dodging, but don't know what steps to take so that my mod's SGwilson doesn't overwrite the game's SGwilson. Link to comment https://forums.kleientertainment.com/forums/topic/120982-need-help-porting-wheelers-dodge-to-custom-dst-character/ Share on other sites More sharing options...
DecDuck Posted August 16, 2020 Share Posted August 16, 2020 Take a look at this: https://steamcommunity.com/sharedfiles/filedetails/?id=1836974133 Link to comment https://forums.kleientertainment.com/forums/topic/120982-need-help-porting-wheelers-dodge-to-custom-dst-character/#findComment-1363199 Share on other sites More sharing options...
icantevenname Posted August 16, 2020 Author Share Posted August 16, 2020 8 hours ago, decduck3 said: Take a look at this: https://steamcommunity.com/sharedfiles/filedetails/?id=1836974133 1) Welp. 2) Sure looking through this is okay? Is the mentality that in order to do the same thing, I'll end up doing the same thing anyway, so it's fine? Link to comment https://forums.kleientertainment.com/forums/topic/120982-need-help-porting-wheelers-dodge-to-custom-dst-character/#findComment-1363270 Share on other sites More sharing options...
DecDuck Posted August 16, 2020 Share Posted August 16, 2020 It's OK to look through code to do how other mods do it, and you can even take some code, as long as it isn't identical. If you need the code to do something that the mod doesn't, it's OK, as you will probably get the same result or similar. Also, to not override Klei's SGwilson, use a AddPrefabPostInit 1 Link to comment https://forums.kleientertainment.com/forums/topic/120982-need-help-porting-wheelers-dodge-to-custom-dst-character/#findComment-1363315 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