From 59432708a4ae926e4be2959dfbb2b4eb80be3fd6 Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 27 Oct 2026 20:17:07 +0100 Subject: Stucklaunch: alternate attack/use and expose spam rate - Gravity-gun spam now alternates +attack (grab) and +use (drop) instead of pressing both together, which would punt the prop. - Add a Spam rate slider (1..16 ticks, default 2) so the pickup/drop cycle can be tuned; it persists as spam_ticks in [stucklaunch]. - Log the prop index the first few times a stucklaunch engages to aid testing. --- src/gui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui.cpp') diff --git a/src/gui.cpp b/src/gui.cpp index dc0e4eb..fc95d1f 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -301,10 +301,12 @@ static void build_cards() { "Rapidly press +use to keep regrabbing the prop.", &g_stucklaunch_use_spam); add_toggle(sl, "Gravity gun spam", - "Rapidly press +attack while holding the gravity gun.", + "Alternate +attack and +use while holding the gravity gun.", &g_stucklaunch_gravspam); add_toggle(sl, "Auto-strafe", "Air-strafe each hop.", &g_stucklaunch_autostrafe); + add_slider(sl, "Spam rate", "Ticks between spam toggles; higher is slower.", + 1, 16, &g_stucklaunch_spam_ticks); int jb = add_card(0, &g_jumpbug, "Jumpbug", "Duck+jump when landing would hurt.", true); -- cgit v1.2.3