agrowingpain Posted April 2, 2025 Share Posted April 2, 2025 The phases in the game are day, dusk, and night, which in my mind has always been missing dawn. I knew I probably wouldn't be able to figure it out on my own, but I went ahead and tried to see what I could do to possibly add another phase. I know that I would have to change how both the worldstate and uiclock work, so I initially tried to override them just to see what would happen. The game crashed. Pretty much regardless of the kind of override, it would crash the game. It wasn't surprising, but it does complicate things. So then I tried to hook the functions of worldstate and uiclock, and this is where I wasted several hours of my life because no matter what I did, the game basically wouldn't recognize it. I could load up the mod fine, but it just didn't do anything besides give debug prints. Pretty much everything was interpreted as nil no matter what I would do. Given how important the phases are to the game, I decided maybe changing them just wasn't in the cards. So now my current strategy is to create a separate function that tracks the time, and creates a pseudo-phase on top of part of another phase. In other words, the first 2 or 3 segments of day would have the dawn pseudo-phase on top of it that could be used to change behaviors. For instance, a new mushroom that only emerges at dawn. However, I can't even get this pseudo-phase to work at the moment. I'm still pretty new to modding, and I probably bit off more than I can chew here, but I'm really curious as to how someone might get it done. Has anyone done this or anything similar before, like maybe adding another season? Is it even possible? Link to comment https://forums.kleientertainment.com/forums/topic/165187-if-possible-how-might-one-add-a-new-phase-of-the-day/ Share on other sites More sharing options...
X K Posted April 2, 2025 Share Posted April 2, 2025 wow nice idea! I will follow your post and also try it. Link to comment https://forums.kleientertainment.com/forums/topic/165187-if-possible-how-might-one-add-a-new-phase-of-the-day/#findComment-1810559 Share on other sites More sharing options...
Guille6785 Posted April 2, 2025 Share Posted April 2, 2025 someone made a mod like this for don't starve a long time ago: https://steamcommunity.com/sharedfiles/filedetails/?id=170363121 1 1 Link to comment https://forums.kleientertainment.com/forums/topic/165187-if-possible-how-might-one-add-a-new-phase-of-the-day/#findComment-1810569 Share on other sites More sharing options...
agrowingpain Posted April 2, 2025 Author Share Posted April 2, 2025 1 hour ago, Guille6785 said: someone made a mod like this for don't starve a long time ago: https://steamcommunity.com/sharedfiles/filedetails/?id=170363121 So that's for the original Don't Starve which, to my understanding, just had the clock as a component. It's a much more complicated system in Don't Starve Together to keep everyone in sync, and this mod probably won't have any answers for the main problem I'm having. That said, thank you! I'm sure there's a lot I can learn from it. 1 Link to comment https://forums.kleientertainment.com/forums/topic/165187-if-possible-how-might-one-add-a-new-phase-of-the-day/#findComment-1810575 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