← 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

Thermal imaging and night vision for any optic Changed

Thermal imaging that follows the time of day, four palettes, ten temperature windows tuned for soldiers and vehicles, night vision with an infrared gate – as one component you put on your own optic. These pages explain what is in the framework, how to build it into a sight, a camera or a screen, and what the numbers mean. Start with Add it to your optic.

In plain wordsA ready-made thermal and night-vision system for any optic: four palettes, ten temperature windows, a heat picture that follows the game clock, and an infrared gate. You add one component to your optic.

View in the Workshop →

What the framework is

The GTG Thermal Framework is a Workshop addon without weapons, items or vehicles. It is the thermal and night-vision half of the SOFLAM Integration Core, moved into an addon of its own on 2026-11-07, so that other optics can use it as well. It depends on the base game and on nothing else; it compiles and loads alone.

The class names still start with GTG_SOFLAM_. That is on purpose: prefabs and configs that were written against the Core keep working. The examples on these pages are excerpts of the real code, shortened and commented. Classes that belong to your mod start with MyOptic_.

What is in itChanged

PieceWhat it does
Assets/Thermal40 thermal materials (four palettes, ten temperature windows each) and the colour ramps they use. The heat simulation takes its air, sky and sun values from the world.
GTG_ThermalClimate, GTG_ThermalClimateConfigThe climate of the world: air temperature from a file on the server, sun and sky set to match, and two sliders for the Game Master. See Climate per server.
GTG_SOFLAM_VisionModeComponent and the enum GTG_SOFLAM_EVisionModeThe component you add to an optic: modes (normal / night vision / thermal), palette, temperature window, gain, keys.
GTG_SOFLAM_VisionSharedOne shared vision state per player: mode, palette, gain, zoom, and the temperature window of each display.
GTG_SOFLAM_NVState“Can this viewer see infrared light?” – decided on each player’s own machine.
GTG_SOFLAM_ScreenEffects (modded class SCR_ScreenEffectsManager)Writes and clears the night-vision effects on a camera, on the player camera or on a camera of your own.
Your optic→Vision component→Palette + window→Post-process on the camera

Rules that held upChanged

RuleWhy
The picture is local, the climate is notPost-process effects and input exist only on a client, and the picture is computed on each player’s machine. The one thing the server does is set the climate of the world at start; the game sends it to every player.
The scale is calibrated to skinThe numbers on the scale are shifted by a fixed offset so that a person reads about 37 degrees. The pictures and the materials stay as they are. See Palettes and windows.
The window controls the contrastEach temperature window shows one slice of the range. The thing you look for gets the whole contrast, instead of one grey among many.
Give back what you setWhatever is written to a camera outside a single frame is cleared again on the same camera when the mode is left. See Night vision and the infrared gate.
One mod owns the input configurationOnly one addon can override the game’s input configuration. The framework therefore ships no key bindings. See Keys and hooks.

The pages

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