cl_dll: add gamepad aim assist (soft-lock) with debug overlay#375
Closed
02900 wants to merge 1 commit into
Closed
Conversation
Hold-to-aim soft-lock for gamepad/touch: while a bindable button (+aimassist) is held, acquire the nearest visible enemy within a wide cone and steer the crosshair toward it (magnetism) with sticky slowdown. All behaviour is governed by aim_assist* cvars and is off by default. - input_xash3d.cpp: target acquisition (team/alive/range/cone/LOS), magnetism + sticky in IN_Move, +/-aimassist commands and cvars. Eye uses the real camera origin (v_origin) to avoid close-range parallax; cone is distance-adjusted; LOS traces world-only. - aimassist HUD element: debug overlay (state, target, angles), view cone ring, aim-direction and nearest-enemy markers, head marker. - entity.cpp: glow shell over the target (HUD_AddEntity). - kb_act.lst: expose "Aim Assist" in the Controls key-binding menu. - aim_assist_debug acts as a master switch for all debug visuals. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator
|
Awww look at this pussy, can't program without a slopbot? Do you need claude for simple math? Can't write a single line of code on your own? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hold-to-aim soft-lock for gamepad/touch: while a bindable button (+aimassist) is held, acquire the nearest visible enemy within a wide cone and steer the crosshair toward it (magnetism) with sticky slowdown. All behaviour is governed by aim_assist* cvars and is off by default.