[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/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 - What would you do with CSQC?

What would you do with CSQC?

Discuss CSQC related programming.

Moderator: InsideQC Admins

What would you do with CSQC?

Postby Baker » Mon Jul 07, 2014 1:26 am

If an engine added basic vanilla CSQC support: What would be an immediate gratification use for this?

I am considering adding CSQC to FitzQuake Mark V from Spike's CSQC "WinQuake". However, I would need an immediate interesting use of this for, say, a single player map/mod.

Can someone name a real-life idea or example that is good enough for a single player mapper to find interesting. Something achievable.

[Because I'm only interested in adding it in if it is doing to be used, if a quicky demo map/mod showcasing it can be made.]
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: What would you do with CSQC?

Postby Spike » Mon Jul 07, 2014 1:57 am

hud and menus.

needs getstat* builtins, drawpic, drawfill, drawstring, various string manipulation builtins, some basic maths builtins (ie: floor), spawn+remove (for memory management rather than anything else, optional), and some entry points. job done.
draw the 3d view as normal first, stub out the 3d rendering builtins, and hope the csqc doesn't care. job done. skip any builtins that deal with any entity fields too. you're good to go.

any networking needed by a basic hud mod can be achieved through stats and stuffcmds alone.

even rmqe has more features than this with its csqc. :)

most csqc mods start out as a hud in some way.

I'd suggest adding/stubbing the functionality needed for my menusys stuff, if only because it uses enough engine features to be a reasonable test of everything, without going too deeply into 3d/networking stuff. I don't think it'll work in csqcwinquake straight off, you'll need to add a couple of stubs for mouse cursor modes iirc.
you can get some weird version of it from http://triptohell.info/moodles/junk/pourtall.pk3 (source inside), extract only the csprogs.dat (not the progs.dat) and it'll just give you a new menu+hud with no other visible changes (like portal guns). that's the theory, anyway.
you can probably find a more basic mod elsewhere - one that wasn't written by someone who knows the names of all the various obscure builtins, but I think its still useful, if only for the fact that its reasonably complete.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: What would you do with CSQC?

Postby Dr. Shadowborg » Mon Jul 07, 2014 2:49 am

What spike said.

Who wouldn't want the ability to do a custom hud, menu and even ingame doom3-ish pda? Think of the possibilities!

I'm currently using CSQC for a hud with my HellSmash mod. (it also has some angle replacements for betterish punchangle stuff) The HUD also has (okay, is going to, very soon) have a Doom3 "Location" text thingie that gets set via map trigger.

It wouldn't take much to take it from HS and put it into a stock QuakeC though.

I haven't yet gotten the Doom3-ish PDA stuff working yet. It's still todo because Real-life is draining my devtime, and I'm currently making gamecode and making new models.

Anyway, current screenshot of the HS hud. Note that the "skill halls" is the "location" stub:
http://br0gspot.files.wordpress.com/201 ... wall01.jpg


Rest assured, this much CSQC functionality is almost guaranteed to be used and probably used heavily in the near future. :D
User avatar
Dr. Shadowborg
InsideQC Staff
 
Posts: 1120
Joined: Sat Oct 16, 2004 3:34 pm

Re: What would you do with CSQC?

Postby Baker » Mon Jul 07, 2014 6:29 am

I'm unimaginative on this topic a bit due to tunnel vision ... so ...

What is an example single player mod that a HUD would show? Other than inventory?

And ... I expect to get murdered on this but ... if even sending .alpha is a protocol modification over standard NQ, I would probably have to implement a new protocol.

Right?

Even if it were something flexible like using Spike's protocol negotiation stuff. Right?

Unless I very creatively jammed some bits into existing fields in the QuakeC?
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: What would you do with CSQC?

Postby goldenboy » Mon Jul 07, 2014 12:02 pm

User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: What would you do with CSQC?

Postby ceriux » Mon Jul 07, 2014 2:10 pm

yeah definitely a HUD. imagine all those new guns now getting their own icon on the hud instead of being hidden!
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: What would you do with CSQC?

Postby gnounc » Mon Jul 07, 2014 2:49 pm

my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Re: What would you do with CSQC?

Postby Dr. Shadowborg » Mon Jul 07, 2014 5:25 pm

User avatar
Dr. Shadowborg
InsideQC Staff
 
Posts: 1120
Joined: Sat Oct 16, 2004 3:34 pm

Re: What would you do with CSQC?

Postby goldenboy » Mon Jul 07, 2014 7:13 pm

In other words, you can do a lot of anti-Quake BS with it. <3
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: What would you do with CSQC?

Postby ceriux » Mon Jul 07, 2014 8:22 pm

lol it doesnt have to be anti quake. like i said even something small like showing of custom weapon icons would be a use for it. there's a lot you can do with csqc.
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: What would you do with CSQC?

Postby frag.machine » Tue Jul 08, 2014 1:27 am

This is what I got so far using CSQC: inventory, a simple compass (Oblivion/Skyrim style, lacks graphics ATM) and a quest console (not shown).
Image
EDIT:Another screenshot, this time showing the quest log console:
Image
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: What would you do with CSQC?

Postby leileilol » Tue Jul 08, 2014 11:17 am

Extensive player animation, eyetracking (also requires engine/renderer work for that), better 'modern' third-person camera, and full body awareness.

all of which I was able to do in id Tech 3
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: What would you do with CSQC?

Postby Spike » Tue Jul 08, 2014 11:27 am

but yeah, 2d-only is nice and simple.
its a shame about the other stuff that isn't 2d-only really. :P
babysteps I suppose
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: What would you do with CSQC?

Postby goldenboy » Tue Jul 08, 2014 3:49 pm

Yeah, baby steps. Good player models are harder to make and animate than 2D stuff.

Although I guess a simple rigged Quakeguy wouldn't be that hard.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel


Return to CSQC Programming

Who is online

Users browsing this forum: No registered users and 2 guests