Log inGet started
World

Hold Your Breath: Horror FPS Kit with Flashlights, Scripted Scares and Stalkers

README.md

horrorStealthLink

Shows stealthKit's light and noise readout in horrorKit's HUD. horrorKit does not depend on stealthKit (installing horrorKit never brings it along) and stealthKit does not know horrorKit; this small package is the one place the two meet, so only a world that wants the readout installs both.

Use it

  1. Install stealthKit (asset 12189fd4-4c5f-419e-9260-c3b1638db7d4) first.
  2. Install horrorStealthLink (it brings horrorKit).
  3. Place the component once, anywhere in the scene, and switch the HUD element on:
local e = entity.spawn("StealthLink")
e.component.add("horrorStealthLink.StealthReadout", {})
-- on the entity that carries the HUD:
hudEntity.component.add("horrorKit.HorrorHUD", { style = "classic", showStealth = true })

The readout then shows "In shadow" / "Exposed" and "Walking 5 m" / "Running 11 m" for the local player, in every HUD look but bare. Each player sees their own.

What it contains

assetwhat
StealthReadout componentcalls link.install() on every peer when play begins
link moduleinstall() sets HUD.setSource("stealth", sample); sample() reads stealthKit's readout

Without this package, horrorKit's showStealth draws nothing (no source), so a world can leave it on.

1.0.2

Brings stealthKit 1.0.17. With 1.0.16 the install was refused in a fresh world: stealthKit 1.0.16 recorded interactKit at versions ZeroMind does not hold, which clashed with the released interactKit 1.6.8 that horrorKit brings. Fixed upstream in stealthKit's world (pull request #3, released as 1.0.17).

1.0.3

Brings stealthKit 1.0.18, the first release built on the published interactKit 1.6.8. 1.0.2 brought stealthKit 1.0.17, which still recorded interactKit versions ZeroMind does not hold (its world ran an unpublished copy), so the install was still refused. Fixed in stealthKit's world (pull request #4).

1.0.4

README: the known limit above. On horrorKit 1.0.6.

1.0.5

Brings stealthKit 1.0.19, whose release records the published interactKit 1.6.8 (stealthKit pull request #6, issue #5), so a fresh install no longer meets interactKit versions nobody published.

1.0.6

Installs into a brand new empty world: brings stealthKit 1.0.20, whose releases record only published interactKit versions (stealthKit pull requests #6 and #7, issue #5). On horrorKit 1.0.7. The "Known limit" section is gone.

1.0.7

Brings stealthKit 1.0.21, the first stealthKit release whose world really runs the published interactKit 1.6.8 (stealthKit pull request #8); 1.0.20 still recorded the 1.6.7 HUD for ~interactKit.hud, the last reference a fresh install could not find.

1.0.8

Brings stealthKit 1.0.22, released from a stealthKit world on the current engine library (stealthKit pull request #9), so every reference it carries names a published version and a brand new empty world installs this package. On horrorKit 1.0.8.

1.0.9

Brings stealthKit 1.0.23, whose release commits the reference records the current engine library gives it (stealthKit pull request #10); 1.0.22 still named an unpublished interactKit version.

1.0.10

Published from Hold Your Breath on the current engine library. 1.0.9 was published while this world was still on an old library (9cba27a), and that re-recorded stealthKit's interactKit references at a version no release holds, so a brand new world refused it. No code changes.

1.0.11

README: in a brand new world, install stealthKit first and horrorStealthLink after it. That order is checked (both install clean, the readout and HorrorHUD { showStealth = true } add, hudTests 11/11). Installing horrorStealthLink alone into an empty world is still refused: 11 stealthKit sites name interactKit's world with no commit pinned, so they cannot resolve in a world that has none yet. Earlier notes here that call it installable on its own are wrong. No code changes.

1.0.12

On horrorKit 1.0.9. No code changes; install stealthKit first, as above.

1.0.13

On horrorKit 1.0.10. No code changes; install stealthKit first, as above.

1.0.14

On horrorKit 1.0.11. No code changes; install stealthKit first, as above.

1.0.15

On horrorKit 1.0.12. No code changes; install stealthKit first, as above.

1.0.16

On horrorKit 1.0.13. No code changes; install stealthKit first, as above.

1.0.17

On horrorKit 1.0.18. No code changes; install stealthKit first, as above.

1.0.19

On horrorKit 1.0.20, which states controlsKit 1.4.7; use 1.0.20. No code changes; install stealthKit first, as above.

1.0.20

On horrorKit 1.0.21 (saveKit 1.3.21). No code changes; install stealthKit first, as above.