Don't Starve Together

Don't Starve Together

Temperature Tuner
64 Comments
Ultroman the Tacoman  [author] 7 Mar @ 8:07pm 
UPDATE:
- Fixed crash (sorry, it's been a while)

Thanks to Silver. the Absol for reporting <3

Much love.
Silver. the Absol 7 Mar @ 7:08pm 
the last update as a *slight* issue as we'll put it. im not sure whats changed in the code exactly but any time a player is within the influence of a campfire/firepit and assunedly other things with the heater component. the game crashes, the following gets printed to the master server log. im not sure if the logic around the smooth fall off was changed, or if something's definition needed redefined. not sure if theres a preferred way to report this sorta thing.

[00:09:23]: [string "../mods/workshop-530901403/modmain.lua"]:199: attempt to perform arithmetic on global 'ZERO_DISTSQ' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-530901403/modmain.lua:199 in (method) OnUpdate (Lua) <62-298>
scripts/update.lua:262 in () ? (Lua) <224-298>
Ultroman the Tacoman  [author] 7 Mar @ 5:52pm 
UPDATE:
- Updated code to reflect changes to the game code.

Thanks to @nolkan.kdfr for prompting me <3

@Pandoranoss: Thanks for the report! I don't know how to fix this. It's some weird networking code that governs all of this overheating UI on the clients using calls to and from the server. I have tried several times to figure it out, but to no avail. It's also incredibly annoying to test, because, as you say, it mostly works for the host, so I have to start the server on one PC and join on the other to test. I might figure it out one day, but I don't currently have the time to look into it.

Have a fantastic day everybody :)
Pandoranoss 27 Jan @ 3:08pm 
hey, there's a prett signifficant bug regrding the overheating temperature. when you lower the overheat temperature to e.x. 50°, anyone but the host will not have the heat border or any warning around the screen. even the damage sound does not play. even the host sometimes doesn't get any "feedback" from overheating. hopefully this could be fixed? I absolutely adore this mod!
nolhan.kdfr 15 Aug, 2023 @ 2:27pm 
please look into it
nolhan.kdfr 15 Aug, 2023 @ 2:27pm 
i suspect this mod being the reason wx's heat module seems to malfunction wich if this is te case then this is a bit of a shame
Ultroman the Tacoman  [author] 7 Jul, 2023 @ 7:00pm 
@Kallaste: I try to maintain it whenever I have time. I'll look into it. Thanks for reporting! <3
Kallaste 7 Jul, 2023 @ 4:34pm 
Is this mod no longer maintained?
Kallaste 3 Jul, 2023 @ 11:40pm 
I got this mod to disable overheating, but it isn't working. I have the highest player temperature set to the default of 90, and the overheating temperature set to 95 (the max). It seems this should get rid of overheating, since the overheating temperature is higher than the maximum temperature the players can reach. Sadly, overheating continues. Am I missing something?
Ultroman the Tacoman  [author] 20 May, 2023 @ 6:20am 
UPDATE:
- Updated to accommodate changes in the game's code.

Best regards, Ultroman the Tacoman
Ultroman the Tacoman  [author] 18 Mar, 2022 @ 4:02am 
@QuantumVoid: You can simply turn off or down the damage you take from cold and heat, and still retain the overlay effects. Heatrocks are really your best friend both in winter AND summer. You can get a lot done with them, as their light is enough to let you run around at night during winter, without being killed by the shadow creatures, but you still get a lot of sanity loss due to the darkness. You can tune loss of sanity with my Sanity Tuner mod, down to small things such as Wetness Sanity Drain, which I was fed up with enough to make Sanity Tuner in the first place XD There's also my "No Wet Items" mod and a bunch of other helpful mods in my repertoire, and the ones that are outdated say so in the title. My Long-range Research mod also helps a ton to remove confusion concerning crafting. Just remember to not remove ALL the challenge, just the bits that are a bit too punishing for you to have fun learning the game ;)

