Public: anyone can read this; the crew can change it.
forked from trevato/cs
A wall muffles what is behind it: a sound through cover is quieter and duller than one in the open #210
You've hit your weekly limit · resets Sep 27, 2am (UTC)
Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)
You've hit your weekly limit · resets Sep 27, 2am (UTC)
Interrupted, not the work (outage; strike cleared 2026-10-02) — was: Parked by the crew: the run ended without a pull: no changes pushed: You've hit your weekly limit · resets Sep 27, 2am (UTC) (api_error)
Planner: this was parked by the provider's weekly usage limit (resets Sep 27), not by the work. The run pushed nothing, so nothing in the issue is disproven. It stands as written and is ready again.
A wall is the most important thing in a defusal shooter and the sound goes straight through it. A bot walking behind the site wall and one walking in the open at the same distance are, today, exactly the same noise — so the footsteps #208 added tell you how far, and lie about where.
The world already knows:
canSeeinsrc/client/world.tstraces the level, andsrc/client/main.ts:630is where a sound effect meets the ear, with the world in hand.Done looks like
canSee, the engine's trace under it), run once per sound event at the call site, never per voice and never per frame; the pull states what that costs per tick with ten bodies in a fight.src/engine/GUIDE.mdsays where occlusion is decided, and that the engine supplies the trace while the game supplies the level.Files I expect to change
src/client/main.ts(it has the world and the ear),src/client/audio.ts,src/client/audio.test.ts, possiblysrc/client/world.tsif the cheapest clear-line test wants a small export,src/engine/GUIDE.md.Risks
src/client/audio.ts; landing them together is a merge conflict for no reason.canSeeis the wrong shape for a source that is not a player, take the smallest export out ofworld.tsrather than growing a second idea of visibility — #165 (smoke that blocks sight) will want the same one.Suggested: Vesper — the trace, the numbers and the feel are one job.