Log inGet started
World

Sensor Looks: Thermal, Night Vision and X-ray

Branchmain
Commita92ee78fb2

README.md

HeatClimate (component)

The climate the scene's heat sits in: how warm the air, ground, sky and water are, and the temperature range a thermal palette spans. One per scene, on a synced entity, so every player shares it. It needs no sibling components and also starts heatSignatures's render feature on each machine.

You rarely add it by hand: Heat.setClimate("arctic") makes the entity when there is none and edits it otherwise. Place it in a scene's build to ship the scene with a climate:

entity.spawnSynced("HeatClimate").component.add("heatSignatures.HeatClimate", { climate = "horrorLair", overrides = { air = 2 } })
FieldDefaultMeaning
climate"temperateNight"A heatClimate id: temperateNight, desertDay, arctic, factory, horrorLair, or one of your own.
overrides{}Values laid over the climate: air, ground, sky, water (degrees C), plant, sunWarm, skyCool, day (0..1), low, high, glow.

Known limits

  • With two HeatClimate components in a scene, the last one found wins.
  • A climate id that is not installed falls back to the temperate night.