Simple menuqc
Posted: Tue May 18, 2010 7:51 pm
Here's some very basic menuqc, made by divVerent for Strap-on-bomb Car. It features only a quit dialog. Very good place to start messing around with. WTFPL license 
Worth noting is that the variables called autocvar_* in menu.qc are a cooperation of features in fteqcc and darkplaces, which do the same as:
only automaticly, so you just need to start a variables name with autocvar_ and it will recieve the value of the cvar name that follows. autocvar_vid_height would contain the value of the vid_height cvar. It's kind of weird with savegames and such, so use with caution. Works great for my menu though 
Probably requires fteqcc to compile, definitely requires DP. Although seeing as it's so basic, you could just rip out the actual menu code, and replace it with anything else, and it should work in FTE.
The functions in menu.qc are all required functions, their contents are not. The .qh files are also required.
Have fun!
Worth noting is that the variables called autocvar_* in menu.qc are a cooperation of features in fteqcc and darkplaces, which do the same as:
Code: Select all
var = cvar("foo");Probably requires fteqcc to compile, definitely requires DP. Although seeing as it's so basic, you could just rip out the actual menu code, and replace it with anything else, and it should work in FTE.
The functions in menu.qc are all required functions, their contents are not. The .qh files are also required.
Have fun!