From 92d388116cc19ef728d66ac67eaa4f584e63d895 Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 26 Oct 2026 17:30:29 +0100 Subject: Silent aim: exact usercmd angle + fire, restore rendered view - new top-level Silent aim feature (Active + Bind, default Mouse3) - reuses the shared aim-target selection (bone checklist, nearest selected point, world-only MASK_VISIBLE vischeck) - writes the exact target angle into cmd->viewangles, sets IN_ATTACK for the shot, then immediately restores engine view angles to the player's input view (g_cam_view) so the camera stays where it was - shares the vischeck/bone selection with the aimbot; independent of the aimbot/triggerbot binds - config [silentaim] active/bind --- src/hl2h.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/hl2h.h') diff --git a/src/hl2h.h b/src/hl2h.h index 28970b0..02be393 100644 --- a/src/hl2h.h +++ b/src/hl2h.h @@ -140,12 +140,14 @@ Vector angle_forward_vector(const QAngle &angles); float getfov(const QAngle &my_view, const QAngle &aim_ang); bool aimbot_apply(CUserCmd *cmd); bool triggerbot_apply(CUserCmd *cmd); +bool silent_aim_apply(CUserCmd *cmd); enum FeatureId { FEAT_BHOP = 0, FEAT_ABH = 1, FEAT_ESP = 2, FEAT_AIMBOT = 3, - FEAT_TRIGGERBOT = 4 + FEAT_TRIGGERBOT = 4, + FEAT_SILENTAIM = 5 }; enum EspOption { ESP_OPT_SHOW_NEUTRAL = 0, -- cgit v1.2.3