sensorWorld
Turn an existing scene into a sensor look (a thermal camera, night vision goggles, x-ray, sonar, infrared) with heatSignatures, sensorBlocks and sensorGoggles, without editing any material or code.
sensorWorld
Turn an existing scene into a sensor look (a thermal camera, night vision goggles, x-ray, sonar, infrared) with heatSignatures, sensorBlocks and sensorGoggles, without editing any material or code.
What it does
- Survey. Reads the scene before changing anything: every entity's name, what heatSignatures finds by itself (
Heat.sources()), what is warm or cold in fact but was missed or matched wrongly, characters with the role each should read as, pickups, hazards, transparent things and any style stack already in place. - Climate. Chooses a heat climate for the place and time (temperate night, desert day, arctic, factory, horror lair, with overrides) and applies it for every player.
- Heat. Adds
HeatSourcecomponents where the name defaults miss or are wrong, sets what is working or warms when moving, and adds name rules where many things share a word. - Look. Picks a sensor look (or a sensor block and an optic), puts it on, and tunes its settings in up to three rounds against presented frames so warm things stand out and night vision stays readable.
- Roles. Gives roles with styleRoles (or
StyleKit.give) so the player, enemies, pickups and hazards read apart under the sensor (outline and blink, hatching, shimmer, dashes), and picks the stealth or spooky role set where it fits. - Goggles. Adds one
GogglesRigwith suitable modes, power style and readout so each player has their own goggles, and presses the controls to prove them; or, withgoggles = false, puts the look on the shared stack for everyone. - Verify. Checks the presented frame: one player's goggles do not change another's view, flashes wash out night vision no more than three times a second, pings ripple and fade, UI reads, transparent things are noted.
- Cost. Measures frame time with and without the sensor look.
- Report. Answers with the climate, every HeatSource, rule and role added, the look and its tuning, the goggles, the checks, the cost, and how to remove each change.
Everything it adds is a HeatSource, a name rule, a role, a climate, a GogglesRig or stack entries; each is listed with how to take it off.
What it needs
sensorGoggles installed (it brings sensorBlocks, heatSignatures and styleKit), and the world in play for the look, goggles and verification steps. styleRoles is used when installed.
Starting it
zero workflow start --name sensorWorld --args '{"scene":"forestNight","look":"military thermal scope with night vision as the second mode"}'
scene names the scene (default: the loaded one); look is the feel in the asker's words (default: the run proposes one); goggles false puts the look on for every player instead of per-player goggles (default true).
Known limits
- Tuned settings do not carry into goggle modes, which take plain look ids; the run says which tuning mattered.
- Name rules (
Heat.addRule) are per machine, so the run says where to call them from; HeatSource components are synced. - The sensorBlocks package README's Known limits lists the rest.
Scoped to this part · feeds back into the world's score.