Inside3D!
     

Simple menuqc

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Urre



Joined: 05 Nov 2004
Posts: 1073
Location: Sweden

PostPosted: Tue May 18, 2010 7:51 pm    Post subject: Simple menuqc Reply with quote

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 Wink

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:
var = cvar("foo");


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 Smile

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!
_________________
Look out for Twigboy
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group