Skip to content
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

Body armour adjustments #1783

Merged
merged 11 commits into from
Mar 7, 2025
Merged

Body armour adjustments #1783

merged 11 commits into from
Mar 7, 2025

Conversation

wgetJane
Copy link
Contributor

@wgetJane wgetJane commented Mar 6, 2025

  • adds a new cvar for blocking crowbar damage
  • removed crowbar damage being reduced by "classic" armour: crowbar damage was never blocked by armour in ttt
  • set headshot damage to be reduced by default: this was never an oversight or mistake in ttt, it is a deliberate balance change, body armour initially only protected against shots to the torso but bku updated it to also protect against headshots and limbshots
  • adds TTT2ArmorHandlePlayerTakeDamage hook (probably needs a better name)

this is a draft because this is untested right now, will test later

@wgetJane
Copy link
Contributor Author

wgetJane commented Mar 7, 2025

just tested and this seems to work fine, is the hook name "TTT2ArmorHandlePlayerTakeDamage" alright?

@wgetJane wgetJane marked this pull request as ready for review March 7, 2025 02:02
Copy link
Member

@TimGoll TimGoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I let this open so you can decide if you want to use migrations for this

@TimGoll TimGoll merged commit e43f7aa into TTT-2:master Mar 7, 2025
4 checks passed
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.

2 participants