[MOD] (Alpha 8) Climate Control Unit

Started by Vader, January 23, 2015, 09:00:51 AM

Previous topic - Next topic

Vader

Hello. I want to introduce you to a system of climate control for the room.
The system allows you to set the minimum and maximum comfortable temperature in the room that needs to be maintained.
System can both heat and cool the air according to the current room temperature and the set temperature values.
Power is calculated dynamically depending on what we do with air (heated or cooled) and also depends on the temperature difference.

A translation into Russian and English.

Waiting for your suggestions.

Images:
http://1drv.ms/15kGcO6
http://1drv.ms/15kGkxi
http://1drv.ms/15kGowP
http://1drv.ms/1upGHNJ

Credit:
- Me (Vader) idea and coding;
- eatKenny textures;

Changelog:
23.01.2015 v1.1.1:
- PlaceWorker: fix draw room outline when installed outside(thx eatKenny);

23.01.2015 v1.1:
- Added normal textures (thx eatKenny)
- Code optimisations;
- Bugfixes;

23.01.2015 v1.0:
- Initial Release;

[attachment deleted due to age]

Epyk

Click picture for Epyk Pack!
Try Epokalypse!

eatKenny

well done, that makes life more easier. i may give you a texture later ;)

BajtMe

Looks nice. Up until now i have been avoiding warmer biomes just to not have to deal with finding ways to place the annoying coolers. I know it's realistic and all, but if i wanted real i'd just go put in some extra hours at work instead of playing video games.  ;D

Enjoyment

First of all - great work (except graphics, but I think someone here will help you with it).
And second...
Quote from: Vader on January 23, 2015, 09:00:51 AM
Power is calculated dynamically depending on what we do with air (heated or cooled) and also depends on the temperature difference.
... we need mod, that show outdoor temp in addition to indoor... Such as
Indoor +21 C
(Outdoor -56 C)
It will be usefull in general, and in your case - leads to better understanding of power consumption...
English is neither my native lang nor my strong side...

eatKenny

#5
i made a texture for the unit, and changed the UI texture a little bit too to make it look better in game.

2 issues:
- when the unit placed outdoor it seems still working and has a mega power consumption.(it should have a max power consumption and thus a limited heating/cooling capacity)
- in power consumption there should be "W" instead of "BT"(is it Russian for Watt?)

texture:



[attachment deleted due to age]

skullywag

wait it changes the outdoor temp...thats not good i can imagine that breaking a lot of stuff.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Vader

@Enjoyment:
New textures added, thx eatKenny. I'll see if it can be implemented as a mod.

@eatKenny:
Thx for normal textures. If placed outdoor, CC will change status to "Installed outside" and change power consumption to 0.
Yes Вт it's W (Watt) in Russian, also fixed.

@skullywag:
Already fixed.

eatKenny

still a small nitpicking: when placed outside the unit still draw the outline of the "outside room" which slows the game down. i took a look into your code it seems to be an issue from "PlaceWorker".

Vader


millenium

hate to nitpick (i really dont) but the temperature gauge is in celsius which is better mechanically but i prefer fahrenheit because its better in human terms. i have switched back and forth between the two but it the gauge on the CCU doesnt adjust. i do like the mod but this is the only issue i have with this mod.

Jaxxa

Quote from: millenium on January 28, 2015, 08:09:56 PM
hate to nitpick (i really dont) but the temperature gauge is in celsius which is better mechanically but i prefer fahrenheit because its better in human terms. i have switched back and forth between the two but it the gauge on the CCU doesnt adjust. i do like the mod but this is the only issue i have with this mod.

What you are really saying is that because you are used to it you personally prefer fahrenheit. There is nothing about fahrenheit that makes it better than celsius for displaying temperature in human terms and in a lot of countries where people grow up using celsius would have the same trouble you are describing with fahrenheit.

That said it would be nice if Vader can figure out how to change the display based on the options menu.

skullywag

its on Prefs called temperaturedisplaymode or something, easy to flip on that. Just check the core temperature comp for the code.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Vader

GenText.ToStringTemperature(_maxComfortTemp)
Converts the numeric value in the text with the game settings.
I've already done, but did not have time to update, busy at work.

Siberianhamster

Quote from: millenium on January 28, 2015, 08:09:56 PM
hate to nitpick (i really dont) but the temperature gauge is in celsius which is better mechanically but i prefer fahrenheit because its better in human terms. i have switched back and forth between the two but it the gauge on the CCU doesnt adjust. i do like the mod but this is the only issue i have with this mod.

lol. Do you appreciate that there are only about 5 or 6 countries that still use Fahrenheit? Which puts your preference in the vast, vast minority of people?