Docs · Engineering reference
Toys
docs/features/toys.mdEdit on GitHub
LF_JumpPad — Feature/Toys/LF_JumpPad.c
- ✅ A trigger sets the entering player's velocity upward once for that enter.
A second callback before they leave applies the zero vector. Leaving clears
the enter, so the next entry launches again. A disabled pad applies the zero
vector and does not call
SetVelocity. Ported from EveronLifeEL_JumpTrigger(MIT, Copyright (c) 2022 EveronLife). (verified 2026-10-11)
LF_SpikeStrip — moved to Feature/Police/LF_SpikeStrip.c (#646)
- The trigger version is gone; the police spike strip below replaced it.
LF_RangeTarget — Prefabs/Props/Range/LF_RangeTarget.et (#1929)
-
🟡 The practice range lane in GridWorld cell
shooting-range(Grid_shooting_range.layer): three pop-up targets inside the yard. The target is the base-gameTargetInfantry_01(SCR_FiringRangeTarget) with the lane's timings (folded 2 s, erected 3 s, distance 6 m). A hit folds it down with the base-game sound and animation; it pops back up by itself. No range manager is placed, so there is no scoring and no firing-line indicator.LF_Test_RangeTargetscovers the prefab, its signal wiring and the fold and reset timing. Needs a playtest (shoot the targets, watch them fall and rise, a second player sees the same). -
🟡 The same lane stands at the Saint-Philippe edge (#3081, draft): slot
rangeon shed b95, three targets and a net-fenced pen on open farmland, the firing line at the shed facing south-west (bearing about 225). Kittools/town/kits/range.json, layerPlace_saint-philippe_range.layer. Needs a playtest (permit from the gun counter, shoot a target, it drops and comes back). -
✅ The pad remembers a visitor only while it stands on it (#2406):
LF_JumpPadSeenhands out a token per entity key and forgets it on exit, so the list no longer grows for the life of the server. A corpse or a downed body is not thrown (LF_JumpPad.CanLaunch: onlyECharacterLifeState.ALIVE; logged[LFDebug:JumpPad]). Testtoys/jump-pad-seen(LOGIC).
LF_RangeRun — Feature/Range/ (#3184)
- 🟡 The range keeps score. "Start a round" (
LF_RangeStartAction) on anyLF_RangeTargetraises the lane's targets (the lane is every target with the sameLF_RangeLaneComponentlane id, defaultrange). The server counts the starter's hits (LF_RangeRound, via a moddedSCR_FiringRangeTarget.OnDamage) until every target is down or 60 s pass, then toasts "6/6 in 14.2 s, your best 12.8 s" (or "Time up: 4/6 in 60.0 s"). Targets stay folded during the round and pop back up by themselves after it. A second start while a round runs is refused with a toast. A best (LF_RangeBests) needs a full clear, is strictly faster than the old one, is kept per player record key for the session and is not saved; no prize, no board. Testrange/run(WORLD). Needs a playtest (walk to a target, start a round, shoot all three, read the toast, start again and beat the time; a second player's shots do not count).