Skip to content

Add bindable custom VScript input actions - #1091

Closed
ywgATustcbbs wants to merge 2 commits into
ReactiveDrop:reactivedrop_betafrom
ywgATustcbbs:custom_action
Closed

Add bindable custom VScript input actions#1091
ywgATustcbbs wants to merge 2 commits into
ReactiveDrop:reactivedrop_betafrom
ywgATustcbbs:custom_action

Conversation

@ywgATustcbbs

Copy link
Copy Markdown
Contributor

Summary

  • add four bindable client commands (rd_custom_input_0 through rd_custom_input_3) with validated, rate-limited server dispatch
  • expose OnCustomInput(cmd_index, player) to VScript listener scopes
  • use custom input 0 to open the Traitors challenge menu while preserving the existing chat-command path
  • add the four actions to legacy and modern keyboard settings, with custom input 0 bound to O by default

Validation

  • Client Debug and Release builds
  • Server Debug and Release builds
  • in-game verification of the Traitors menu callback
  • modern Controls resource verified with -override_vpk
  • git diff --check

@ywgATustcbbs

ywgATustcbbs commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

This pr is fully AI generated, with human code review line by line and in-game test.

It is intended to improve the Traitors challenge skill menu UX. (many players were confused and dont know how to open the skill menu.)

And, for other modders, they may use these custom key binddings to make rpg-like skill system.

@jhh8

jhh8 commented Aug 16, 2026

Copy link
Copy Markdown
Member

does UserConsoleCommand function lack something?

@ywgATustcbbs

Copy link
Copy Markdown
Contributor Author

never know there is such a concmd. will close and cteate a new pr

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