From 5adb4303c8ac4969312fa1afd4f254cba65f6ecc Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 27 Oct 2026 12:43:59 +0100 Subject: Aimbot/silent aim: settable FOV, FOV circle, target locking - Aimbot -> FOV and Silent aim -> FOV values (1..180 deg from the crosshair) - Aimbot -> Show FOV circle: projects the FOV cone through the engine's world->screen transform (hidden for >=89 deg since the boundary is behind the eye) - target lock: while a feature has a bind and the key is held, the acquired target is kept while it is alive and has a visible selected hitbox point; it only re-acquires when the target dies/leaves visibility or the key is released. With bind = None both features keep selecting the nearest target. --- src/hl2h.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/hl2h.cpp') diff --git a/src/hl2h.cpp b/src/hl2h.cpp index a49acc2..4947b18 100644 --- a/src/hl2h.cpp +++ b/src/hl2h.cpp @@ -260,6 +260,11 @@ static void do_move(int seq) { } } + if (!feature_active(FEAT_AIMBOT) || !feature_has_bind(FEAT_AIMBOT)) + aimbot_reset_lock(); + if (!feature_active(FEAT_SILENTAIM) || !feature_has_bind(FEAT_SILENTAIM)) + silentaim_reset_lock(); + if (feature_active(FEAT_AIMBOT)) { static bool aim_feature_logged = false; if (!aim_feature_logged) { -- cgit v1.2.3