Sensor Looks: Thermal, Night Vision and X-ray
README.md
CampfireFlames (component)
A burning campfire for the forest showcase, built only from the engine's own pbr material and its sphere shape, so it draws on every engine with no custom shader. Put it on the fire's effect entity (the build puts it on FireFX under Campfire). On every machine it builds local children and animates them each frame:
- Flame tongues in three additive layers: an orange outside, a yellow inside and a white-hot core at the base. Each tongue licks: its height pulses, its tip sways and it narrows as it stretches, from layered waves seeded per tongue.
- Sparks that rise on their own drifting paths and wink out near the top.
- Smoke puffs that climb above the flames, swell and lean with a slow breeze.
Nothing is synced: every player builds the same kind of fire from the same seed. The forest's bloom turns the additive layers into a glow, and the campfire's FireLight (flickered by Flicker) lights the camp. Heat comes from the Campfire name, so thermal reads it as a fire.
local fx = entity.spawn("FireFX", { parent = fire })
fx.component.add("showcase.CampfireFlames", { tongues = 7, sparks = 14, smoke = 6, height = 1.0 })
Known limits
- The flames are soft glowing shapes, not a simulated fluid; up close they read as stylised fire.
- About 30 small pieces move every frame on each machine, a few hundredths of a millisecond of script time.