Teeworlds: Callvote options that cannot be called

Created on 21 Sep 2019  路  4Comments  路  Source: teeworlds/teeworlds

Suggestion: a lot of servers use callvote options as section labels, for example:

screenshot_2019-09-21_13-23-34

Those could be flagged by the server and rendered differently client-side, as well as not be callable. It should be doable in a backwards compatible way.

I'm not quite sure how it should be rendered in the UI though.

design discussion feature

Most helpful comment

Maybe redesign the whole thing? So that you can create votes with sub menues? and specific options a user can choose from. Then the whole thing would be more clear and structured.
Maybe even add a ingame UI you can use - similar to spec/emote menu.
Would be useful for mods as well - remember the old nodes mod?

All 4 comments

I think votes in general should rely on some kind of id for identification instead of using their descriptions, as that way duplicate vote options seem kind of not possible, especially those that are used as section deviders. adding a flag for not votable ootions makes also a lot of sense.

Maybe redesign the whole thing? So that you can create votes with sub menues? and specific options a user can choose from. Then the whole thing would be more clear and structured.
Maybe even add a ingame UI you can use - similar to spec/emote menu.
Would be useful for mods as well - remember the old nodes mod?

I'd highly love for this voteoptionserver to be encapsulated in a class.

I like @Dune-jr 's idea. It seems simple enough to implement and easy to use. Sub-menus might a bit overkill though? Except if the whole idea is to show/hide sections when clicking on a header.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ignatenkobrain picture ignatenkobrain  路  5Comments

apoleon picture apoleon  路  5Comments

oy picture oy  路  5Comments

sepulzera picture sepulzera  路  5Comments

Dune-jr picture Dune-jr  路  4Comments