by A nub is In Ur Forum on Fri Apr 16, 2010 11:33 pm
Hmmmmm... Interesting! I didn't know anyone else had made serious yews of a console menu like this - I've been using a scheme like this of my own for years and find it very convenient. Though, you yews lots of cvars for it... that has the downside of potentially overflowing MAX_CVARS faster, especially if you were to add more maps. And the upside of keeping almost everything in one config, though, granted - my original implementation from several years ago was very similar in that respect before I revamped it. Aren't those initial "set Assignments" off a bit? Personally I'd just put a "vstr sel_chclass1" at the bottom to initialize all 4 properly automatically. Since you're not using seta, this has to go in autoexec.cfg or be executed manually every time, I assume, or did I miss something?
My own latest iteration uses some (optionally) CVAR_ARCHIVE CVARs to save state across exits, and a large number of configs to keep the total number of CVARs used down around 20. I keep it packed into a pk3 most of the time, heh. I've actually been considering releasing it for a while now, but haven't gotten around to it... maybe I'll check it over and release it soon. The only other classbinds I'd heard of before now just used f1-f6 for specific classes, fairly different - it has its benefits, and mine support using that method to supplement (or replace) the menu, but it takes a lot of keys if you yews a lot of classes - and I think they hardcode the binds across multiple configs, too, so you can't easilly change the keys used. Never actually had a copy of that implementation so I don't know for sure, I just made mine able to workalike based on what I heard.
Do you actually yews those example key assignments? I'd consider putting an example config in mine that would set those key assignments if it'd be useful to you if you ever wanted to try or switch to mine sometime once I release it, as a convenience for you. I already have multiple example bind sets in it anyways.