Low walls: sight and movement #44
Notifications
Due Date
No due date set.
Blocks
Depends on
#49 Wall wire format, schema and migration
SirStone/FFF_vtt_frozen
#41 Height model: tokens, eyes and units
SirStone/FFF_vtt_frozen
#42 Wall model: kinds or restriction flags
SirStone/FFF_vtt_frozen
#43 Prototype: sight polygon with thickness and height
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#44
Reference in New Issue
Block a user
Part of #38
Question
What does a low wall do: when can a token see over it (eye vs wall height, distance), and does it block movement?
Fixed by #42 (DESIGN 5.8)
blocks_sighton and a height below full (5.7). Movement is a separate switch, so "does it block movement?" is answered per wall, not by height:blocks_movementon means a knee-high wall stops a walker, off means a fence you walk through and shoot over.blocks_sightoff never reaches the vision input, so however short it is, it is not a low wall (terrain, #48).Question (narrowed)
When can a token see over a low wall: how do the viewer's effective eye height (5.7), the wall's height and the distance combine? Does the target's height matter (a giant's head above a fence)? Where does the hidden band start and how far behind the wall does it reach, and what should it feel like in play (a knee-high wall you see over from two squares away, a 2 m wall you do not)?
Oracle to name here
The hidden band changes explored cells and tiles for the viewer, so this card must state what the oracle asserts (10.3, and the map fog).
Open from #41: does a target's height matter for see-over (e.g. a giant's head visible over a fence)?
Input from #43 (prototype, pictures + findings) — suggestions passed on, this card owns the decision.
d = s·h_eye/(h_eye − h_wall)behind the wall. A wall-only flag gets both cases wrong.eye + t·(h_top − eye) > wall_h); "low barrier hides everything" is theh_top = 0special case.Decided and recorded. DESIGN.md v0.23 (new 5.9 "Low walls: see-over", plus 5.7, 5.8, 7.4, 14) and GLOSSARY.md (
Low wall,See-over,Visible fraction;Wallamended). Commit4c968b7onmain, pushed toorigin/main.What we decided
blocks_movementalone decides; the collider, step cap,stuck/squeezedand the door push are unchanged. A knee-high wall with the switch on stops a walker.h_e + (h_t - h_e)·d_W/d_T) must be strictly above the wall's height; every crossed wall must clear; equality is hidden; a full-height wall is absolute. The target's height therefore matters: a giant's head shows over a fence, a crouched figure is hidden beside a wall it would clear from further away.Delegated knobs, as decided
visibleTo(server/vision.nim): visible iffinsideAny(pos) or predicate; height never entersvisibilityPolygon,cellsTouchedortiles.nim. One copy of the rule, fan untouched.h_req(W) = h_e + (h_w - h_e)·(d_T/d_W),f_W = clamp((h_t - h_req)/h_t, 0, 1); token = min over crossed walls, 1 if none.f = 0exactly when hidden. The same predicate read as a number cannot drift from the binary answer.gmprops of 5.7.Oracle bits
Assertions land with the build tickets, not here:
tools/leakcheck.nim's clear-line oracle gets its own height test, independent ofvision.nim.tokenframe, no name and no encountered entry, and no churn.Downstream
gmprops.Player-facing % / cover rules stay out of scope (a rules-engine judgement); the GM-only % view is now in scope per this card.
Correction: design commit is
4c968b7on main (8b71a87 was mis-committed to the prototype branch and discarded). Pushed to origin/main.