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
| Limit | What it means for you |
|---|---|
| No outline or edge effect | The 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 absolute | The 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 noon | On 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 local | The 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 once | The 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
| Symptom | Cause | Fix |
|---|---|---|
| Nothing can be told apart at a few hundred metres | Fog or sky lines of the material start at 0: distant pixels take the cold sky temperature | FogRelStart 1, FogRelEnd 1, SkyHeightStart / SkyHeightEnd 10000, SkyVirtualDistance 100000. See Palettes and windows. |
| Neither the server file nor the Game Master changes the picture | The material has SimOverrideValues 1 and forces its own climate | Set it to 0 in all materials of the set. See Heat that follows the clock. |
| A changed ramp texture shows the old picture | The imported file under the same name is not imported again reliably | Give 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 twice | A hot reload of the scripts left a second key listener behind | Restart 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 disappear | You gave the component your own m_aThermalFilters | Intended: your list has no windows. Draw your own label, or keep the built-in set. |
| Two optics fight over the thermal picture | The same post-process slot | Give your optic its own m_iThermalSlot (12 is the default, RHS vehicle thermal uses 11). |
| Another mod’s keys stopped working after you added yours | Two addons override chimeraInputCommon.conf | One owner per collection. See Keys and hooks. |
| The screen stays washed out or white after leaving the optic | Camera brightness or the HDR slot was not given back | Night vision and the infrared gate: clear on the same camera, restore the player camera’s default. |
| A handheld device does not zoom | It is a gadget, not a weapon | Zoom on a handheld device. |
Calibrating your own scene
- Pick the time of day and the weather first, and let the world settle for a moment: the heat simulation runs with the clock.
- Measure ground, trees, soldiers and vehicles in one window and note the labels they land on.
- Repeat at night, morning, noon and evening, in clear and in overcast weather.
- Only then change a number, and change it everywhere at once.