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

Voting Menu #228

Open
gundogfan opened this issue Jun 1, 2024 · 2 comments
Open

Voting Menu #228

gundogfan opened this issue Jun 1, 2024 · 2 comments
Labels
client Client-side related feature New feature or request

Comments

@gundogfan
Copy link

gundogfan commented Jun 1, 2024

I just had this idea that could make the game a bit more intuitive for new players and less tedious for old ones.
A server-side menu using vgui2 similar to the commandmenu which you can use either with the mouse or the keyboard numbers (in this case one should be able to go back to the previous menu with the keys as well, pressing Esc for example). The difference is that, being server side, it would make sure ALL players have it and that the server config fully allows all the commands/cvars in it. It could be a cfg/txt file that the server owner can freely modify.

For example:

1) Match
1. Start
2. Abort
3. Allow

2) Map
1. Crossfire
2. Stalkx
3. Stalkyard

3) Timelimit
1. 0
2. 20
3. 60
4. Other (triggers a textbox for the player to choose a value)
 
4) Fraglimit
1. 0
2. 30
3. 100
4. Other (triggers a textbox for the player to choose a value)

5) Fixes
1. Gaussfix/Selfgauss
    1. Enabled
    2. Disabled
2. RPGFix
    1. Enabled
    2. Disabled

Etc etc etc.

It would be nice as well (idk if this is possible) to show the command/cvar+value being used for each vote somewhere. Ex: placing the mouse cursor on 3) 2. should display mp_timelimit 20

@Safety1st
Copy link

Safety1st commented Jun 1, 2024

Do you know about metamod-p and AMXX? 🤔

@tmp64 tmp64 added feature New feature or request crash Crash report client Client-side related and removed crash Crash report labels Jun 2, 2024
@tmp64
Copy link
Owner

tmp64 commented Jun 2, 2024

The AMXX command menu can do that already

  • Handled entirely server-side. Client only receives the list of menu items.
  • No mouse support but with the control Use F-keys to select command menu items #229 should be better.
  • Going back is handled on the server by sending a different menu
  • Text input is supported as well

Is there something else missing?

@Safety1st Is this what you meant? if so, you could just say that instead of asking vague questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Client-side related feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants