From 9904891162a6749d39110110c0812a64c241a7ea Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 27 Oct 2026 21:22:47 +0100 Subject: Remove stucklaunch; add valuable-item ESP - Drop the stucklaunch feature, its settings, diagnostics and m_hGroundEntity resolution. - Add a Visuals feature that scans the client entity list for valuable pickups: health/medkits/chargers, ammo boxes/crates/grenades, batteries, HEV suit modules/chargers, supply crates and generic items. - Model-first classification with class fallbacks; category toggles, distance labels and a max-distance slider. - Draw colored marker/label tags through walls, independent of the hostile NPC ESP. - Persist [items] active/bind/health/ammo/armor/crates/distance/max_dist; Reset restores defaults; GUI card and CONTEXT updated. --- src/gui.cpp | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'src/gui.cpp') diff --git a/src/gui.cpp b/src/gui.cpp index 156e496..eb9a964 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -299,21 +299,6 @@ static void build_cards() { add_card(0, &g_abh, "ABH", "Accelerate on the jump tick by facing away " "from the velocity.", true); - int sl = add_card(0, &g_stucklaunch, "Stucklaunch", - "Hop on a physics prop while spamming grab to build " - "speed in a small space.", - true); - add_toggle(sl, "Use spam", - "Rapidly press +use to keep regrabbing the prop.", - &g_stucklaunch_use_spam); - add_toggle(sl, "Gravity gun spam", - "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); add_toggle(jb, "Assist timing", @@ -364,6 +349,23 @@ static void build_cards() { for (int i = 0; i < ESP_OPT_COUNT; i++) add_toggle(esp, esp_names[i], esp_descs[i], &g_esp_opt[i]); + int items = add_card(2, &g_item_esp, "Valuable items", + "Tag medkits, ammo, armor and supply crates.", true); + add_toggle(items, "Medkits / health", + "Tag health kits, health vials and health chargers.", + &g_item_health); + add_toggle(items, "Ammo", "Tag ammo boxes, crates and grenades.", + &g_item_ammo); + add_toggle(items, "Armor / suit", "Tag batteries, HEV suits and chargers.", + &g_item_armor); + add_toggle(items, "Supply crates", "Tag item and beacon crates.", + &g_item_crates); + add_toggle(items, "Show distance", "Append the distance in units.", + &g_item_distance); + add_slider(items, "Max distance", + "Items farther away than this are not tagged.", 250, 5000, + &g_item_max_dist); + int spread = add_card(3, &g_spread, "Spread control", "Choose a server shot seed that tightens the cone.", true); -- cgit v1.2.3