From ab3d725cacbe8cd7153c02faf2d9fe6df7e37949 Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 26 Oct 2026 17:02:45 +0100 Subject: 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) --- src/hl2h.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/hl2h.h') 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(); bool feature_active(int feature); bool esp_option(int opt); bool bhop_autostrafe_enabled(); +unsigned aimbot_bone_mask(); +int aimbot_smooth_step(); void *entitylist_get(int idx); int engine_get_local_player(); void 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); bool bones_is_humanoid(int idx); bool hitbox_center(int idx, const char *hitbox_name, Vector &out); bool head_position(int idx, Vector &out); +int aim_points(int idx, unsigned group_mask, Vector *out, int max); void outer_draw(); // raw ISurface slot calls used by the PaintTraverseEx hook (hl2h.cpp) -- cgit v1.2.3