Sincerely, Ultroman the Tacoman
QuantumVoid 17 Mar, 2022 @ 10:09pm 
@Ultroman the Tacoman:
Thank you so much for the reply. Wife and I are having a hard time in winter so I just want to disable the cold until we're better at the game. lol.
Ultroman the Tacoman  [author] 17 Mar, 2022 @ 2:19am 
@QuantumVoid: Yes, it does :D
QuantumVoid 16 Mar, 2022 @ 5:46pm 
Does this still work?
AstrayCuriosity 5 Feb, 2021 @ 12:02am 
Okay just take your time.
Ultroman the Tacoman  [author] 5 Feb, 2021 @ 12:00am 
@Astray Curiosity:
Yes. Those lines change the insulation values on the temperature-component of the Thermal Stone. Those still need to make logical sense in the game, and negative inherent-insulation values do not make sense for the way the code works. There are a lot more things to consider than you might think :) I don't want to inadvertedly break the game for 2600 people :P
AstrayCuriosity 4 Feb, 2021 @ 11:52pm 
I think I missed to notice that this line is existing exactly only in heatstone.lua. It does not change any insulation or world temperature it's only changing how thermal stone works. Because thermal stones have their own insulation bonus.
Ultroman the Tacoman  [author] 4 Feb, 2021 @ 11:41pm 
@Astray Curiosity:
It's not that simple. You CAN have an inherentInsulation with a negative value, but that just means that we negate all other things which could affect the insulation, e.g., sheltered-state and the time of day in the summer, since they're added to the (now negative) inherentInsulation, and the result is clamped to 0.

I think the best approach is to add settings to adjust the winter and summer insulation of Thermal Stones separately, and not let them go below 0 in order to preserve the original game functionality. I'll have to put in some warning, though. I'll see when I can find time for this. Probably some time in the weekend.

Sincerely, Ultroman the Tacoman
AstrayCuriosity 4 Feb, 2021 @ 10:24pm 
Thanks for the reply but I really just wanted to add settings for these thermal stones and that's all because it actually works for me. I haven't looked if there is a difference between 0 and -240 since you're saying it can't go minus but I can definetly see changes in thermal stone effectivnes every 20 points. (insulation med is 120 of winter hat). I mean I just hoped you would add settings for this to change every 20 point for the thermal stone cold/heat insulation 120,100,80,60,40 etc...
Either way I'm stuck just editing my file every year in the game since Im not a moder lmao.
Ultroman the Tacoman  [author] 4 Feb, 2021 @ 9:23pm 
@Astray Curiosity:
Thanks for the detailed analysis. I'm sad to say that the mod was merely meant to tweak the way players were impacted by temperatures, so people could make it a little easier or harder. It is not a world temperature overhaul and extremes were not adjusted for.

The reason why Thermal Stones seem to work weirdly, is because the world temperature isn't actually being changed, and they function relative to that; I only change how each character experiences temperature, given their unique settings.
That said, I do see that Thermal Stones should probably be considered in some way, but while your solution looks viable, the problem is that the insulation calculations are clamped to never go below 0, so you can't give it negative insulation. The solution here, would be to actually raise and lower the world temperature, which this mod doesn't and won't, because it'll be a full new mod to control the world temperature. Sorry :/

Sincerely, Ultroman the Tacoman
AstrayCuriosity 4 Feb, 2021 @ 7:11am 
I'm here again with a pog news. I really hope you're still wish to update this mod or add something new and that's exacltly why I'm here. So there is a way to nerf/buff thermal stone in terms of it temperature speed change. It has this:

inst.components.temperature.inherentinsulation = TUNING.INSULATION_MED
inst.components.temperature.inherentsummerinsulation = TUNING.INSULATION_MED

if we change it to = -TUNING.INSULATION_LARGE <- 240, notice minus before the tuning

it will have negative insulation by the amount of beefalo hat. Which make the stone goes neutral in winter in a few seconds. It's kinda similiar how they worked in Shipwrecked during summer and were useless there. If you can implement these settings into your mod it would be very great. I can only hope you're still active in dst modding because I am just an amateur.
AstrayCuriosity 4 Feb, 2021 @ 2:56am 
I'm here to clear something for ya'll after a lot of testing. Pretty much most of settings is useless and change nothing just because of existing of thermal stones. And the only settings that nerf it is item inventory and item backpack percentage. If you're not changing it then this mod will do absolutely no effect if you use thermal stones. For example the overall temperature increase/decrease actually buff them even more to stay heat up longer and cooler. And total calculated insulation effect apply only for a character WITHOUT any clothing or thermal stone. So tbh it's impossible to make super cold or heat up world while thermal stones exist. You can make it harder by decreasing inv/bckp item effectivness but it does not change the speed of them getting to neutral state. It changes the max and lowest temp they will hold until they start losing it. Pretty dissaponting tbh and there is no mod that will tweak thermal stone cooling/heat speed.
Ultroman the Tacoman  [author] 20 Dec, 2020 @ 11:35pm 
@Pinkamena11 Faz Pony:
I'm very sorry to hear that you're struggling with the mod. It has been some time since I updated it, so maybe it has become a bit broken. That said, which settings did you use? It can very well do what you say you experienced, but only if you set it up to be that way. If you are unsure how something works and the description on the workshop here doesn't help, please do ask. I am more than happy to help.

