View previous topic :: View next topic |
Author |
Message |
Nash

Joined: 19 Oct 2007 Posts: 95 Location: Kuala Lumpur, Malaysia
|
Posted: Sat Oct 27, 2007 8:22 pm Post subject: Compilable MenuQC from DPMOD |
|
|
Hi everyone, I spent some time going through the 4-year-old MenuQC code from DPMOD and cleaning it up so that it would compile with the latest version of FTEQCC.
You can get it from http://nash.wanzafran.com/quakestuff/dpmod-menuqc.zip
I'm not sure how useful this would be for anyone here but I did this so that I have something workable to learn from and I thought I'd share it with everyone here. |
|
Back to top |
|
 |
Urre

Joined: 05 Nov 2004 Posts: 1073 Location: Sweden
|
Posted: Sun Oct 28, 2007 2:57 pm Post subject: |
|
|
The idea is nice anyway, haven't checked it out yet. Does it work ingame too? _________________ Look out for Twigboy |
|
Back to top |
|
 |
Nash

Joined: 19 Oct 2007 Posts: 95 Location: Kuala Lumpur, Malaysia
|
Posted: Sun Oct 28, 2007 4:40 pm Post subject: |
|
|
It's mouse-driven (excuse the crappily-drawn mousepointer.tga - I had to create it because dpmod didn't provide it, the MenuQC will crash if the file doesn't exist) and the only functions you can click is "Options" and "Quit". The other functions don't work.
It looks like you define the menu using the *.menu files inside the /menu/ folder. |
|
Back to top |
|
 |
Urre

Joined: 05 Nov 2004 Posts: 1073 Location: Sweden
|
Posted: Mon Oct 29, 2007 7:42 am Post subject: |
|
|
Ah, yes. I recall messing with that one when it came out, but forgot all about it. Cool stuff  _________________ Look out for Twigboy |
|
Back to top |
|
 |
xaGe

Joined: 01 Mar 2006 Posts: 329 Location: Upstate, New York
|
Posted: Mon Oct 29, 2007 2:24 pm Post subject: |
|
|
Thank you Nash... ..J u s t t o p o i n t o u t f o r f u t u r e r e f e r e n c e t h e r e a d m e i n t h e r e i s a b i t s c r e w e d u p & n o t v e r y r e a d a b l e w i t h a l l t h e s p a c e s , b u t t h e Q C l o o k s f i n e . . .
Its something bare bones to go by anyway for people like me who wouldn't know where to start trying to sift through Nexuiz menu code to make a Quake menu...
Last edited by xaGe on Tue Oct 30, 2007 3:13 am; edited 1 time in total |
|
Back to top |
|
 |
BlackHC
Joined: 29 Oct 2007 Posts: 1
|
Posted: Mon Oct 29, 2007 11:20 pm Post subject: |
|
|
Oh. Nice. But why? Why?
It's so old and so ugly and it's a pain to create menu files for it because you have to manually specify the parent item. And it's deprecated and obsolete and both!
I think Nexuiz contains a better version of it, too. I'm not exactly sure where to find it in the revision list but it's been in the CVS, so it probably has survived the port.
DPMod's menu was a spin-off from Nexuiz that I've never finished, just started and that was already old when the menu was mostly finished in Nexuiz.
I'm pretty sure that the builtin file is incomplete, too, because I've used Nexuiz's mbuiltin.qc as main reference file for everything.
I'd strongly advice you to at least update that file (if you haven't already done so) or switch to div0's menu (he's currently writing it) which should be a lot easier to understand and work with than Nexuiz's current menu.
Cheers,
Black |
|
Back to top |
|
 |
Urre

Joined: 05 Nov 2004 Posts: 1073 Location: Sweden
|
Posted: Tue Oct 30, 2007 8:53 am Post subject: |
|
|
Black: yeah, the point was to have something simpler to get ideas from, I would never *base* anything on the old dpmod menuqc. But I would also rather not learn menuqc based on Nexuiz menuqc, since it's way insane. div0's menuqc seems to be coming along nicely, but I have no idea what the code in it is like.
What we'd really need, is some really straightforward and simple documentation, about how it works, and a simple example. div0 said it's only about 5 builtins, so how hard can it be to make a tutorial/documentation about it, if you know how it works? _________________ Look out for Twigboy |
|
Back to top |
|
 |
xaGe

Joined: 01 Mar 2006 Posts: 329 Location: Upstate, New York
|
Posted: Tue Oct 30, 2007 11:15 am Post subject: |
|
|
..Exactly, well put...
Urre wrote: | What we'd really need, is some really straightforward and simple documentation, about how it works, and a simple example. div0 said it's only about 5 builtins, so how hard can it be to make a tutorial/documentation about it, if you know how it works? |
|
|
Back to top |
|
 |
Nash

Joined: 19 Oct 2007 Posts: 95 Location: Kuala Lumpur, Malaysia
|
Posted: Tue Oct 30, 2007 12:43 pm Post subject: |
|
|
Hi Black, good to see that you registered to post here. :P
The reason why I'm doing this is because... as everyone has pointed out, there's no documentation on MQC at all and it's hard for n00bs like me to learn anything about it.
Nexuiz's MQC is simply too large scale to learn anything from.
What this community needs is a simple tutorial on setting up a basic menu. A simple start would be to duplicate Quake's default menu into MenuQC. |
|
Back to top |
|
 |
Urre

Joined: 05 Nov 2004 Posts: 1073 Location: Sweden
|
Posted: Tue Oct 30, 2007 3:04 pm Post subject: |
|
|
Nash wrote: | A simple start would be to duplicate Quake's default menu into MenuQC. |
FrikaC requested that a while back, which would actually be great. Even if it's totally hardcoded. But I wouldn't call it all that simple, even if it may seem so. _________________ Look out for Twigboy |
|
Back to top |
|
 |
|