Windows and one-way walls #47
Notifications
Due Date
No due date set.
Blocks
Depends on
#49 Wall wire format, schema and migration
SirStone/FFF_vtt_frozen
#42 Wall model: kinds or restriction flags
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#47
Reference in New Issue
Block a user
Part of #38
Question
What do windows and one-way walls do to sight, explored cells, tiles and movement, and which side is which?
Fixed by #42 (DESIGN 5.8)
sight_dirisboth|left|right, read on the wall'sa -> border, and it blocks sight from one side only. Movement stays two-way, governed byblocks_movement.windowhas no rule yet. The switches can express the Fantasy Grounds/Roll20 window (door +blocks_sight:false+blocks_movement:true: look through it closed, open it to pass) but not Foundry's distance-limited wall.Question (narrowed)
One-way: which side is blocked by the
leftconvention of 5.8, what happens to explored cells and tiles for the side that cannot see through, and how does the editor show the direction (arrow, triangles)? Window: is it the see-through door (a preset over door settings) or a distance rule (a new switch, cost from #39), and what does it do closed and open?Input from #44 (DESIGN 5.9, decided)
Input from #45 (DESIGN 5.10, decided)
position(where a thick wall's body sits) uses the sameleft/rightpair assight_dir: left is the(-dy, dx)normal ofa -> b. Which side the editor offers first and how it draws the direction arrow stay here, so both fields keep one convention.Per research #39 (Roll20 models one-way as elevation): grill together with Low walls: sight and movement (#44).
Input from #43 (prototype, pictures + findings) — suggestions passed on, this card owns the decision.
sight_dir:"left"wall sees nothing across it. Needs one clarifying sentence wherever it is fixed.Resolved by the owner on 2026-11-16; recorded in DESIGN v0.26, commit
b8f04c2.What we decided
wall | window | wall, like a door), in two forms: fixed (blocks_sight:false,blocks_movement:true, no door) and opening (the same plusdoor:true; pass when open). The editor gets awindowpreset. This supersedes "no window preset in v1" everywhere (#42, DESIGN §1 non-goals, 5.8, §8, Q6).sight_dir:"left"means a viewer on the left side — the(-dy, dx)normal ofa -> b, the same side asposition— cannot see across; a viewer on the right sees across. Theone_waypreset defaults toleft. The editor shows an arrow at the wall's middle from the seeing side toward the watched side, plus a flip that swapsleft/rightwithout movinga/b; GM-only, never on a player wire.blocks_movement; a low one-way filters first, then see-over checks every crossed face; zero thickness is the segment.Delegated picks [FIXED (owner-delegated)]
kindcollision.windowis the opening form (a see-through door) and deriveskind:"window". The fixed form's switches are exactlyterrain's, so it deriveskind:"terrain"; no second preset, no new kind. Rules are identical andterrainis the broader name; the editor may annotate a fixed window between wall pieces (M4 UI), nothing on the wire distinguishes it.sight_dir != "both"requiresblocks_sight:true, elseinvalid.tools/leakcheck.nimand the independent explored/tile oracle apply their own(-dy, dx)side test; the 0.5 px boundary band along the blind side is oracle-maybe (never sure); new fault classONEWAY(the player-facing computation dropssight_dir).Out of scope: windows with a real sill and top height and light through windows — discussed when lighting arrives (map #38 Out of scope).
Sections: DESIGN 1, 5.1, 5.8, 5.9, 5.10, 6.1, 7.4, 8, 10.3, 14, Q6; GLOSSARY
Wall preset,One-way wall,Terrain,Window.