[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Tutorial: CSQC GUI Menus

Tutorial: CSQC GUI Menus

Discuss CSQC related programming.

Moderator: InsideQC Admins

Tutorial: CSQC GUI Menus

Postby avirox » Mon May 11, 2009 2:22 am

Last edited by avirox on Tue May 12, 2009 1:51 am, edited 4 times in total.
avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

Postby avirox » Mon May 11, 2009 2:24 am

Last edited by avirox on Tue May 12, 2009 1:20 pm, edited 9 times in total.
avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

Postby Error » Mon May 11, 2009 7:11 am

oh my god I love you

User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Postby leileilol » Mon May 11, 2009 9:42 am

i like this, together with dp's loadfont you can make a very convincing ripoff
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby avirox » Mon May 11, 2009 4:45 pm

It's not meant to be a ripoff, just a way to mimic the functionality of more modern in-game GUI's. You can go well above and beyond the simple box/branch system, but for simplicity I've kept it to that for the first 2 parts of this tutorial. Maybe later I'll write a third part on SSQC=>CSQC GUI interaction, because that's where the sweet spot of these menus really lies.
avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

Postby r00k » Mon May 11, 2009 8:15 pm

r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Postby GiffE » Mon May 11, 2009 8:20 pm

Very nice work!
Something like this will certainly save me some work!
GiffE
 
Posts: 170
Joined: Sun Oct 08, 2006 3:39 pm
Location: USA, CT

Postby avirox » Tue May 12, 2009 1:52 am

Thanks guys! Anyways, I noticed that in the first post the code for the MENUFLAG_DISABLED flag was not added. This has been remedied. The two functions I changed were:

MouseInBox()
CSQCGUI_Render()

I'm also cooking up a new quick tutorial for drop-down menus.
avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

What about Darkplaces?

Postby Chip » Tue May 12, 2009 7:03 am

So, if I want to use this approach using Darkplaces, what should the changes be? It could really change the appearance of my upcoming Quantum Engine.




Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Postby Spike » Tue May 12, 2009 7:35 am

I see nothing mentioned in that tut that will fail with DP.

Although you will need FTEQCC to compile it (thanks to 'switch' and '#define'), but you could recode those parts if you want to use FrikQCC.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby CocoT » Wed May 13, 2009 2:29 pm

- New location: Update your bookmarks!
User avatar
CocoT
 
Posts: 695
Joined: Tue Dec 14, 2004 5:39 pm
Location: Belly-Gum

Postby avirox » Wed May 13, 2009 2:52 pm

avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

Postby avirox » Tue May 19, 2009 3:18 pm

Good news for lazy people! I've compiled a little "clean" version of the CSQC GUI which acts as a standalone CSQC mod. You can download it . This is a CSQC mod with the GUI already implemented + the first menu tutorial above. The above tutorials are for implementing the menus into your existing CSQC mod, but this source is only for those starting a new one. Needs FTEQCC/GUI to compile.
Last edited by avirox on Thu May 21, 2009 1:58 pm, edited 1 time in total.
avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

Postby qbism » Thu May 21, 2009 1:47 am

You mean ?
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Postby leileilol » Thu May 21, 2009 5:29 am

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Next

Return to CSQC Programming

Who is online

Users browsing this forum: No registered users and 1 guest