Pyrobolser Posted January 14, 2015 Share Posted January 14, 2015 (edited) Hello !This mode will give you a new playable character for Don't Starve Together :Hulot the Grumpy Owl"My higher intellect will lead me in this ugly world."First, let me apologie for my english. It's not my native langage and I am doing my best.This is my first mod for don't starve, be indulgent please. Here are the specificity of my character : Health : 170Hunger : 60Sanity : 360 As you can see, his base health and sanity are good, but he has a very tiny stomach. Don't get fooled by the high base sanity, because Hulot really don't like sunlight and will loose sanity during day phase. Long summers will be difficult to manage with him. Perks :Is a good hunter, but doesn't like the sunMay create seeds while eatingDon't eat vegetables but can eat insects Here are all the specificities of Hulot : It's an Owl Man !He is ugly and unpleasant, but somehow some people find him cute.He doesn't like the sun.He is a good hunter at night.He can't eat vegetables.He can eat insects.Eating may (1/5) make him drop seeds (even if he does't like vegetables)Eating may with a low chance make him drop an egg (even if he is a man)Eating may with a very low chance make him drop a rotten egg (it's like having a ratata shiney : cool but useless)If he eats fireflies at night, he will glow during the rest of the night.He has a VERY tiny stomach. Some update I could do (tell me what you think) :Making Hulot nocturn (can sleep the day, but not the night)Making Hulot looks different at night (to reflect his gameplay) I hope you will enjoy playing my character, please let me know what you think about it.Enjoy.Pyrobolser Edited January 14, 2015 by Pyrobolser Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/ Share on other sites More sharing options...
Pyrobolser Posted January 14, 2015 Author Share Posted January 14, 2015 Links : My links :Hulot on Steam Workshop My page on Facebook Other links :Usefull Guide for understanding Components Extended Sample Character Template Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-601836 Share on other sites More sharing options...
rezecib Posted January 14, 2015 Share Posted January 14, 2015 @Pyrobolser, Neat character! By the way, you can put the spoiler part in a spoiler tag if you want, by doing this: (spoiler)Spoiler stuff here!(/spoiler) But using [] instead of (). I think you need to post one more time before you can edit your posts, though. Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-601874 Share on other sites More sharing options...
Pyrobolser Posted January 14, 2015 Author Share Posted January 14, 2015 Ok, I'll do that !!Thanks ! =) Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-601935 Share on other sites More sharing options...
MattDoesnt Posted January 16, 2015 Share Posted January 16, 2015 I'm interested in your nocturnal perk, definitely following this mod because it's something I wish to figure out as well. Also, to either point you in the right direction or correct my own misinterpretation, I had assumed that the inability to sleep during the day was a built in function to the actual sleeping items (tent, etc.) rather than a character trait. Do you know anything about this already? Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-602517 Share on other sites More sharing options...
DarkXero Posted January 16, 2015 Share Posted January 16, 2015 The sleeping is done in the tent and bedroll states of the wilson stategraph (SGwilson). There is a check for day, a check for danger, and a check for hunger. You can do something like:AddStategraphPostInit("wilson", function(sg) local old = sg.states.bedroll.onenter function newonenter(inst) if inst.prefab == "hulot" then --cloned code from onenter with isday switched to isnight else old(inst) end end sg.states.bedroll.onenter = newonenter --same for tentend) Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-602580 Share on other sites More sharing options...
Pyrobolser Posted January 16, 2015 Author Share Posted January 16, 2015 Maybe i can add SGwilson to my mod, and modify it so if the character is hulot, it runs a different test.But I saw that the script to stop the sleep is on a different file : "component/sleepingbag.lua" So if I want to make my character sleep the day, i'll have to modify at least these 2 files. I'll post my advancement here. Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-602650 Share on other sites More sharing options...
Pyrobolser Posted January 16, 2015 Author Share Posted January 16, 2015 It's done !I did it so you can use my files on your mod.I modified "SGwilson", "bedroll_furry", "bedroll_straw" and "tent" in my mod so every character with the "nocturn" tag will only sleep during day phase.They will also wake up at dusk, and won't sleep again until the next day phase. I did not include dusk phase because I trough it would not be balanced, but you can modify it. If you like it like that, you can just copy/past the files from my mod and add the tag "nocturn" to you character =) I hope you will enjoy playing with my character !If you have a problem, please report bugs here. Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-602712 Share on other sites More sharing options...
MattDoesnt Posted January 17, 2015 Share Posted January 17, 2015 Is the nocturn tag something that already existed in the game?inst:AddTag("nocturn")Is this line enough to make any character nocturnal, or did you have to initiate it somewhere? Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-603095 Share on other sites More sharing options...
DarkXero Posted January 17, 2015 Share Posted January 17, 2015 No, it's a custom tag. Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-603107 Share on other sites More sharing options...
Pyrobolser Posted January 18, 2015 Author Share Posted January 18, 2015 Here. Open your script folder, and create a folder named "stategraphs". Copy this file in it : SGwilson.lua Now go to you prefab folder, and copy thoses : bedroll_furry.luabedroll_straw.luatent.lua Now you can use the tag "nocturn" on your character .lua and it will work =) Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-603185 Share on other sites More sharing options...
MattDoesnt Posted January 18, 2015 Share Posted January 18, 2015 Here. Open your script folder, and create a folder named "stategraphs". Copy this file in it : SGwilson.lua Now go to you prefab folder, and copy thoses : bedroll_furry.luabedroll_straw.luatent.lua Now you can use the tag "nocturn" on your character .lua and it will work =)Thanks! I'll be using it with a custom sleeping item though, so I shouldnt need the bedroll lua's right? I just need to edit my sleeping item in the same way you did the bedrolls Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-603198 Share on other sites More sharing options...
rezecib Posted January 18, 2015 Share Posted January 18, 2015 @Pyrobolser,@MattDoesnt, A word of caution on replacing stategraphs, though: They get changed a lot, and replacing it will break stuff when those changes occur (case in point: I was replacing the stategraphs to fix sound issues with DST RoG Characters -- a really bad idea, in retrospect -- and when they changed how sleeping was coded recently, it made it so people couldn't stop sleeping). If at all possible, it's much better to modify just the state/event handlers that you need to change using an AddStategraphPostInit. Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-603273 Share on other sites More sharing options...
Pyrobolser Posted January 18, 2015 Author Share Posted January 18, 2015 @rezecib Ok ! I will try to figure out how to do this and I'll post my advancement here !Thanks for the warning =) Link to comment https://forums.kleientertainment.com/forums/topic/49116-character-mod-hulot-the-grumpy-owl/#findComment-603369 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