tmp64 / BugfixedHL-Rebased

Bugfixed and improved Half-Life
GNU General Public License v3.0
109 stars 21 forks source link

Voting Menu #228

Open gundogfan opened 1 month ago

gundogfan commented 1 month ago

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 _mptimelimit 20

Safety1st commented 1 month ago

Do you know about metamod-p and AMXX? 🤔

tmp64 commented 1 month ago

The AMXX command menu can do that already

Is there something else missing?

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