summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-26 17:30:29 +0100
committersalmonik <salmonik@tuta.io>2026-10-26 17:30:29 +0100
commit92d388116cc19ef728d66ac67eaa4f584e63d895 (patch)
tree5b9438cf8c2f1b4f01eef3eec4a6d91b42ac1acb /src/hl2h.h
parentTriggerbot: crosshair entity trace, hostile-only (diff)
downloadhl2h-92d388116cc19ef728d66ac67eaa4f584e63d895.tar.gz
hl2h-92d388116cc19ef728d66ac67eaa4f584e63d895.zip
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
Diffstat (limited to 'src/hl2h.h')
-rw-r--r--src/hl2h.h4
1 files changed, 3 insertions, 1 deletions
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);
140float getfov(const QAngle &my_view, const QAngle &aim_ang); 140float getfov(const QAngle &my_view, const QAngle &aim_ang);
141bool aimbot_apply(CUserCmd *cmd); 141bool aimbot_apply(CUserCmd *cmd);
142bool triggerbot_apply(CUserCmd *cmd); 142bool triggerbot_apply(CUserCmd *cmd);
143bool silent_aim_apply(CUserCmd *cmd);
143enum FeatureId { 144enum FeatureId {
144 FEAT_BHOP = 0, 145 FEAT_BHOP = 0,
145 FEAT_ABH = 1, 146 FEAT_ABH = 1,
146 FEAT_ESP = 2, 147 FEAT_ESP = 2,
147 FEAT_AIMBOT = 3, 148 FEAT_AIMBOT = 3,
148 FEAT_TRIGGERBOT = 4 149 FEAT_TRIGGERBOT = 4,
150 FEAT_SILENTAIM = 5
149}; 151};
150enum EspOption { 152enum EspOption {
151 ESP_OPT_SHOW_NEUTRAL = 0, 153 ESP_OPT_SHOW_NEUTRAL = 0,