Skip to content

Configurable class limits#2003

Draft
sunzenshen wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunzenshen:202-class-limits
Draft

Configurable class limits#2003
sunzenshen wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunzenshen:202-class-limits

Conversation

@sunzenshen

@sunzenshen sunzenshen commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Description

Introduces ConVars sv_neo_class_limit_[recon/assault/support] to limit how many of each class can be spawned per team.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@sunzenshen sunzenshen requested a review from AdamTadeusz July 1, 2026 05:53
@sunzenshen sunzenshen added the UI/HUD Relates to the HUD, NeoUI, menus, etc label Jul 1, 2026
@sunzenshen

Copy link
Copy Markdown
Contributor Author

Demo:

class_limits_poc.mp4

Sample config:

sv_neo_class_limit recon 2;
sv_neo_class_limit assault -1
sv_neo_class_limit support 1;

(-1 allows unlimited numbers of that class, 0 bans that class, and >0 sets a limit)

@sunzenshen sunzenshen marked this pull request as draft July 1, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

UI/HUD Relates to the HUD, NeoUI, menus, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Class limits

1 participant