← Home SEEBIE90 DOCS
Download PDF
The GTG Thermal Framework mod is published under the Arma Public License (APL)Example code is free to useSuggestions: Discord to the author

GTG Thermal Framework

Limits and pitfalls Changed

A short list, honest about the engine. Most of these cost an evening each.

In plain wordsWhat the thermal effect of the engine cannot do, and the mistakes that cost the most time.

What the engine cannot doChanged

LimitWhat it means for you
No outline or edge effectThe thermal effect has no parameter for it. A line around a silhouette would be a different technique, not a setting. Separate soldiers from the ground with the window and the palette.
Temperatures are not absoluteThe same ground reads 20 at night and above 60 at noon. Vehicles are cooler than real ones: hood and exhaust show, but not at real temperatures.
Hot ground at noonOn a hot clear day bare soil, sand and clothing heat up strongly, so soldiers and sunlit ground can come close in brightness. Another window or palette helps.
The picture is localThe picture is computed on each player’s own machine. A dedicated server only sets the climate of the world at start, see Climate per server.
Clouds cool the ground at onceThe engine’s heat simulation has no thermal inertia: a passing cloud shadow makes the ground read cooler at once, and the sunlit gaps between shadows show as warm patches.

PitfallsChanged

SymptomCauseFix
Nothing can be told apart at a few hundred metresFog or sky lines of the material start at 0: distant pixels take the cold sky temperatureFogRelStart 1, FogRelEnd 1, SkyHeightStart / SkyHeightEnd 10000, SkyVirtualDistance 100000. See Palettes and windows.
Neither the server file nor the Game Master changes the pictureThe material has SimOverrideValues 1 and forces its own climateSet it to 0 in all materials of the set. See Heat that follows the clock.
A changed ramp texture shows the old pictureThe imported file under the same name is not imported again reliablyGive the changed ramp a new file name and a new GUID. And close the Workbench while you change files that are loaded: with it running, materials fell back to a flat grey.
One key press counts twiceA hot reload of the scripts left a second key listener behindRestart the Workbench instead of reloading. The component now removes its listeners before it adds them, which fixed the worst of it, but a restart is still the safe way to judge key behaviour.
The window label and the colour bar disappearYou gave the component your own m_aThermalFiltersIntended: your list has no windows. Draw your own label, or keep the built-in set.
Two optics fight over the thermal pictureThe same post-process slotGive your optic its own m_iThermalSlot (12 is the default, RHS vehicle thermal uses 11).
Another mod’s keys stopped working after you added yoursTwo addons override chimeraInputCommon.confOne owner per collection. See Keys and hooks.
The screen stays washed out or white after leaving the opticCamera brightness or the HDR slot was not given backNight vision and the infrared gate: clear on the same camera, restore the player camera’s default.
A handheld device does not zoomIt is a gadget, not a weaponZoom on a handheld device.

Calibrating your own scene

  1. Pick the time of day and the weather first, and let the world settle for a moment: the heat simulation runs with the clock.
  2. Measure ground, trees, soldiers and vehicles in one window and note the labels they land on.
  3. Repeat at night, morning, noon and evening, in clear and in overcast weather.
  4. Only then change a number, and change it everywhere at once.
Example code on this page is free to use in your own projects (credit appreciated). The GTG Thermal Framework mod is published under the Arma Public License (APL). Suggestions: Discord. Arma Reforger / Enfusion are trademarks of Bohemia Interactive.
Impressum · Privacy Policy