Log inGet started
World

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

Branchmain
Commit6143ad305f

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 horrorStealthLink (it brings horrorKit and stealthKit).
  2. 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).