Repository navigation
Fire and Smoke
New in 4.4.0. Read from the code, not tested live.
With two scene switches, fire stops being a single blast. A fire spell sets things alight, and the fire moves on by itself from prop to prop, through painted decorations and across grass, a round at a time, until it burns out or someone puts it out. A third switch makes a fire indoors fill its room with smoke that drifts through doorways, hides what stands in it and drains out of open doors and windows.
Animater never changes a creature's HP or gives it a condition. What the fire and smoke do to the creatures in them is the GM's to rule.
Where: Scene configuration → Animater → This place, beside Breakable props.
| Field | Default | What it does |
|---|---|---|
| Fire spreads | Off | A burning prop sets fire to what stands next to it, round by round. Needs Breakable props on. |
| Fires fill rooms with smoke | Off | A fire indoors fills its room with smoke, round by round. Needs Breakable props and Fire spreads on. |
Both are per scene and off until you turn them on. Smoke suits a closed inn, a cellar or a mine far better than an open market.
A GM has to be connected. Only the active GM's screen works out the rounds and writes what happens, and every screen draws what was written, so everyone sees the same fire and the same cloud.
With Fire spreads on, anything that does fire damage over an area sets alight what it covers instead of breaking it. That covers a spell's area (see Breakable Props for which areas count). From 4.5.0 a GM's Energy blast of fire sets alight the props and decorations it catches too, though not grass.
- Props and decorations. Every prop tile and breakable painted decoration under the area that will take fire catches. Ones that won't (stone, metal, glass, clay, or something holding water) break as they always have.
- Powder kegs still go off at once. A keg never sits and smoulders.
- Grass. In a region whose ground burns (see Grass fire), a spell's fire area lights every square of grass it covers, so a fireball on an open meadow starts a grass fire with no prop in sight.
- Burning lamp oil. A broken lamp's spilt oil counts as a burning prop while it burns: it heats what stands beside it and lights the grass round it.
A fire area doesn't reach through walls. New in 4.4.0. A spell's shape takes no notice of walls, but the fire it starts does. A prop, decoration or square of grass only catches when no wall stands between the middle of the area and it. The thing's own walls (the walls drawn on its tile) don't count, and an open door is no wall. Only fire is held back like this: every other damage type reaches as it always did.
Fire moves in rounds. During a fight a round is the combat tracker's round. Out of combat it's about six seconds of real time.
Each round, everything burning heats what is touching it strongly, and what is within a square of it more gently. When something has taken enough heat it catches. Before that it smoulders: a pulsing edge is drawn round it on the map, so the table can see what is about to go up. At most 12 things catch in one round, the hottest first.
How fast a thing catches goes by what it's made of and what it holds, whichever burns faster. So a glass bottle of lamp oil catches, though glass on its own never would.
| Burns fastest to slowest | |
|---|---|
| Plants, oil, lamp oil | Fastest |
| Books | |
| Potions | |
| Plain wood, grain, loose goods | Slowest that still burn |
| Stone, clay, metal, glass, and anything holding water, wine or black powder | Never catch on their own |
A crate of goods a square away from a fire, with nothing else near it, catches on the third round of that fire's burning.
A thing burns for three rounds, with flames and its own fire light. Then:
- Wood and other solids fall into a charred wreck where they stood: blackened pieces of their own shape, with ember seams in the cracks that glow and cool over about a minute, a scorch underneath and a thin wisp of smoke. After a reload the seams carry on cooling from where they were.
- Plants, and anything set to burn away, turn to ash.
- A powder keg that has caught explodes.
- A stone or metal prop whose contents burned (a stone chest of books, say) can't break, so the fire ends with a scorch on the ground.
Fire runs through grass a square at a time, faster downwind. A square of grass burns for two rounds and is then charred for good: scorched ground is painted there, and it never burns again.
Each region decides whether its ground burns: right-click the region → Ground → Burns. It shows only while the scene has Fire spreads on. It's on by default for grass and field floors and off for every other floor.
- Walls. A wall stops fire in every direction: between two props, between grass and a prop, and between two squares of grass. Closed doors and windows count as walls. Open doors don't. A wall here is one that stops movement or sight.
- Levels. Fire only passes between things on the same level.
- Water and cold. A water or cold area puts out every fire under it, burning or only warm. A kineticist impulse goes by the damage type its roll comes to. A charred grass square stays charred.
- Rain. New in 4.4.3. Out of doors, rain and wet snow fight fire. A fire reaches less far through falling water: in a downpour a burning thing gives its neighbours about a seventh of the heat it would under a clear sky. What is only smouldering cools each round instead of catching. In heavy rain, what is already burning goes out a round early. Under a roof, or in a region that keeps the weather out, the rain does nothing.
- Wind. Out of doors, a burning thing gives half again more heat (more in a strong wind) to what lies downwind of it. Indoors the wind does nothing.
The wind and rain are read on the active GM's screen from the weather it is showing, so they count only while that GM is viewing the scene. Read from the code, not tested live.
Repair broken props (Scene configuration → This place, or the Animater controls under Tidy up) puts everything back at once: every fire out, every burnt prop whole, every charred square of grass unburnt and the room smoke gone.
The GM isn't whispered about the fire. 4.4.0 whispered each prop that started to smoulder, but that has been taken out: the smouldering edge and the flames show it on the map instead.
The fires are saved on the scene, each with the rounds it has left. A reload, or a different GM taking over, picks them up where they were and never costs a fire a round. Fires keep burning on every scene with the switches on, not only the one being looked at.
New in 4.4.0.
With Fires fill rooms with smoke on, a fire indoors fills its room with smoke, on the same round the fire uses.
- Anything burning: props, decorations, burning lamp oil and burning grass under a roof.
- Any fire light with Fills the room with smoke ticked: Ambient Light configuration → Animater, among its fire switches. A fire light is one animated as a torch, flame, fire, candle or flicker. The tick is off by default, so a lit hearth or brazier doesn't fog the inn. Tick it for a fire that really is smoking the place out.
A fire out of doors fills nothing. Smoke only gathers in rooms.
The smoke takes the colour of the fire light it comes from. See Smoke colour on Fire and Lights.
A square is indoors when its middle lies inside a region that keeps the weather out (a region with Roof on, say). On an underground scene every square is indoors. Walls and shut doors divide the indoors into rooms.
Smoke conceals what stands in it, through PF2e Visioner. Animater lays one region over the smoke, grown and shrunk with it each round, carrying Visioner's concealment. Animater never writes the concealed condition itself.
Smoke never blocks line of sight, however thick it gets. You can see through a smoke-filled room, and so can everything in it. Without PF2e Visioner the smoke is only drawn: it has no effect on play.
The hints on the scene's switch and the light's tick still say thick smoke blocks sight. The code no longer does that.
The smoke is carried on the same indoor air the caverns' mist drifts on, so between one round and the next it creeps, rolls and streams through doorways. It is thickest where the fire is and thins as it spreads.
- It won't cross a wall or a shut door.
- An open door between two rooms indoors isn't a way out: the smoke goes next door.
- A door swinging open shoves the smoke through it.
- What reaches a way out spills a little past the threshold and drifts off there.
Smoke leaks out wherever the room opens to the outside: an open door, an open or broken window, a breach in a wall, a region marked Open to the sky, or the edge of a roof region marked Open sides (a porch or a lean-to). The more ways out a room has for its size, the faster it clears, so breaking a window in a smoke-filled room clears it much faster. A sealed room fills thickly. A room with its door open gets hazy rather than thick.
Once the fire is out, the smoke fades on its own. Shut in a sealed room it fades very slowly: the code's own notes say a sealed room is still thick after twenty rounds and empties by itself in about 260.
- Water and cold areas thin the smoke they fall on, leaving about a third of it, in the same round they put the fire out.
- Repair broken props takes it all away at once.
- Turning any of the three switches off clears it.
The world's clock. New in 4.4.1. Moving the world's time forward ages the smoke by the rounds that would have passed, at six seconds a round. A party that rests eight hours comes back to a cleared cellar, and if nothing is left the smoke and its concealment are taken off the scene. Winding the clock back changes nothing.
On an underground scene with all three switches on, this smoke takes the place of the Smoke in the air setting's rolling haze (see Caves and Underground). Leave the switches off and the old haze behaves as it always has.
- Draw the room's region to the walls. A square only counts as indoors when its middle lies in a region that keeps the weather out. If the region is drawn loosely, short of the walls, the squares it misses are outdoors and the room won't fill there. Draw it on or just past the walls.
- Very large caves. A room over 1200 squares is treated as 1200 squares when working out how fast it airs out, so an enormous cavern clears somewhat faster than it strictly should.
Everything here is set per scene, per light and per region, as above. Two world settings touch it:
| Setting | Everyone (GM) | My screen | Choices or range | What it does |
|---|---|---|---|---|
| Energy blasts break what they catch | On | — | — | A GM's Energy blast breaks or sets alight what its own energy would, by the same rules as a spell's area. New in 4.5.0. See Breakable Props. |
| Smoke in the air | On | On | — | The older underground haze, which the room smoke replaces where it's switched on. See Caves and Underground. |
Breakable Props · Fire and Lights · Decorations · Caves and Underground · Scene and Region Options · Weather Panel · Integrations
For developers and the curious. Read from the 4.9.0 code, and not run or measured.
Source: scripts/engines/props/fire-spread.mjs (heat, rates, rain and wind), fire-rounds.mjs (round timing, area catches, walls between, grass grids), fire-looks.mjs and fire-bake.mjs (flames, smouldering edges, scorch), char-layout.mjs (charred wrecks), the smoke-*.mjs files (the simulation, rooms, regions and look), scripts/shell/smoke.mjs (the smoke round and cloud), and the fire round ticker in scripts/main.mjs.
| Document | Flags | Notes |
|---|---|---|
| Scene |
flags.animater.fireSpreads, smokeFills
|
The switches. |
| Scene |
flags.animater.smoke, smokeGrid
|
The smoke cells by index, and the grid {cols, cell, level} they were written against. |
| Tile | flags.animater.prop.fire |
{heat, burning, roundsLeft}. |
| Region |
flags.animater.decorFire, fireCells, burns, openSides
|
Burning decorations by key, grass squares by index (charred once out), the Burns choice, and Open sides. |
| AmbientLight | flags.animater.smokeSource |
Fills the room with smoke. Not the same as the old settings pair roomSmoke. |
| Constant | Value | File |
|---|---|---|
MATERIAL_RATE |
plant 2, wood 1, the rest 0 | fire-spread.mjs |
CONTENTS_RATE |
lamp oil and oil 2, books 1.6, potions 1.2, grain and goods 1, water, wine and powder 0 | fire-spread.mjs |
HEAT_WARN, HEAT_CATCH
|
50, 100 | fire-spread.mjs |
TOUCH_HEAT, NEAR_HEAT
|
55, 40 per round, times the rate | fire-spread.mjs |
BURN_ROUNDS, CELL_ROUNDS
|
3, 2 | fire-spread.mjs |
GRASS_RATE |
1.4 | fire-spread.mjs |
| Catch cap | 12 a round | spreadStep |
| Rain |
DAMP_MOST 0.85, COOL_MOST 30, SOAK_WET 0.5 |
fire-spread.mjs |
| Wind | 1 + 0.5 × strength within 90° of downwind | fire-spread.mjs |
FIRE_PERIOD |
6000 ms out of combat | fire-rounds.mjs |
EMBER_MS |
60000 ms | char-layout.mjs |
| Smoke tiers |
THIN 0.3, THICK 1.1, DROP_FLOOR 0.02, DENSITY_CAP 4 |
smoke-field.mjs |
| Smoke flow |
FADE 0.02, LEAK 0.35, VENT_MAX 0.9, VENT_HALF 0.45 |
smoke-field.mjs |
ROOM_CAP |
1200 squares | smoke-round.mjs |
QUENCH_SMOKE_LEFT |
0.35 | fire-spread.mjs |
fireRoundsNow runs on the active GM about every second. Each scene with both switches on keeps its own count (fireRoundDue): the combat's round when a combat runs on that scene, else FIRE_PERIOD. A scene first seen is seeded and not run (fireNextLast), so a reload never costs a round. fireAwake looks only at stored flags before any work. The smoke round (smokeRound) follows the fire round on the same tick with the list of what is burning. updateWorldTime with a positive delta ages stored smoke in one step (smokeAfterRounds).
Fire stops at blockingWalls (stops movement or sight, open doors excepted). Smoke stops at smokeWalls, which also read a window's open state.
smoke-fence.mjs can build sight-blocking edges round thick cells, but registerSmokeFence is never called: main.mjs says smoke was ruled to conceal only. Concealment is a Region carrying PF2e Visioner's concealment behaviour, made only when that behaviour type is registered (smokeConceals).
Getting going
Animations
- The Animater Workspace
- Spell and Action Animations
- Recipe Studio and Finishers
- Looks and Tokenshade
- Combat Drama
- Moments
- Handouts and Arrivals
The world
- Weather Panel
- Storm Darkness
- Snow and Wet Ground
- Sun Moon and Shadows
- Water
- Map Painting
- Buildings
- Region Steps and Painted Floors
- Decorations
- Floor Regions
- Windows and Doors
- Breakable Props
- Fire and Lights
- Fire and Smoke
- Wildlife and Town Life
- Caves and Underground
Creatures and sound
Reference