Sincerely, Ultroman the Tacoman
Pinkamena11FazPony 20 Dec, 2020 @ 4:04pm 
I don't understand this all it overheats the characters over just a single fire and is super sensitive. It's no fun struggling to understand what's wrong.
Ultroman the Tacoman  [author] 13 Sep, 2020 @ 8:08pm 
UPDATE:
- Updated for new version of the game.

Sincerely, Ultroman the Tacoman
Ultroman the Tacoman  [author] 28 Sep, 2019 @ 2:22am 
@MathiusXII: I haven't been able to reproduce this issue, though someone else reported it a long time ago. If you could tell me your settings (perhaps link to a couple of screenshots of your settings) I can try to see if I can reproduce it, so I can debug and fix it.

Sincerely, Ultroman the Tacoman
MathiusXII 27 Sep, 2019 @ 4:17pm 
Is there any way to make the damage overlays work properly when you're overheating/freezing? I didn't know I was overheating because the screen didn't turn red
Ultroman the Tacoman  [author] 16 Aug, 2019 @ 4:55am 
UPDATE:
- Updated for new version of the game.

Sincerely, Ultroman the Tacoman
Ultroman the Tacoman  [author] 18 Jun, 2019 @ 2:21pm 
UPDATE:
- Properly utilize the new separate overheat temperature variable for Willow.

Sincerely, Ultroman the Tacoman
Ultroman the Tacoman  [author] 19 Nov, 2018 @ 11:54am 
Hahah, it can indeed! It's very versatile. You can also take a look at my mod "Sleepy Time" if you want to tweak the sleeping rolls and tents. There are A LOT of settings and new features for each of them. Fx you can set it so when the world is hotter than a certain temperature, crawling into a Fur Roll heats you up even more, which would be realistic, instead of just keeping you at the same as world temperature. Also, "Long-range Research" really should be in everyone's collection ;)

Thanks for the nice words of encouragement!
AstrayCuriosity 19 Nov, 2018 @ 11:37am 
I was just wondering sometimes: is there any mods for tweaking world surroundings or temperature? And today I was having a problem with very frequent supercooling in Tropical experience even in spring (in vanilla sw this is nonsence). So I find out this mod and I have no idea why I couldn't find this mod eariler. It can help a lot to create "endless severe frost" world or "living on the sun".
Ultroman the Tacoman  [author] 19 Nov, 2018 @ 11:13am 
@Astray Curiosity: Thank you! I think so, too :D You inspired me to just give this one another look.

UPDATE:
- Changed the name of the setting "Moisture Penalty Percentage" to the more accurate name, "Wetness Cooling Effect". Your settings for this setting will have been reset. Sorry.
- Added more possible settings for the "Wetness Cooling Effect", so you can make it work in reverse. The new negative settings make you get hotter the wetter you are.
- Reworded setting tooltips so they fit within the new mod settings UI.

Sincerely, Ultroman the Tacoman
AstrayCuriosity 19 Nov, 2018 @ 9:43am 
Very underrated mod.
Ultroman the Tacoman  [author] 20 Aug, 2018 @ 5:19pm 
Just went through the game code, to ensure that this mod still works as intended.

Sincerely, Ultroman the Tacoman
Ultroman the Tacoman  [author] 11 Jan, 2018 @ 8:24pm 
UPDATE:
- Fixed a crash upon starting a server.

Sincerely, Ultroman the Tacoman
Ultroman the Tacoman  [author] 10 Jan, 2018 @ 3:38pm 
A small maintenance update, because of changes in the original game code.

Sincerely, Ultroman the Tacoman

