Skip to content

Add subtick support #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: tc2-mod
Choose a base branch
from
Open

Add subtick support #28

wants to merge 13 commits into from

Conversation

dr3murr
Copy link

@dr3murr dr3murr commented Feb 27, 2025

Related Issue

N/A

Implementation

Add subtick support (like CS:2) by sending the interpolation amount in the UserCmd (lerp_pos) whenever an attack occurs between ticks.

Screenshots

N/A

Checklist

  • No other PRs implement this idea.
  • This PR does not introduce any regressions.
  • I certify that this PR is my own entirely original work, or I have permission from and have attributed the relevant authors.
  • I have agreed to and signed this project's Contributor License Agreement.
  • This PR targets the tc2-mod branch.
  • This change has been filed as an issue.
  • No other PRs address this.
  • This PR is as minimal as possible.
  • This PR does not introduce any regressions.
  • This PR has been built and locally tested on at least one platform.
  • This PR has been tested on all platforms, on both a dedicated server and on a listen server.

Testing Checklist

Client Server Version
Windows Tested Tested Windows 10
Linux N/A N/A

Caveats

Code probably needs to be cleaned up a lot
Probably breaks demo compatibility
In theory might break bots but I didn't notice any difference

Alternatives

Porting the game to Source 2 (DMCA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant