summaryrefslogtreecommitdiffstats
path: root/src/hl2h.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-27 12:43:59 +0100
committersalmonik <salmonik@tuta.io>2026-10-27 12:43:59 +0100
commit5adb4303c8ac4969312fa1afd4f254cba65f6ecc (patch)
tree5a82f08cef4ae7b9d344826c7b96710eb46db101 /src/hl2h.cpp
parentBones: ignore uninitialized/zero bone matrices (diff)
downloadhl2h-5adb4303c8ac4969312fa1afd4f254cba65f6ecc.tar.gz
hl2h-5adb4303c8ac4969312fa1afd4f254cba65f6ecc.zip
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.
Diffstat (limited to '')
-rw-r--r--src/hl2h.cpp5
1 files changed, 5 insertions, 0 deletions
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) {
260 } 260 }
261 } 261 }
262 262
263 if (!feature_active(FEAT_AIMBOT) || !feature_has_bind(FEAT_AIMBOT))
264 aimbot_reset_lock();
265 if (!feature_active(FEAT_SILENTAIM) || !feature_has_bind(FEAT_SILENTAIM))
266 silentaim_reset_lock();
267
263 if (feature_active(FEAT_AIMBOT)) { 268 if (feature_active(FEAT_AIMBOT)) {
264 static bool aim_feature_logged = false; 269 static bool aim_feature_logged = false;
265 if (!aim_feature_logged) { 270 if (!aim_feature_logged) {