Skip to content

Conversation

@Reabstraction
Copy link

Related Issue

None

Implementation

Very simply changes a few things:

  • Makes a new ConVar that holds if we should fix the "broken" extended hits of demoknight
  • Tracks when the player charges, and stores it
  • When the player swings their sword, check the ConVar tf_demoextendedrangefix, if it is anything other than 0, enable the fix

This puts this technically balance change behind a "default-false" convar

Screenshots

Checklist

  • No other PRs implement this idea.
  • This PR does not introduce any regressions. (We only do things if tf_demoextendedrangefix is set)
  • 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
Linux

Caveats

Alternatives

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