Kishkuma Posted October 6, 2015 Share Posted October 6, 2015 In SGWilson.lua, currently at line 990, there is a piece of script that reads thus: elseif inst.components.temperature:GetCurrent() > 60 then This elseif controls when the character begins playing the "too hot" idle animation. For some reason, this number is hardcoded. The number 60 is 10 less than the default overheat temperature of 70. I would like to request this line be changed as follows: elseif inst.components.temperature:GetCurrent() > (TUNING.OVERHEAT_TEMP - 10) then This would make it so that any mod which changes the overheating temp would also adjust the threshold for the idle animation. At present, the only way I know of to accomplish this is to include a modified version of the wilson stategraph in such a mod, which is frankly absurd and causes such mods to break whenever the stategraph is updated. Maybe there is a way to only override one line of a file instead of the entire file, but I don't know it, and to be honest, hardcoding a number like that isn't the best practice. This would be all around better. Anyways, it would be a very tiny and quick change, and I hope you will consider it. Thank you. (PS: Why yes, I do have a mod which modifies the overheat temperature. >.>) Link to comment Share on other sites More sharing options...
Developer PeterA Posted October 10, 2015 Developer Share Posted October 10, 2015 Looks like a good change! I've put it into the caves beta branch for now, which will eventually get promoted into the default build. Thanks for pointing this out @Kishkuma. Link to comment Share on other sites More sharing options...
Kishkuma Posted October 12, 2015 Author Share Posted October 12, 2015 Awesome, glad to hear it! And thanks for the reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.