HAPPY NEW YEAR!
ƫŕį˟ŧęřȣ 27 Nov, 2016 @ 11:13am 
it works now. thanks for reply and dont worry. great mod
Ultroman the Tacoman  [author] 27 Nov, 2016 @ 10:35am 
Sorry about that. I don't really play anymore, and my time is scarce. I'll take a look at it within the next few weeks. It's a lot of work with this mod.
ƫŕį˟ŧęřȣ 23 Nov, 2016 @ 2:54pm 
doesnt work in new reign since today : - (
Ultroman the Tacoman  [author] 26 Jun, 2016 @ 5:02am 
@ChainedDjinn: I specifically use "Combined Status" to test this mod. What I'm thinking (hoping) is the problem, is that your "Combined Status" is set to show Fahrenheit or Celcius, instead of the actual game-temperature-measurings, which are the ones you actually set with "Temperature Tuner". My guess is, if you set "Combined Status"'s "Temperature Unit" setting to "Game Units", then you will see the expected result.

Sincerely, Ultroman
ChainedDjinn 17 Jun, 2016 @ 2:45pm 
Not sure if this is actually a problem or not, but I have a conflict with the 'Combined Status' mod.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=376333686

I tried working with some of the settings to make it so characters would cool off but freeze easier yet make it a little more fair IMO. Basically I wanted to set it up as 'Longer you stay out, longer it takes to warm up' or at least that's what I thought.
Yet while I was playing, the temp on the combine status mod said I was at 17 yet I kept freezing. Sadly I already reverted the mod and erased my settings, but I haven't gotten around to using it since.
I was curious if these mods were already checked for compatibility before making another attempt.
gurkoz 26 Apr, 2016 @ 8:50am 
Awesome mod! Recommended!
Ultroman the Tacoman  [author] 20 Feb, 2016 @ 1:46pm 
Klei has fixed the bug concerning mod settings! :D
Settings should now be applied correctly when starting a server, instead of reverting to default settings.

As always, please do report any bugs!

Sincerely, Ultroman
Ultroman the Tacoman  [author] 13 Feb, 2016 @ 12:39pm 
The last update to DST broke all mods with settings in them. No matter what you set your options to, they are always reset to defaults when starting a server. Dedicated servers have another set of problems. Klei is working on it. There's nothing I can do :(
Ultroman the Tacoman  [author] 31 Jan, 2016 @ 2:33pm 
I found a sort-of-elegant way of controlling the heat- and ice-overlays!

The extremely altered mod is LIVE! Check out the new settings in the description!

Enjoy!
Ultroman the Tacoman  [author] 31 Jan, 2016 @ 1:08pm 
I'm now sporting 26 temperature settings! The update will come within the next week.
The hurt-overlay and damage-indicator is now only showing, if you're actually taking damge from heat/cold. I'm trying hard to find the least intrusive ways of overriding the heat- and ice-overlays, so they work with the new settings.

Stay tuned!!
Ultroman the Tacoman  [author] 29 Jan, 2016 @ 2:24pm 
...with 24 temperature related settings!
Ultroman the Tacoman  [author] 29 Jan, 2016 @ 7:35am 
Brace yourselves...

An update is coming...
Ultroman the Tacoman  [author] 30 Nov, 2015 @ 12:05am 
I can see that 'Take Your Time' simply changes a lot of the tuning-variables for the game, which is neat and probably why it can be changed while the server is running. To change anything more than those, which is what I wanted to do with this mod, I have to override some functions, which apparently requires a server-restart or respawn of characters. It is quite possible that the other mod can interfere with the temperature-calculations, if you've changed the insulation-settings with it.

I want to change the temperature calculations only for players, but the problem is, if I change the tuning-variables for maximum and minimum temperatures for entities (which is all you can do directly for temperatures with the tuning-variables available, except insulation), it will have an effect on ALL entities, like heat-stones and stuff. If I want to change one specific thing, like a player, then I have to change it when he is instantiated i.e. spawned.
Ultroman the Tacoman  [author] 29 Nov, 2015 @ 5:40pm 
@bumbaclad:
The indicator-issues are very weird, as I am not touching any code that does those things. And I am not experiencing them myself, so I'm having a hard time figuring out what it can be. It must be something about clashing mods.

I do see the appeal of changing the functionality to work off of insulation instead, but the approach is completely different, and would result in an entirely different mod. Its effect would basically only affect things that insulation, i.e. clothes, has an effect on, while mine has an effect on the complete temperature-calculations, including heat-stones, shade, belly-temperature etc..
I am thinking of changing the mod around a little, so you can change the effect of all the different things (heat-stone, shade etc.) separately.