summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-26 17:02:45 +0100
committersalmonik <salmonik@tuta.io>2026-10-26 17:02:45 +0100
commitab3d725cacbe8cd7153c02faf2d9fe6df7e37949 (patch)
tree2bc17507d9fb0b6f37e2a6e62f1c210d16756c66 /src/hl2h.h
parentAimbot: fix eye height (m_vecViewOffset Z, not X); prefer head hitbox (diff)
downloadhl2h-ab3d725cacbe8cd7153c02faf2d9fe6df7e37949.tar.gz
hl2h-ab3d725cacbe8cd7153c02faf2d9fe6df7e37949.zip
Aimbot v2: bone checklist and numeric smoothness
- Aimbot -> Bones: Head, Torso (chest+stomach), Left/Right arm, Left/Right leg; the aimbot aims at the nearest selected hitbox point on the chosen target (head uses the head hitbox/bone fallback) - Aimbot -> Smoothness: value 1..45 deg/tick, Left/Right in the menu to adjust, persisted as smooth=N; default 5 (previous behaviour) - config: bone_* toggles + smooth under [aimbot] - menu gains a NODE_VALUE type (right-aligned value, Left/Right edit)
Diffstat (limited to 'src/hl2h.h')
-rw-r--r--src/hl2h.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index f92b919..e27433f 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -165,6 +165,8 @@ void init_conmsg();
165bool feature_active(int feature); 165bool feature_active(int feature);
166bool esp_option(int opt); 166bool esp_option(int opt);
167bool bhop_autostrafe_enabled(); 167bool bhop_autostrafe_enabled();
168unsigned aimbot_bone_mask();
169int aimbot_smooth_step();
168void *entitylist_get(int idx); 170void *entitylist_get(int idx);
169int engine_get_local_player(); 171int engine_get_local_player();
170void draw_text_col(int x, int y, const char *s, int r, int g, int b); 172void draw_text_col(int x, int y, const char *s, int r, int g, int b);
@@ -182,6 +184,7 @@ int bone_nearest_core_parent(int idx, int bone);
182bool bones_is_humanoid(int idx); 184bool bones_is_humanoid(int idx);
183bool hitbox_center(int idx, const char *hitbox_name, Vector &out); 185bool hitbox_center(int idx, const char *hitbox_name, Vector &out);
184bool head_position(int idx, Vector &out); 186bool head_position(int idx, Vector &out);
187int aim_points(int idx, unsigned group_mask, Vector *out, int max);
185 188
186void outer_draw(); 189void outer_draw();
187// raw ISurface slot calls used by the PaintTraverseEx hook (hl2h.cpp) 190// raw ISurface slot calls used by the PaintTraverseEx hook (hl2h.cpp)