diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-26 17:02:45 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-26 17:02:45 +0100 |
| commit | ab3d725cacbe8cd7153c02faf2d9fe6df7e37949 (patch) | |
| tree | 2bc17507d9fb0b6f37e2a6e62f1c210d16756c66 /src/hl2h.h | |
| parent | Aimbot: fix eye height (m_vecViewOffset Z, not X); prefer head hitbox (diff) | |
| download | hl2h-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 '')
| -rw-r--r-- | src/hl2h.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -165,6 +165,8 @@ void init_conmsg(); | |||
| 165 | bool feature_active(int feature); | 165 | bool feature_active(int feature); |
| 166 | bool esp_option(int opt); | 166 | bool esp_option(int opt); |
| 167 | bool bhop_autostrafe_enabled(); | 167 | bool bhop_autostrafe_enabled(); |
| 168 | unsigned aimbot_bone_mask(); | ||
| 169 | int aimbot_smooth_step(); | ||
| 168 | void *entitylist_get(int idx); | 170 | void *entitylist_get(int idx); |
| 169 | int engine_get_local_player(); | 171 | int engine_get_local_player(); |
| 170 | void draw_text_col(int x, int y, const char *s, int r, int g, int b); | 172 | 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); | |||
| 182 | bool bones_is_humanoid(int idx); | 184 | bool bones_is_humanoid(int idx); |
| 183 | bool hitbox_center(int idx, const char *hitbox_name, Vector &out); | 185 | bool hitbox_center(int idx, const char *hitbox_name, Vector &out); |
| 184 | bool head_position(int idx, Vector &out); | 186 | bool head_position(int idx, Vector &out); |
| 187 | int aim_points(int idx, unsigned group_mask, Vector *out, int max); | ||
| 185 | 188 | ||
| 186 | void outer_draw(); | 189 | void 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) |
