Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Simple menuqc

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
Urre Joined: 05 Nov 2004 Posts: 1073 Location: Sweden |

Posted: Tue May 18, 2010 7:51 pm Post subject: Simple menuqc |

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:

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

Display posts from previous:

| 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