StealthPlayer.component
This package holds more than this page lists. See all of its files in its world.
README.md
StealthPlayer
What hiding, peeking and carrying feel like for the player on this screen. concealKit adds one by itself on a temporary local entity on every peer in play; there is nothing to place.
It moves this player into a spot with the kind's motion (climb, crawl, slip, burrow, step), holds them there with a vignette and brings them back out; hides every hidden player's body on this screen; peeks while Peek is held (Q or the right mouse button, the pad's left trigger, the touch Peek button); slows the player while carrying, dragging or pushing, with Put down (G, the pad's north button, touch), Throw (T, right trigger, touch) and Carry style (R, right shoulder, touch) live only then; shakes and flashes the screen when a guard drags this player out; and shows a help line that names the buttons of whatever the player is using (at the bottom of the screen; at the top on a touch screen, clear of the stick and buttons).
The controls come from two input maps in the package: concealKit.hiding (Peek), activated while this player is hidden, and concealKit.carrying (Put down, Throw, Carry style), activated while they carry a body.
Fields: peekKey (KeyQ), dropKey (KeyG), throwKey (KeyT), switchKey (KeyR), the keyboard keys (another key set here works beside the maps' own; the pad and touch buttons always work); showHelp.