Skip to content

Conversation

@notkoen
Copy link
Contributor

@notkoen notkoen commented Dec 23, 2025

This pull request updates the existing TopDefender implementation.

Features

  • Added !tdrank and !tdfind commands to display defender status of a player
  • Added headshot stat tracking.
  • Added live defender rank display feature on the scoreboard using MVP count.
  • Added minimum damage threshold convar before displaying top defender
  • Added round end defender stat printing to console
  • Moved TopDefender code into its own separate file.
  • Added TopDefender scoreboard clan tag

ConVars

  • cs2f_topdefender_display - (int) Whether to display defender rank on scoreboard as MVP count (def. 1)
  • cs2f_topdefender_print - (int) Whether to print defender stats to console at round end (def. 1)
  • cs2f_topdefender_threshold - (int) Damage threshold for Top Defenders to be shown on round end (def. 1000)
  • cs2f_topdefender_rate - (float) How often TopDefender stats get updated (def. 1.0)
  • cs2f_topdefender_clantag - (string) Clan tag given to the top defender (def. "[Top Defender]")

@notkoen notkoen changed the base branch from main to dev December 23, 2025 05:56
@notkoen notkoen force-pushed the topdefender-update branch 2 times, most recently from 2124d39 to 63699a1 Compare December 23, 2025 06:00
@notkoen notkoen changed the title Expand TopDefender Functionality and Overhaul Clantag System Expand TopDefender Functionality Dec 23, 2025
@notkoen notkoen force-pushed the topdefender-update branch 3 times, most recently from e25c13a to b46ef4a Compare December 23, 2025 06:23
@Vauff Vauff merged commit 8b586b2 into Source2ZE:dev Dec 23, 2025
3 checks passed
@notkoen notkoen deleted the topdefender-update branch December 23, 2025 10:16
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