From ba500fef7fbf94725f18541b0e23a45591379dba Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 27 Oct 2026 20:15:51 +0100 Subject: Fix tooltip truncation; add Stucklaunch assist Tooltips: text_in() shifted the x position to fit the full string before truncating, which drew the tooltip text outside its box. Truncate to the available width first, then clamp inside the clip. Stucklaunch (Movement): - opt-in feature (Active off by default) with its own bind; - holds jump, alternates +use every 2 ticks to regrab a physics prop, optionally +attack while the gravity gun is active, and air-strafes; - engagement uses m_hGroundEntity (client netvar) latched for ~0.5 s so the prop stays active while airborne; falls back to running whenever active if the netvar is unavailable, with a startup warning to bind it; - does not spawn or place props; the player supplies the prop and initial speed. Config gets [stucklaunch] active/bind/use_spam/gravspam/autostrafe; Reset restores those defaults. CONTEXT documents the assist and its limits. --- CONTEXT.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'CONTEXT.md') diff --git a/CONTEXT.md b/CONTEXT.md index 78f7c75..d7ea752 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -264,12 +264,24 @@ vocabulary / decisions. - Aimbot vischeck (`MASK_VISIBLE`/world-only) differs from triggerbot (`MASK_SHOT`/all entities): glass and static props can behave differently. +## Stucklaunch assist + +- Optional Movement feature; Active is off by default. +- While engaged it holds jump, alternates +use every 2 ticks to regrab a + physics prop, optionally alternates +attack while the gravity gun is + active, and air-strafes the hops. +- Engagement comes from `m_hGroundEntity`, latched for ~0.5 s so the prop + stays "active" during each hop. If that netvar is unavailable it runs + whenever the feature is active, so bind it to a key. +- It does not spawn or move props. The player still supplies the prop and the + small initial speed. Pallets and brush physboxes work best. + ## Roadmap / TODO -- **GUI**: replace/augment the VGUI ISurface menu with an immediate-mode GUI - (Dear ImGui or a custom implementation); needs a design grill first. -- **Server-side spread/recoil control**: optional single-player writes to the - pistol accuracy penalty and view punch, and a true zero-cone hook if wanted. +- **Stucklaunch tuning**: use-spam period, prop class coverage, and a possible + pause/unpause variant still need in-game testing. +- **Server-side spread/recoil control**: not planned; recoil and accuracy + penalties are intentionally left stock. - **Distance weapon spread thesis**: addressed by Spread control; stock HL2 hitscan damage is range-independent, so distance efficiency is the cone. -- cgit v1.2.3